forked from jackcoded/newman-reporter-slackmsg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.json
109 lines (109 loc) · 1.98 KB
/
test.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"info": {
"_postman_id": "14849d35-a25c-42c8-9bfc-30c823c62da2",
"name": "test",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "test",
"event": [
{
"listen": "test",
"script": {
"id": "fdb4ea21-d1f3-4e90-b5f9-80e7f579bd2f",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.expect(pm.response.to.have.status(200));",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com/get",
"protocol": "https",
"host": [
"postman-echo",
"com"
],
"path": [
"get"
]
}
},
"response": []
},
{
"name": "footest",
"event": [
{
"listen": "test",
"script": {
"id": "24b1a999-4894-4375-a30a-185c809cb820",
"exec": [
"pm.test(\"Status code is 400\", function () {",
" pm.expect(pm.response.to.have.status(400));",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com/get",
"protocol": "https",
"host": [
"postman-echo",
"com"
],
"path": [
"get"
]
}
},
"response": []
},
{
"name": "test skip",
"event": [
{
"listen": "test",
"script": {
"id": "e3e503a7-9b89-49dd-884c-d05f72025b1c",
"exec": [
"pm.test.skip(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://postman-echo.com/get",
"protocol": "https",
"host": [
"postman-echo",
"com"
],
"path": [
"get"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}