Locust & Python - Modern Performance Testing Framework
What you'll learn
- In-depth understanding of locust and its features
- Performance framework development with python from scratch
- User session management and cookies handling
- User loading from CSV
- Locust event hooks and listener
- InFluxDB and Grafana integration with locust
- Locust Master-Slave execution model
- Locust Execution With Configuration File
Requirements
- Basic python knowledge
Description
Section-1 : you will learn the basic concept of locust and standard features.
a. Setup development environment
b. Explanation of User, TaskSet and Sequential TaskSet
c. Explanation on_test_start, on_test_stop, on_start, on_stop
d. REST execution using locust HTTPUser class
Section-2 : you will learn how to use locust to create a concrete performance test framework to perform load and stress testing on your application under test, you will also learn how to integrate with InfluxDB and Grafana for better performance data analysis.
a. Abstract HTTPUser class and usage
b. TaskSet Modules and User Integration
c. Loading Users from CSV
d. User Login & Session Management
e. Multiple User Types & Distribution
f. Registered & Guest User Cookie
g. Custom Logger & Step Load
h. Event Hooks & Request Data Store
i. Request Data Store in InfluxDB
j. Grafana & InfluxDB integration
Section-3 : you will learn different execution model of locust which include master-slave configuration as well. In section4 you will get to know few extra topics of locust which might be useful for your specific project.
a. Locust Master-Slave architecture model
b. Locust execution with config file
Section-4 : Extra topics which will help to design your own framework and clear report analysis concepts.
a. INIT Event, Tagging Tasks, Custom Client, Stats in CSV, Locust as library
b. Unique Users Distribution For Master-Worker Execution Model
c. Significance of Mean & Standard Deviation Calculation
Who this course is for:
- Performance engineer, Automation engineer, Tester, Developer
Instructor
Professional: Ex, Microsoft, Yahoo, INTUIT, VMWare, and More. 17+ years of rich industry experience and have worked with all automation verticals, across business domains. Started my career as Lecturer and always have that passion in my heart for teaching. Now it's time for me, to share the knowledge I have gathered from the last two decades, and many can leverage my knowledge in their working fields.
Personal: Just like any other human being. Have a passion for both outer and inner engineering. A family person, always open to help my family and friends. Proud pet owner, yes I have an Indian Hound. Love to sing, play and be high sometimes ;)