-
Notifications
You must be signed in to change notification settings - Fork 0
/
testing.json
41 lines (39 loc) · 1.87 KB
/
testing.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
{
"testcase_1": {
"Description": "For single client and single put operation check for result.",
"Expected Results": "Client must receive result before timeout and expected dict at the end of workload must match with actual results.",
"workload": ["put('movie','star'); get('movie')"],
"expected_dict": {
"movie": "star"
}
},
"testcase_2": {
"Description": "For single client and multiple operations check for result.",
"Expected Results": "Client must receive result before timeout and expected dict at the end of workload must match with actual results.",
"workload": ["put('movie','star'); append('movie',' wars'); get('movie')"],
"expected_dict": {
"movie": "star wars"
}
},
"testcase_3": {
"Description": "One of the operation sent by client gets timed out..",
"Expected Results": "Client must retransmit the request by same request id and received a successful response of retransmitted request.",
"workload": ["put('movie','star'); append('movie',' wars'); get('movie')"],
"expected_dict": {
"movie": "star wars"
},
"retransmit_request" : [0, 1, true]
},
"testcase_4": {
"Description": "Providing random workload to client.",
"Expected Results": "Client must send operations generated randomly and verify at the end if actual results are matching with expected result."
},
"testcase_5": {
"Description": "For single client and multiple operations check for result.",
"Expected Results": "Client must receive result before timeout and expected dict at the end of workload must match with actual results.",
"workload" : ["put('jedi','luke skywalker'); slice('jedi','0:4'); get('jedi')"],
"expected_dict": {
"movie": "luke"
}
}
}