Skip to content

Commit 9e48dd0

Browse files
committed
[add] postman tests
1 parent 250e954 commit 9e48dd0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

postman/SampleApp.Api.postman_collection.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,18 @@
1414
"item": [
1515
{
1616
"name": "DifferentRouteParameters V1",
17+
"event": [
18+
{
19+
"listen": "test",
20+
"script": {
21+
"exec": [
22+
"tests[\"HTTP Code Test\"] = responseCode.code === 200;"
23+
],
24+
"type": "text/javascript",
25+
"packages": {}
26+
}
27+
}
28+
],
1729
"request": {
1830
"method": "GET",
1931
"header": [],
@@ -42,6 +54,18 @@
4254
"item": [
4355
{
4456
"name": "DifferentRouteParameters V2",
57+
"event": [
58+
{
59+
"listen": "test",
60+
"script": {
61+
"exec": [
62+
"tests[\"HTTP Code Test\"] = responseCode.code === 200;"
63+
],
64+
"type": "text/javascript",
65+
"packages": {}
66+
}
67+
}
68+
],
4569
"request": {
4670
"method": "GET",
4771
"header": [],
@@ -65,6 +89,18 @@
6589
},
6690
{
6791
"name": "Json Mode Test V2",
92+
"event": [
93+
{
94+
"listen": "test",
95+
"script": {
96+
"exec": [
97+
"tests[\"HTTP Code Test\"] = responseCode.code === 200;"
98+
],
99+
"type": "text/javascript",
100+
"packages": {}
101+
}
102+
}
103+
],
68104
"protocolProfileBehavior": {
69105
"disableBodyPruning": true
70106
},

0 commit comments

Comments
 (0)