Locust & Python – Modern Performance Testing Framework

JPzTyDNMdsVbibmdyXsL2W0y02i0MCzQ-1

第 1 节:您将学习 locust 和标准特征的基本概念。一个。设置开发环境 B. User、TaskSet、Sequential TaskSet等的解释。解释 on_test_start、on_test_stop、on_start、on_stopd。REST 使用 locust HTTPUser classSection-2 执行:您将学习如何使用 locust 创建一个具体的性能测试框架来对您的被测应用程序执行负载和压力测试,您还将学习如何与 InfluxDB 和 Grafana 集成以获得更好的性能数据分析.a. 抽象 HTTPUser 类和用法b。任务集模块和用户集成c。从 CSVd 加载用户。用户登录和会话管理。多种用户类型和分布f。注册和访客用户 Cookieg。自定义记录器和步进负载。事件挂钩和请求数据存储。在 InfluxDBj 中请求数据存储。Grafana & InfluxDB integrationSection-3 :您将学习 locust 的不同执行模型,包括主从配置。在第 4 节中,您将了解一些可能对您的特定项目有用的额外的蝗虫主题。蝗虫主从架构模型b。配置文件第 4 节的蝗虫执行:额外的主题将有助于设计您自己的框架和清晰的报告分析概念。INIT 事件、标记任务、自定义客户端、CSV 中的统计信息、Locust 作为库b。Master-Worker 执行模型的唯一用户分布c。均值和标准差计算的意义 在第 4 节中,您将了解一些可能对您的特定项目有用的额外的蝗虫主题。蝗虫主从架构模型b。配置文件第 4 节的蝗虫执行:额外的主题将有助于设计您自己的框架和清晰的报告分析概念。INIT 事件、标记任务、自定义客户端、CSV 中的统计信息、Locust 作为库b。Master-Worker 执行模型的唯一用户分布c。均值和标准差计算的意义 在第 4 节中,您将了解一些可能对您的特定项目有用的额外的蝗虫主题。蝗虫主从架构模型b。配置文件第 4 节的蝗虫执行:额外的主题将有助于设计您自己的框架和清晰的报告分析概念。INIT 事件、标记任务、自定义客户端、CSV 中的统计信息、Locust 作为库b。Master-Worker 执行模型的唯一用户分布c。均值和标准差计算的意义

Last updated 10/2021
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.29 GB | Duration: 4h 39m

{ Locust Performance Testing Framework – Complete Project Architecture & Advanced Event Reporting }

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 environmentb. Explanation of User, TaskSet and Sequential TaskSetc. Explanation on_test_start, on_test_stop, on_start, on_stopd. REST execution using locust HTTPUser classSection-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 usageb. TaskSet Modules and User Integrationc. Loading Users from CSVd. User Login & Session Managemente. Multiple User Types & Distributionf. Registered & Guest User Cookieg. Custom Logger & Step Loadh. Event Hooks & Request Data Storei. Request Data Store in InfluxDBj. Grafana & InfluxDB integrationSection-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 modelb. Locust execution with config fileSection-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 libraryb. Unique Users Distribution For Master-Worker Execution Modelc. Significance of Mean & Standard Deviation Calculation

Overview

Section 1: Locust Setup & Basic Features

Lecture 1 Basic Concept of Locust

Lecture 2 Setup Development Environment

Lecture 3 Explanation of User, TaskSet & Sequential TaskSet

Lecture 4 Explanation on_test_start, on_test_stop, on_start, on_stop

Lecture 5 REST execution using locust HTTPUser class

Lecture 6 Practice with attached locust files

Section 2: Project : Locust framework development from scratch

Lecture 7 Locust framework & project architecture

Lecture 8 Abstract HTTPUser class and usage

Lecture 9 TaskSet Modules and User Integration

Lecture 10 Loading Users from CSV

Lecture 11 User Login & Session Management

Lecture 12 Multiple User Types & Distribution

Lecture 13 Registered & Guest User Cookie

Lecture 14 Custom Logger & Step Load

Lecture 15 Event Hooks & Request Data Store

Lecture 16 Request Data Store in InfluxDB

Lecture 17 Grafana & InfluxDB integration

Lecture 18 Project source code walk-through

Section 3: Locust execution model

Lecture 19 Locust Master-Slave architecture model

Lecture 20 Locust execution with config file

Section 4: Miscellaneous topics

Lecture 21 INIT Event, Tagging Tasks, Custom Client, Stats in CSV, Locust as library

Lecture 22 Unique Users Distribution For Master-Worker Execution Model

Lecture 23 Significance of Mean & Standard Deviation Calculation

Performance engineer, Automation engineer, Tester, Developer

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/35698.html

赞 (0)
steven的头像steven
上一篇 2022年7月22日 下午2:48
下一篇 2022年7月22日 下午2:52

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部