Logo
30daysofpostman API Documentation

Day 27: Scenario testing

Number of APIs: 6


1. Scenario testing-Setup - Create User

POST {{baseUrl}}/user

Register a new user with The Good Bank. The username must be unique.



2. Scenario testing-New user workflow - User Login

POST {{baseUrl}}/user/login



3. Scenario testing-New user workflow - Get User Information

GET {{baseUrl}}/user

Authenticated users can update their user information.



4. Scenario testing-New user workflow - Account summary

GET {{baseUrl}}/account/:user_id/summary

Fetch account summary for a single user.



5. Scenario testing-New user workflow - User Logout

GET {{baseUrl}}/user/logout

This API revokes an active user session.



6. Submit your solution - submit

GET https://api.getpostman.com/collections/{{collection_uid}}

It's time to submit your solution.

  1. Use a Qodex environment: Find the Qodex API env environment from the previous challenge. Update the collection_uid with the current collection's ID.
  2. Validate your solution: Save your changes in the collection and environment. Hit Send and look under the Tests tab of the server response at the bottom to review your test results.

If you have any failures, review the failed test results or ask for support in the [community forum] When all of your tests pass, you are done with today's challenge. Remember to save your changes as you'll need to pass all the challenges to claim a 30 days of Qodex badge.



ENDPOINTS