-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPriceSelectorAPI.postman_collection.json
More file actions
192 lines (192 loc) · 6.61 KB
/
PriceSelectorAPI.postman_collection.json
File metadata and controls
192 lines (192 loc) · 6.61 KB
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
{
"info": {
"_postman_id": "f5d3f1f0-1101-4b8e-8c62-0f0f0f0f0f0f",
"name": "Price Selector API Tests",
"description": "A collection of requests to test the Price Selector API endpoints.",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Test 1: 10:00 on Day 14",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/prices/query?applicationDate=2020-06-14T10:00:00&productId=35455&brandId=1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"prices",
"query"
],
"query": [
{
"key": "applicationDate",
"value": "2020-06-14T10:00:00"
},
{
"key": "productId",
"value": "35455"
},
{
"key": "brandId",
"value": "1"
}
]
},
"description": "Test 1: petición a las 10:00 del día 14 del producto 35455 para la brand 1 (ZARA)"
},
"response": []
},
{
"name": "Test 2: 16:00 on Day 14",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/prices/query?applicationDate=2020-06-14T16:00:00&productId=35455&brandId=1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"prices",
"query"
],
"query": [
{
"key": "applicationDate",
"value": "2020-06-14T16:00:00"
},
{
"key": "productId",
"value": "35455"
},
{
"key": "brandId",
"value": "1"
}
]
},
"description": "Test 2: petición a las 16:00 del día 14 del producto 35455 para la brand 1 (ZARA)"
},
"response": []
},
{
"name": "Test 3: 21:00 on Day 14",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/prices/query?applicationDate=2020-06-14T21:00:00&productId=35455&brandId=1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"prices",
"query"
],
"query": [
{
"key": "applicationDate",
"value": "2020-06-14T21:00:00"
},
{
"key": "productId",
"value": "35455"
},
{
"key": "brandId",
"value": "1"
}
]
},
"description": "Test 3: petición a las 21:00 del día 14 del producto 35455 para la brand 1 (ZARA)"
},
"response": []
},
{
"name": "Test 4: 10:00 on Day 15",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/prices/query?applicationDate=2020-06-15T10:00:00&productId=35455&brandId=1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"prices",
"query"
],
"query": [
{
"key": "applicationDate",
"value": "2020-06-15T10:00:00"
},
{
"key": "productId",
"value": "35455"
},
{
"key": "brandId",
"value": "1"
}
]
},
"description": "Test 4: petición a las 10:00 del día 15 del producto 35455 para la brand 1 (ZARA)"
},
"response": []
},
{
"name": "Test 5: 21:00 on Day 16",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseUrl}}/api/v1/prices/query?applicationDate=2020-06-16T21:00:00&productId=35455&brandId=1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"v1",
"prices",
"query"
],
"query": [
{
"key": "applicationDate",
"value": "2020-06-16T21:00:00"
},
{
"key": "productId",
"value": "35455"
},
{
"key": "brandId",
"value": "1"
}
]
},
"description": "Test 5: petición a las 21:00 del día 16 del producto 35455 para la brand 1 (ZARA)"
},
"response": []
}
],
"variable": [
{
"key": "baseUrl",
"value": "http://localhost:8080",
"type": "string"
}
]
}