API Testcases Template
API Testcases Template
RESOURCES
No. Name Email Phone
1 Tester 1 [email protected] 84123456789
2 Tester 2 [email protected] 84123456789
3 Tester 3 [email protected] 84123456789
TEST CONTRIBUTION
POC Design Execution
Tester 1 18 19
Tester 2 11 9
Tester 3 6 7
LEGEND
STATUS METHOD No. Name
PASSED GET 1 Get all stub mappings
FAILED POST 2 Create a new stub mapping
UNEXECUTED PUT 3 Delete all stub mappings
DELETE 4 Reset stub mappings
HEAD 5 Persist stub mappings
PATCH 6 Update a stub mapping
OPTIONS 7 Delete a stub mapping
R1
R2
21%
Passed
Number of TCs
Number of TCs
7
6
5
4
3
2
1 1 1 1 1 1
1
0 0 0 0 0 0
0
Get all stub Create a new Delete all stub
mappings stub mapping mappings
20 19
18
18
16
14
12
10
8
6
4
2
0
Tester 1
APIs TEST OVERALL STATUS
Method API Number of TCs Passed
GET /__admin/mappings 1 1
POST /__admin/mappings 1 0
DELETE /__admin/mappings 1 1
POST /__admin/mappings/reset 5 2
POST /__admin/mappings/save 6 4
PUT /__admin/mappings/{stubMappingId} 1 0
DELETE /__admin/mappings/{stubMappingId} 4 4
Total 19 12
Timeline
R3 R5
R2 R4
Overall Status
16%
21%
63%
6
5
4 4 4
2 2
1 1 1 1 1 1 1 1
0 0 0 0 0 0 0
a new Delete all stub Reset stub Persist stub Update a stub Delete a stub
pping mappings mappings mappings mapping mapping
Test Contribution
19
11
9
7
6
1 Tester 2 Tester 3
Design Execution
Failed Unexecuted
0 0
1 0
0 0
1 2
1 1
1 0
0 0
4 3
ID NAME PRE-CONDITION
TC-01 Verify that consumer get all stubs successful Have access token already
TC-02 Verify that consumer create stub successful Have access token already
{ 201 Successful
"request": {
"method": "GET",
"url": "/some/thing"
},
"response": {
"body": "Hello world!",
"headers": {
"Content-Type":
"text/plain"
},
"status": 200
}
}Request body 1 400 Some message