Skip to content

Commit

Permalink
Actualización pruebas POSTMAN
Browse files Browse the repository at this point in the history
  • Loading branch information
enrgaroli committed Mar 10, 2024
1 parent cc578ea commit ae26ce4
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions Enrique/tests/CollectionAPIEGO.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,86 @@
},
"response": []
},
{
"name": "PAGING /api/v1/movies-dataset?offset=0&limit=5",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{SERVER}}/api/v1/movies-dataset?offset=0&limit=5",
"host": [
"{{SERVER}}"
],
"path": [
"api",
"v1",
"movies-dataset"
],
"query": [
{
"key": "offset",
"value": "0"
},
{
"key": "limit",
"value": "5"
}
]
}
},
"response": []
},
{
"name": "SEARCH /api/v1/movies-dataset?original_title=Avatar",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Status code is 200\", function () {\r",
" pm.response.to.have.status(200);\r",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{SERVER}}/api/v1/movies-dataset?original_title=Avatar",
"host": [
"{{SERVER}}"
],
"path": [
"api",
"v1",
"movies-dataset"
],
"query": [
{
"key": "original_title",
"value": "Avatar"
}
]
}
},
"response": []
},
{
"name": "GET NOT FOUND /api/v1/datos-peliculas",
"event": [
Expand Down

0 comments on commit ae26ce4

Please sign in to comment.