Solution: Testing APIs
Let’s write and run the Credit-Check Postman test collection.
We'll cover the following...
We'll cover the following...
For this challenge, the task was to create a Postman test collection for the Credit-Check API project and write two tests: a happy-path test for the home resource (http://localhost:8181/) and a sad-path test for the form resource (http://localhost:8181/form/).
Create the “Credit-Check” collection in Postman
First, we need to create a new test collection in Postman. Let’s name it ...