If you’ve been using Postman for a while, you know it’s very useful for calling APIs, and testing them. Its strong visualization features make it the modern tool of choice.
But the real power of Postman is automation. The ability to execute requests sequentially, when the next request depends on the result of the former.
That requires knowledge in programming, which is usually a tall order from testers.
The workshop is intended to boost manual testers knowledge, with just-enough Javascript, to use Postman automation features effectively.
The workshop covers enough of the basics of Javascript to automate requests in Postman. We’ll then move to pre-requests and post-responses, chaining requests together, as well as parsing responses, and failing tests on errors in Postman. Following the workshop testers can then jump into Postman and use its automation features in their work.
The workshop includes hands-on exercises both in Javascript and in Postman.
Workshop length: 3 days.
Intended audience:
- Manual testers / QA who already use Postman for manual API testing
Workshop goals
Following the workshop attendees, will be able to:
- Automate workflows of API requests
- Write and run tests
- Integrate Postman with external services
- Use Postman for API exploration testing
- Understand Postman’s advanced feature set
Workshop agenda:
All the topics include both presentation and hands-on exercises. The hands-on part is at least 50% of the course.
- Just-Enough Javascript
- Variables and arrays
- Functions
- Running and logging programs
- Parsing JSON records
- Postman automation
- Javascript usage in Postman
- Variables, types and usage
- Pre-requests and post-response code
- Snippets
- Requests results and tests
- Running and debugging
- Making external requests
Prerequisites
- Manual testing experience
- Knowledge of REST APIs
- Experience using Postman to call APIs
- Postman installed