TEST DE API – POKEAPI
Tipo de caso: Positivo - 1
URL: https://pokeapi.co/api/v2/pokemon/2/
Endpoint: pokemon/2/ 200 OK
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
Resultado Esperado: 200 OK
Resultado Obtenido: 200 OK
Tipo de caso: Positivo - 2
URL: https://pokeapi.co/api/v2/pokemon/7/encounters
Endpoint: pokemon/7/encounters 200 OK
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
Resultado Esperado: 200 OK
Resultado Obtenido: 200 OK
Tipo de caso: Positivo - 3
URL: https://pokeapi.co/api/v2/pokemon-habitat/3/
Endpoint: pokemon-habitat/3/
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
Resultado Esperado: 200 OK
Resultado Obtenido: 200 OK
Tipo de caso: Positivo - 4
URL: https://pokeapi.co/api/v2/pokemon-shape/4/
Endpoint: pokemon-shape/4/
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
Resultado Esperado: 200 OK
Resultado Obtenido: 200 OK
Tipo de caso: Positivo - 5
URL: https://pokeapi.co/api/v2/pokemon-species/5/
Endpoint: pokemon-species/5/
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
Resultado Esperado: 200 OK
Resultado Obtenido: 200 OK
Tipo de caso: Negativo - 1
URL: https://pokeapi.co/api/v2/pokemon/*¨***/
Endpoint: pokemon/2/ 404 error
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
2. Ingresar caracteres especiales aleatorios al final de la URL
Resultado Esperado: 400 Bad Request
Resultado Obtenido: 404 not found
Tipo de caso: Negativo - 2
URL: https://pokeapi.co/api/v2/pokemon/7/......a.......
Endpoint: pokemon/7/encounters 404 Error
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
2. Ingresar caracteres especiales aleatorios al final de la URL
Resultado Esperado: 400 Bad Request
Resultado Obtenido: 404 not found
Tipo de caso: Negativo - 3
URL: https://pokeapi.co/api/v2/pokemon/7/......a.......
Endpoint: pokemon/7/encounters 404 Error
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
2. Ingresar caracteres especiales aleatorios al final de la URL
Resultado Esperado: 400 Bad Request
Resultado Obtenido: 404 not found
Tipo de caso: Negativo - 4
URL: https://pokeapi.co/api/v2/prueba4
Endpoint: api/v2/prueba4
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
2. Ingresar caracteres especiales aleatorios al final de la URL
Resultado Esperado: 400 Bad Request
Resultado Obtenido: 404 not found
Tipo de caso: Negativo - 5
URL: https://pokeapi.co/api/v2/pokemon+´'species/5/
Endpoint: v2/pokemon+´'species/5/
Metodo HTTP: GET
Pasos:
1. Ingresar json que indica la API
2. Ingresar caracteres especiales aleatorios al final de la URL
Resultado Esperado: 400 Bad Request
Resultado Obtenido: 404 not found