Skip to content

Commit 0c4a698

Browse files
committed
Add template
1 parent bcdeca8 commit 0c4a698

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

template.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "My API test",
3+
"testCases": {
4+
"test_case_1": {
5+
"path": "/path_1",
6+
"method": "POST",
7+
"description": "Best POST api",
8+
"body": {
9+
"value": 1
10+
},
11+
"header": {
12+
"X-per": "1"
13+
}
14+
},
15+
"test_case_2": {
16+
"path": "/path_2",
17+
"method": "GET",
18+
"description": "Best GET api",
19+
"query": {
20+
"value": 1
21+
}
22+
},
23+
"test_case_3": {
24+
"path": "/path_1",
25+
"method": "DELETE",
26+
"description": "Best DELETE api",
27+
"body": {
28+
"value": 1
29+
}
30+
}
31+
},
32+
"url": "localhost:3304",
33+
"accessToken": "12",
34+
"idToken": "12",
35+
"header": {
36+
"Authorization": "Bearer <ACCESS_TOKEN>"
37+
}
38+
}

0 commit comments

Comments
 (0)