Repository to save my path in learning modules of Self-Study Learning in site Postman Academy.
- Challenge: POST add book
- API authentication and authorization
- 10 Postman Missions for Collaboration
- Mission 01: Workspaces and forking
- Mission 02: Requests, collections and environments
- Mission 03: Variables and authorization
- Mission 04: Tests and debugging
- Mission 05: Scripting
- Mission 06: Run a collection
- Mission 07: Discoverability and collaboration
- Mission 08: Mock servers and monitors
- Mission 09: Advanced testing
- Mission 10: Submit for badge
- Postman Badges
- Postman Certificates
- Contributors
- Fork the Library Books API from the Public API Essentials Workspace;
Library Books API > (POST) add books > Body > Add Testin{{bookTitle}}variable;- Run the POST requet to add a new book
Test; - Check on
"message": "OK".
- Request all books and check Test Results
- Open the test
Library Books API > (GET) all books; - Click on
Postbot > Add tests to this request > Fix tests; - The variable
{{base_Url}}ishttps://postman-library-api.glitch.me; - Run the GET request in
Library Books API > (GET) all books; - Send a GET request to check all books.
- Request all books and check Test Results
- Open the test
Library Books API > (GET) books by id; - Check if response was 200, successful.
- Use Postbot to create a contract test.
- Add the API documentation
Postbot > Add documentation; - Check on the documentation.
The example without token in my repository, file to import Library_Books_API_postman_collection.json. Saved file:
- Fork Weather API collection;
- Select
GET weekly weather request and send the request; - Click on
Postbot > Visualize the responseand change the type of visualization (bar chart, table or line chart); - Check the response in visualization tab.
The example without token in my repository, file to import Weather_API_postman_collection.json. Saved file:
Postman Challenge of use token-based authentication. Please follow the steps.
- Create workspace
eCommerce; - Import the Payment API:
https://customer-education.postmanlabs.com/apis/payment/index.yaml; - Create a new environment named as
Staging Envand a variablebaseUrl, typedefaultand initial value ashttps://customer-education.postmanlabs.com; - Click on button
(Re-)Generate token for test userto create a token and user;
Payment API > v1 > payment > card > {cardId} > Add a new credit cardthe API will ask the authenticator after run the post requestAdd a new credit card;- Create a Bearer Token:
Add a new credit card > Authorization´ insert the token in{{token}}` valiable; - Add the script above in `Add a new credit card > Body´;
- Run again the API and check on the result:
{
"message": "Card inserted successfully.",
"card_id": 754
}
Body in step 7:
{
"cardNumber": "3243-2343-2343-2342",
"expiryDate": "11/2023",
"cvv": "1234",
"nameOnCard": "J Doe"
}
The example without token in my repository, file to import Payment_API_postman_collection.json.
Saved file:
The path to complete the 10 missions and earn the badges is simple, just follow what is request in all 10 collections.
- Create a new workspace with a different name of
10 Postman Missions for Collaboration, I did10 Missions - Mayanna Oliveira; - Create a workspace using the
Workspace > Create a new workspace > Blank workspace; - Set it as Public,
Workspace > Settings > Workspace type > Public; - Configure your Postman like I did in my study proofile
- Add a description, summary and a tag on the workspace;
- Create a new Postman API Key and save the key.
- Open the Postman workspace 10 Postman Missions for Collaboration
- Fork all missions to your new workspace.
- Insert the workspace id in the
Test your solution!after run all request;
- After run one request check the surprise in
Response > Vizualize; - The cute kitty after successful.

Learn to create and manage workspaces for building and sharing your Postman assets, including forking collections to duplicate missions within your workspace. After fork the collections check the overview to understand step-by-step.
Explore Postman's requests, environments, and collections to manage API interactions, customize testing environments, and streamline workflows for effective collaboration.
Master variables for consistent API workflows, enhancing reusability, collaboration, and security in API management.
Learn about testing within a Postman collection and using the console for debugging to ensure consistent API procedures, deepen understanding of API behavior, and resolve issues efficiently.
Scripting automates tasks, reduces manual effort, and enables complex test scenarios, enhancing efficiency in addressing specific use cases and requirements.
Using the Collection Runner, teams can conduct bulk tests for API validation, share results transparently, troubleshoot effectively, and improve iterative API development.
Postman's documentation and collaboration features enhance discoverability, reduce miscommunication, streamline development, and enable efficient teamwork across projects.
Postman's mock servers and monitors simplify simulating real-world services and automating API testing, fostering seamless collaboration, reducing dependencies, and ensuring API reliability and performance.
Teams can optimize testing with libraries and dynamic request bodies, improving efficiency, consistency, and adaptability in development cycles.
Once you are done with all of your missions, submit your work and earn a badge for mastering Postman's collaborative features!
Please, check in contributors.md before fork this respository.
