API TESTING
CON POSTMAN
Douglas Urrea Ocampo
MedellínJS - Junio 2020
ACERCA DE MI
TABLA DE CONTENIDO
Introducción POSTMAN
01 ●
●
Algunas
características de
03
Postman
API TESTING TESTING
02 ● Probemos algunas API 04
●
●
INTRODUCCIÓN
El contrato de la API
> Request > Response
● ●
● ●
● ●
API TESTING
Comunicación Integración Seguridad
LA PIRAMIDE DEL TESTING
API TESTING - POISED
1. Parameters
2. Outputs
3. Interoperability
4. Security
5. Errors
6. Data
POSTMAN
Metodos HTTP Variables de entorno
GET, POST, PUT,
DELETE
Colecciones Automatización
INSTALAR POSTMAN & NEWMAN
Download Postman:
https://www.postman.com/downloads/
Instalar Newman:
npm install -g newman
VAMOS A
TESTEAR!
LINKS
Postman Test Examples:
https://learning.postman.com/docs/postman/scripts/test-examples/
Postman Learning Center:
https://learning.postman.com
SpaceX API Example:
https://docs.spacexdata.com/?version=latest
Postman API Example:
https://docs.postman-echo.com/?version=latest
Newman CLI:
https://www.npmjs.com/package/newman#using-newman-cli
MUCHAS
GRACIAS!
https://douglasfugazi.wtf
@douglasfugazi
CREDITS: This presentation template was created by
Slidesgo, including icons by Flaticon, and
infographics & images by Freepik
Please keep this slide for attribution