-
Notifications
You must be signed in to change notification settings - Fork 0
/
Tests - Contacts_API.postman_test_run.json
215 lines (215 loc) · 4.19 KB
/
Tests - Contacts_API.postman_test_run.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
{
"id": "91d0e72b-f3be-44a6-9ec9-4a3b5b677857",
"name": "Tests - Contacts_API",
"timestamp": "2022-12-24T18:11:46.727Z",
"collection_id": "9989261-33ebed15-6c83-4095-8fd7-ae9f7cb58d37",
"folder_id": 0,
"environment_id": "0",
"totalPass": 4,
"totalFail": 8,
"results": [
{
"id": "5afd5aa8-0e9b-4653-9c04-efc8c4f95de2",
"name": "Display the list of users",
"url": "http://localhost:4001/display-users",
"time": 258,
"responseCode": {
"code": 200,
"name": "OK"
},
"tests": {
"response must be valid and have a body": true
},
"testPassFailCounts": {
"response must be valid and have a body": {
"pass": 1,
"fail": 0
}
},
"times": [
258
],
"allTests": [
{
"response must be valid and have a body": true
}
]
},
{
"id": "326f5899-840a-4f2e-9b34-c98744950a91",
"name": "Register user",
"url": "http://localhost:4001/register",
"time": 235,
"responseCode": {
"code": 409,
"name": "Conflict"
},
"tests": {
"Successful POST request": false,
"Missing input": false,
"User already registered": true
},
"testPassFailCounts": {
"Successful POST request": {
"pass": 0,
"fail": 1
},
"Missing input": {
"pass": 0,
"fail": 1
},
"User already registered": {
"pass": 1,
"fail": 0
}
},
"times": [
235
],
"allTests": [
{
"Successful POST request": false,
"Missing input": false,
"User already registered": true
}
]
},
{
"id": "fffbc587-96c9-475c-bf55-2e8e8fe3fe09",
"name": "Login user",
"url": "http://localhost:4001/login",
"time": 8,
"responseCode": {
"code": 400,
"name": "Bad Request"
},
"tests": {
"response must be valid and have a body": false,
"User does not exist in the database": false,
"Missing input": true
},
"testPassFailCounts": {
"response must be valid and have a body": {
"pass": 0,
"fail": 1
},
"User does not exist in the database": {
"pass": 0,
"fail": 1
},
"Missing input": {
"pass": 1,
"fail": 0
}
},
"times": [
8
],
"allTests": [
{
"response must be valid and have a body": false,
"User does not exist in the database": false,
"Missing input": true
}
]
},
{
"id": "93884260-d50c-475f-865d-efb2dac8887a",
"name": "Home ",
"url": "http://localhost:4001/home",
"time": 5,
"responseCode": {
"code": 401,
"name": "Unauthorized"
},
"tests": {
"Succesfull authentication": false,
"Missing header token": false,
"Input token does not match user token": true
},
"testPassFailCounts": {
"Succesfull authentication": {
"pass": 0,
"fail": 1
},
"Missing header token": {
"pass": 0,
"fail": 1
},
"Input token does not match user token": {
"pass": 1,
"fail": 0
}
},
"times": [
5
],
"allTests": [
{
"Succesfull authentication": false,
"Missing header token": false,
"Input token does not match user token": true
}
]
},
{
"id": "86ac5bb3-9221-4f55-9cd0-3693ebcf4675",
"name": "http://localhost:4001/upload-csv",
"url": "http://localhost:4001/upload-csv",
"time": 6,
"responseCode": {
"code": 500,
"name": "Internal Server Error"
},
"tests": {
"User already exists": false,
"User data added in the database": false
},
"testPassFailCounts": {
"User already exists": {
"pass": 0,
"fail": 1
},
"User data added in the database": {
"pass": 0,
"fail": 1
}
},
"times": [
6
],
"allTests": [
{
"User already exists": false,
"User data added in the database": false
}
]
}
],
"count": 1,
"totalTime": 512,
"collection": {
"requests": [
{
"id": "5afd5aa8-0e9b-4653-9c04-efc8c4f95de2",
"method": "GET"
},
{
"id": "326f5899-840a-4f2e-9b34-c98744950a91",
"method": "POST"
},
{
"id": "fffbc587-96c9-475c-bf55-2e8e8fe3fe09",
"method": "POST"
},
{
"id": "93884260-d50c-475f-865d-efb2dac8887a",
"method": "POST"
},
{
"id": "86ac5bb3-9221-4f55-9cd0-3693ebcf4675",
"method": "POST"
}
]
}
}