Day 08: Output test results
Number of APIs: 3
Instructions for Day 7: Run test suites
- Get the challenge: Fork the parent collection to your own public workspace.
- Read the documentation: Select the first folder. Expand the context bar on the right to follow the instructions in the collection documentation.
- Submit your solution: Select the second folder and follow the instructions in the documentation to validate your solution.
Learning objectives
- Write dynamic log statements
- Run collections from the command line
- Explain additional methods to output test results
- Set up and tear down state in tests
Concepts covered
- [Write tests]
- [Collection Runner]
- [Schedule collection runs]
- [Run collections on the command line with Newman] docs
Additional resources
- [Use custom reporters with Newman] docs
- Manage CLI environment variables video
- [Newman with Docker] docs
- [Write to your local file system] blog
- [Visualizing responses] docs
GET
https://randomuser.me/api?nat=CA
GET
https://api.getpostman.com/collections/20019195-e1d97e50-8559-4740-ad9a-503f640bf409
POST
https://postman-echo.com/post