Performance Testing Using Locust
4.3 (66 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
458 students enrolled

Performance Testing Using Locust

Learn Modern Load Testing Framework !
4.3 (66 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
458 students enrolled
Created by Anuradha Agarwal
Last updated 4/2020
English
English
Current price: $64.99 Original price: $99.99 Discount: 35% off
11 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 7 hours on-demand video
  • 5 articles
  • 44 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Performance Testing with Locust
  • Performance Testing Concepts associated
Course content
Expand all 52 lectures 06:46:29
+ Locust -Quick Start
12 lectures 01:55:36
Curious case of upgrade to next locust version
00:52

I have also added two new lectures to show Python 3.8 install & Pycharm setup. These lectures also talk about possible issues which you may during install.


Please note that these are generic lectures in which I have taken locust package as an example and are available on my Youtube channel - QAMilestone Academy

Install Python 3.8 --Added for upgraded version
15:31
Install Pycharm - Added over Python 3.8
14:17
Locust Script Development Environment- Pycharm Project - old lecture
10:15
First Locust Script -TaskSet,tasks,weightage,host
15:12
Create your first HTTP Get Request Script in Locust
08:27
Create your first HTTTP Post Request in Locust
08:12
View Response and Create Log File
05:39
Running with different users and on_start task type
10:42
Assignment 1- Create locust script for complete booking flow
04:26
Solution-Assignment
08:33
+ Working with locust script
12 lectures 01:32:15
Create one more Locust project on Windows
00:15
Tasks In Sequence
05:50
Verify Response using catch_response
07:02
Session Handling in Locust -Introduction
01:45
Cookie Handling
12:23
Solution-Assignment 2 - Cookie & Catch Response
02:14
Fetch data from response body to pass to subsequent request
19:15
Nested Tasks- self.interrupt,schedule_task,reschedule,parent,on_stop
18:13
Assignment 3-nested task borland app
04:18
Working with JSON data - Example using API Endpoint|Script run with --run-time
12:23
Assignment 4 -Complete the workflow of API endpoints
01:09
seq_task with task decorator & grouping requests
07:28
+ Distributed Work Load Environment
6 lectures 35:39
Distributed Work Load Environment-Section Overview
01:13
Master - Slave on single machine - with & without WebUI, expect-slaves
07:53
Setting up Locust Distributed environment on AWS - Pre-Req
01:36
Set up Locust on Linux
11:24
Running Distributed test -1 master & 2 slave
08:06
Off the track --Upgrade Locust to latest version
05:27
+ Locust Web Monitor & Report Statistics
5 lectures 26:16
Introduction
01:57
Run Test -Number of Users, Hatch Rate & Host
01:53
Understand Statistics & Charts - Min,Max, Avg.,Median,Percentile
14:32
Understand Statistics & Charts - RPS, Number of Users,Average Size
04:49
Retrieve test statistics in CSV format
03:05
+ Working with Locust Script -Part II
8 lectures 01:15:58
wait_time - between, constant , constant_pacing & customized
09:09
Running Locust with docker, docker-compose -standalone & distributed
24:23
Read user data from module & from csv, setup method
12:52
Understanding Event Hooks
14:44
Assignment- Print individual request data using event
02:37
Assignment Solution .Bonus-Send data to csv
11:37
Topics to be added in this section
00:08
Send data to InfluxDB using locust event & python InfluxDB client
00:27
+ Logging
4 lectures 24:19
Logging-Introduction
01:32
logging using basicConfig
09:04
Assignment solution --print to logging -Borland login script
05:36
logging using customized logger
08:07
+ Using Custom Clients -Testing systems other than HTTP
5 lectures 36:25
Introduction
11:06
Modularization along with time & event wrapper
13:41
Assignment- Create locust script for ftp protocol
05:27
Assignment-Solution-FTP Client Locust Script
06:08
Topics to be added in this section
00:03
Requirements
  • You can have any basic programming background
  • You really don't need to know Python for this course as we will tell you what is required but eventually you would like to learn this most popular language with so many sources around.
Description

Hello,

It's time to swarm your application by modern load testing framework - Locust!

It's easy to start & quick to understand. It simply figures out how many concurrent users an application handle. It is supported by most popular language python which makes it highly flexible!

It offers highly scalable and distributed testing and all this comes at no cost! There is no reason why you should not learn this light & yet highly powerful tool. It could be an effective tool for both developers & testers.

Here in this course, I will take you through deeper sections of the tool and make sure that you get highly enabled to use this wonderful tool. Multiple assignments at each step will make you more confident about the concepts learnt. Additionally, all the scripts walked through during lectures and also the solution to the assignment are available in corresponding resources of the lectures.

In case of queries/issues, I would try to respond as early as possible.



Happy Learning!

Anuradha


Who this course is for:
  • Testers, developers who want to load test their application in quick & effective manner