-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtestcases.json
64 lines (64 loc) · 2.24 KB
/
testcases.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"testcases": [
{
"id": "ID",
"description": "Description",
"testSteps": [
{
"action": "Action",
"expectedResult": "Expected Result"
}
]
},
{
"id": "UT-0046-01",
"description": "Test vehicle identification",
"testSteps": [
{
"action": "Send a vehicle identification message to the DoIP server",
"expectedResult": "The DoIP server responds with a vehicle identification response message"
}
]
},
{
"id": "TC-0082-01",
"description": "Check if the TCP connection will be closed when the general inactivity timer will expire",
"testSteps": [
{
"action": "Establish a TCP connection to the DoIP entity.",
"expectedResult": "A TCP connection could be established."
},
{
"action": "Perform routing activation.",
"expectedResult": "Routing activation was successful."
},
{
"action": "Wait about 90% of the time given by general inactivity timer.",
"expectedResult": "The connection hasn't been closed."
},
{
"action": "Wait about 20% of the time given by general inactivity timer (Which gives us a total time of 110% from the beginning).",
"expectedResult": "The connection has been closed."
}
]
},
{
"id": "ST-0120-01",
"description": "Send message 'DoIP entity status request' to IP unicast address and check the response 'DoIP entity status response'",
"testSteps": [
{
"action": "Send message 'DoIP entity status request'",
"expectedResult": "A response of type 'DoIP entity status response' has been received. The item 'Max. concurrent TCP_DATA sockets' matches the value in the configuration for that node. The item 'Currently open TCP_DATA sockets' has the value 0."
},
{
"action": "Open a TCP connection to the DoIP entity.",
"expectedResult": "TCP connection has been established."
},
{
"action": "Send again a 'DoIP entity status request'.",
"expectedResult": "The value of item 'Currently open TCP_DATA sockets' has now changed to 1."
}
]
}
]
}