Testing Tools
P22 advanced
Functional and load testing of a REST API with SoapUI and Postman
Build a SoapUI test case for the Students API with assertions and property transfer, run a load test, then recreate the checks in Postman with test scripts, an environment and the Collection Runner.
What you'll do
- Create REST test cases with assertions in SoapUI
- Chain requests with property transfer / variables
- Load-test an API and read TPS and error ratio
- Automate API checks with Postman test scripts and the Collection Runner
Lab tasks
- 1 New REST project for the Students API
- 2 Build the CRUD test case
- 3 Load test with 20 threads for 60 s
- 4 Postman environment with baseUrl
- 5 POST with test scripts and chain the id
- 6 Save to a collection and run it