|
4063 | 4063 | } |
4064 | 4064 | }, |
4065 | 4065 | "response": [] |
| 4066 | + }, |
| 4067 | + { |
| 4068 | + "name": "Get sent and received likes", |
| 4069 | + "event": [ |
| 4070 | + { |
| 4071 | + "listen": "test", |
| 4072 | + "script": { |
| 4073 | + "id": "42cca1eb-0433-4709-a922-7037e6ddc6d5", |
| 4074 | + "exec": [ |
| 4075 | + "var response = JSON.parse(responseBody);", |
| 4076 | + "", |
| 4077 | + "tests[\"Received likes != 0\"] = response.likes.received.length != 0", |
| 4078 | + "tests[\"Sent likes != 0\"] = response.likes.sent.length != 0" |
| 4079 | + ], |
| 4080 | + "type": "text/javascript" |
| 4081 | + } |
| 4082 | + } |
| 4083 | + ], |
| 4084 | + "request": { |
| 4085 | + "method": "GET", |
| 4086 | + "header": [], |
| 4087 | + "url": { |
| 4088 | + "raw": "{{host}}/likes", |
| 4089 | + "host": [ |
| 4090 | + "{{host}}" |
| 4091 | + ], |
| 4092 | + "path": [ |
| 4093 | + "likes" |
| 4094 | + ] |
| 4095 | + } |
| 4096 | + }, |
| 4097 | + "response": [] |
4066 | 4098 | } |
4067 | 4099 | ], |
4068 | 4100 | "protocolProfileBehavior": {} |
@@ -4225,109 +4257,109 @@ |
4225 | 4257 | ], |
4226 | 4258 | "variable": [ |
4227 | 4259 | { |
4228 | | - "id": "af6aee14-6e91-4d11-8b5c-e8cc1438311d", |
| 4260 | + "id": "28a23486-a04f-4122-83dd-7876ef955760", |
4229 | 4261 | "key": "host", |
4230 | 4262 | "value": "http://127.0.0.1:5000", |
4231 | 4263 | "type": "string" |
4232 | 4264 | }, |
4233 | 4265 | { |
4234 | | - "id": "fdea782c-2dab-4410-b65a-73a1a22c73ea", |
| 4266 | + "id": "5f84e9ec-b6ef-4677-9c5b-55d4fdfce50b", |
4235 | 4267 | "key": "user_id", |
4236 | 4268 | "value": "", |
4237 | 4269 | "type": "string" |
4238 | 4270 | }, |
4239 | 4271 | { |
4240 | | - "id": "f0404a42-abab-428a-872e-c0e0e71df739", |
| 4272 | + "id": "2050da02-1090-484a-a476-7094e90d6d1a", |
4241 | 4273 | "key": "user_email", |
4242 | 4274 | "value": "foo@example.org", |
4243 | 4275 | "type": "string" |
4244 | 4276 | }, |
4245 | 4277 | { |
4246 | | - "id": "289e6da9-63c2-405c-aa04-dc1e7c944ae7", |
| 4278 | + "id": "860f9ba6-0925-4cb1-95c9-a97242b5fd9b", |
4247 | 4279 | "key": "user_username", |
4248 | 4280 | "value": "foo", |
4249 | 4281 | "type": "string" |
4250 | 4282 | }, |
4251 | 4283 | { |
4252 | | - "id": "106fef29-98b9-46e3-aa0c-2a720d018604", |
| 4284 | + "id": "c77043d9-6185-4fc1-b683-174505689ad3", |
4253 | 4285 | "key": "user_password", |
4254 | 4286 | "value": "admin", |
4255 | 4287 | "type": "string" |
4256 | 4288 | }, |
4257 | 4289 | { |
4258 | | - "id": "a6221612-0ff9-4299-b316-54f0f501dcec", |
| 4290 | + "id": "d81b203b-9f7f-43ff-b6d4-712b935d893f", |
4259 | 4291 | "key": "user_firstname", |
4260 | 4292 | "value": "Foo", |
4261 | 4293 | "type": "string" |
4262 | 4294 | }, |
4263 | 4295 | { |
4264 | | - "id": "939c43d6-9dad-4e7e-96ce-09c831499a1e", |
| 4296 | + "id": "ea2ca3b3-5f0e-4bba-9aac-ead08085e0bb", |
4265 | 4297 | "key": "user_lastname", |
4266 | 4298 | "value": "Bar", |
4267 | 4299 | "type": "string" |
4268 | 4300 | }, |
4269 | 4301 | { |
4270 | | - "id": "2544a319-3ac2-4083-9665-42b5bab9df10", |
| 4302 | + "id": "ff0c8637-acc0-41d1-bc2f-e7e82d4ae088", |
4271 | 4303 | "key": "debug_token", |
4272 | 4304 | "value": "xX69jules69Xx", |
4273 | 4305 | "type": "string" |
4274 | 4306 | }, |
4275 | 4307 | { |
4276 | | - "id": "fcbb3982-a60a-4797-9d53-7805b775d380", |
| 4308 | + "id": "94f1a459-158b-46e3-a78d-78e84507c291", |
4277 | 4309 | "key": "user_access_token", |
4278 | 4310 | "value": "", |
4279 | 4311 | "type": "string" |
4280 | 4312 | }, |
4281 | 4313 | { |
4282 | | - "id": "9f004407-c35e-4556-a22a-747fdf0b9f79", |
| 4314 | + "id": "283378eb-bf66-41f9-8ac0-54a2e4578e7f", |
4283 | 4315 | "key": "user_refresh_token", |
4284 | 4316 | "value": "", |
4285 | 4317 | "type": "string" |
4286 | 4318 | }, |
4287 | 4319 | { |
4288 | | - "id": "a07c4180-3179-4aff-8575-46fb9e42ea83", |
| 4320 | + "id": "4202671c-ac1f-45df-9861-00b5f1d0faec", |
4289 | 4321 | "key": "expired_token", |
4290 | 4322 | "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE1OTAyNDIyNjQsIm5iZiI6MTU5MDI0MjI2NCwianRpIjoiNTM0ZGI5NzQtOWE4Ni00MGViLWE1NDEtMDg3N2ZmNzQ3NDVhIiwiZXhwIjoxNTkwMjQyMzI0LCJpZGVudGl0eSI6eyJpZCI6NTEyLCJlbWFpbCI6ImZvb0BleGFtcGxlLm9yZyIsInVzZXJuYW1lIjoiYmFyIiwiaXNfb25saW5lIjp0cnVlLCJkYXRlX2xhc3RzZWVuIjoiU2F0LCAyMyBNYXkgMjAyMCAxMzo1Nzo0NCBHTVQifSwiZnJlc2giOnRydWUsInR5cGUiOiJhY2Nlc3MifQ.NTp2P0WNkXDwzuzrcNIQdeAfizQ57HQgkzBLSvY1yHU", |
4291 | 4323 | "type": "string" |
4292 | 4324 | }, |
4293 | 4325 | { |
4294 | | - "id": "4ba17b0e-8325-4a02-ae90-01c4a4f499f1", |
| 4326 | + "id": "d93bf868-d915-4b0f-9a40-13542742acb8", |
4295 | 4327 | "key": "user_orientation", |
4296 | 4328 | "value": "heterosexual", |
4297 | 4329 | "type": "string" |
4298 | 4330 | }, |
4299 | 4331 | { |
4300 | | - "id": "d6d9c37f-da1a-4c4e-afa2-f9214637e13c", |
| 4332 | + "id": "e8511aa0-b6a1-4946-bc68-1a637277989e", |
4301 | 4333 | "key": "user_bio", |
4302 | 4334 | "value": "Lorem Ipsum is the single greatest threat. We are not - we are not keeping up with other websites. Lorem Ipsum best not make any more threats to your website. It will be met with fire and fury like the world has never seen. Does everybody know that pig named Lorem Ipsum? An ‘extremely credible source’ has called my office and told me that Barack Obama’s placeholder text is a fraud.", |
4303 | 4335 | "type": "string" |
4304 | 4336 | }, |
4305 | 4337 | { |
4306 | | - "id": "d3900cb1-01d2-4915-9ce8-37d1d790b560", |
| 4338 | + "id": "711df570-f4d8-4253-9bb3-90f6428a2923", |
4307 | 4339 | "key": "user_gender", |
4308 | 4340 | "value": "male", |
4309 | 4341 | "type": "string" |
4310 | 4342 | }, |
4311 | 4343 | { |
4312 | | - "id": "ed9ccd93-a2ab-4dd0-9b68-57477110cbf1", |
| 4344 | + "id": "2c1e8e72-e272-472c-a316-a4e2d32feb52", |
4313 | 4345 | "key": "user_birthdate", |
4314 | 4346 | "value": "06/04/1998", |
4315 | 4347 | "type": "string" |
4316 | 4348 | }, |
4317 | 4349 | { |
4318 | | - "id": "e117a4aa-6f76-4715-bdb3-8023b1d74f81", |
| 4350 | + "id": "55317914-201d-40d6-923a-e250a0733436", |
4319 | 4351 | "key": "user_lat", |
4320 | 4352 | "value": "44.8404", |
4321 | 4353 | "type": "string" |
4322 | 4354 | }, |
4323 | 4355 | { |
4324 | | - "id": "bf8a919e-2fe7-4139-b82c-b215ea6584b3", |
| 4356 | + "id": "82fe60ef-d805-4317-ba54-a511524ba7ac", |
4325 | 4357 | "key": "user_lng", |
4326 | 4358 | "value": "-0.5805", |
4327 | 4359 | "type": "string" |
4328 | 4360 | }, |
4329 | 4361 | { |
4330 | | - "id": "6208b5f1-e496-4642-9e38-4faa9b4e950d", |
| 4362 | + "id": "e5163790-a8e8-482e-aafa-567565e5b0a8", |
4331 | 4363 | "key": "user_ip", |
4332 | 4364 | "value": "77.205.46.181", |
4333 | 4365 | "type": "string" |
|
0 commit comments