Performance Testing Using Locust 1.0

BY
Udemy

Mode

Online

Fees

₹ 449 2499

Quick Facts

particular details
Medium of instructions English
Mode of learning Self study
Mode of Delivery Video and Text Based

Course and certificate fees

Fees information
₹ 449  ₹2,499
certificate availability

Yes

certificate providing authority

Udemy

The syllabus

Latest - Locust 1.0- Locust Development Environment

  • Introduction
  • Install Python
  • Install Locust on Windows | Install Pycharm
  • Create Locust Project in Pycharm | Run Example Script
  • Create Locust environment on Linux

Latest - Locust 1.0- Working with Basic Locust Script

  • Introduction
  • Create basic Locust Script | User class | wait_time | @task
  • Add host attribute | HTTPUser class
  • Locust inbuilt wait_time methods
  • Multiple user classes | weight attribute
  • Run options for commandline
  • Running test in headless mode -define users, hatch rate ,time of run ,logfile
  • Add on_start | on_stop methods
  • Add test_start | test_stop methods

Latest - Locust 1.0- Working with Tasks

  • Declaring tasks with decorator | Define task weight
  • Declaring tasks with tasks attribute | Define task weight
  • Declaring Tasks inside TaskSet Class
  • Sequential Tasksets
  • Nested TaskSets
  • self.Interrupt

Latest - Locust 1.0 - Working with HTTP Requests

  • HTTP GET request | client attribute | name request
  • HTTP POST request
  • Extract Response Data
  • Verify Response with catch_response
  • Assignment - Create Script for Complete Booking Flow
  • Session Management
  • Manage session using cookies
  • Assignment - Cookie Handling
  • Extract Data from Response Body
  • Assignment - Complete Autoquote Workflow
  • Assignment - Complete Agent Lookup Workflow
  • Nested Tasks with HTTP requests
  • Testing API- Working with JSON data
  • Assignment - REST API Script - Complete Flow

Load Testing Environment - Upgraded 1.0

  • Parametrize test using external module
  • Parametrize test using csv
  • Assignment - Parametrize Borland Nested Task Script Using CSV
  • Linear Vs Step Load Model
  • Distributed Work Load - Intro , Single Machine, expect-workers
  • Reading options from configuration file
  • Make script OS independent with os module
  • Logging
  • Exit User / Test on Failure
  • Locust Distributed Environment - Multiple machines
  • Run Locust Test using Docker
  • Locust with docker-compose

Locust Web Monitor & Report Statistics

  • Introduction
  • Run Test -Number of Users, Hatch Rate & Host
  • Understand Statistics & Charts - Min,Max, Avg.,Median,Percentile
  • Understand Statistics & Charts - RPS, Number of Users,Average Size
  • Retrieve test statistics in CSV format

Enhancing Locust Scripts

  • Understanding Event Hooks
  • Assignment- Print individual request data using event
  • Assignment Solution .Bonus-Send data to csv
  • Send data to InfluxDB using locust event & python InfluxDB client

Using Custom Clients -Testing systems other than HTTP

  • Introduction
  • Modularization along with time & event wrapper
  • Assignment- Create locust script for ftp protocol
  • Assignment-Solution-FTP Client Locust Script

Trending Courses

Popular Courses

Popular Platforms

Learn more about the Courses

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

Careers360 App
150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books