Description
Python REST API Automation with performance testing using JMeter and Gatling
INSTRUCTOR:
Ellie Yampolskaya
SUMMARY:
API AUTOMATION
- Explanation of http request verbs:
- POST
- GET
- PUT
- PATCH
- DELETE
- OPTION
- HEAD
- How to use browser developer tools to determine required headers, parameters and data if there is limited or missing API documentation
- REST API metadata documentation with Swagger
- Using curl and/or Postman to execute http requests
- Overview of different Python packages to handle http requests
- API automation using Python requests package. How to create, read, update, delete
- How to pass various types of data: lists, json, multipart form data, etc.
- Obtaining response to a request. Overview of the Response object content
- Checking response status, and response message
- Working with response data – xml and json
- Storing response content
- Creating a persistent session – for cookie management
API PERFORMANCE TESTING WITH JMETER
- Introduction to JMeter
- Creation of workflows, using samplers, controllers, and timers
- Debugging using listeners
- Generation of test reports – and how to interpret the results
- Cookie and authentication management
- User defined variables, parameters, and runtime data creation
API PERFORMANCE TESTING WITH GATLING
- Introduction to Gatling
- Creation of business flows
- Creation of scenarios
- Injecting data using feeders
- Checks and assertions
- Generation of reports
- Configuring load distribution to simulate production
All topics include project-based practice with multiple applications
AFTER THE CLASS YOU WILL:
- Understand REST API basics and concepts
- Get basic knowledge on using curl / Postman for manual tests
- Develop REST API automated tests using Python
- Configure and execute Load and Performance testing with JMeter
- Write Load and Performance tests with Gatling