/teamcity-locustio

Locust.io test runner for JetBrains Teamcity

Primary LanguageKotlinApache License 2.0Apache-2.0

teamcity-locustio

Configurable Locust.io test runner plugin for JetBrains Teamcity.

About the plugin

The purpose of creating this plugin was to integrate Locust.io performance tests tool with TeamCity builds in more user friendly and useful manner. Plugin adds a certain kind of statistic reports, results comparison between builds and more.

Features

  • Configurable build step for running Locust tool
  • Locust report parser for using on Build Statistics tab and charts
  • Comparing report values with previous build (so you see regression)
  • Configurable thresholds for making build success/fail decision

Installation and Configuration

  1. Download the latest plugin build from available releases.

  2. Install plugin as described in official TeamCity documentation.

  3. Setup Locust.io tools on your TeamCity Agent machine.

  4. Add a newly available build step to your project Build Configuration:

Build step configuration

  1. Ensure you have proper locustfile.py added to your project and run build.

  2. Wait for build finishes and you'll be able to se a new Locust section on build overview page:

Build overview info

  1. Use Build > Parameters > Reported statistic values tab to create a Chart with values you want to observe

Build charts

License

Apache 2.0