Skip to content

runonautomation/locust-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Using locust.io for performance analysis

This repository contains example code used for locust trainings

Using the examples

Presentation: runonautomation_locust.pdf

THe directory examples contains annotated examples of locustfiles for experimentation

  • locustfile_user.py - Base definition of HttpLocust

  • locustfile_api_extenstion.py - Creating an additional API endpoint in locust

  • locustfile_custom_client.py - Writing a custom client

  • locustfile_debug.py - Example of using IDE debugger with locust

  • locustfile_fasthttp.py - Using gevent http client for reaching higer RPS with locust

  • locustfile_html.py - Example of HTLM parsing with PyQuery

  • locustfile_sequence.py - Usage of Task Sequence

  • locustfile_taskset.py - Overview of TaskSet capabilities

Setting UP Continuos integration

In Jenkins

  • Create new multibranch pipeline job
  • Under Branch sources add Git and add url to the private repository
  • Leave build configuration default: By Jenkinsfile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published