Skip to content

achannarasappa/locust-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Locust CLI

Developer tools to accelerate development of Locust jobs

Quick Start

npm install @achannarasappa/locust-cli
❯ locust
locust <command>

Commands:
  locust run       run in single job mode
  locust start     starts a job and crawls until a stop condition is met
  locust stop      Stop running jobs and stop redis and browserless containers
  locust generate  generate a job definition through a series of prompts
  locust validate  validate a job definition
  locust info      information on queue state and jobs in each status

Options:
  -v, --version  Show version number                                   [boolean]
  -h, --help     Show help                                             [boolean]

Features

Generate a job definition file

Interactively generate a job definition file with locust generate by answering a set of prompts.

Test CSS selectors and data extraction logic

Running a job with locust run makes a request to the entrypoint url and runs the extract hook which is a lightweight way to test that the defined CSS selectors and other data extraction logic works as expected.

Start a job locally before pushing to a cloud provider

Simulate and debug a job run on a cloud provider without pushing up code or provisioning infrastructure. locust start will run a job as it would on a cloud provider and presents a dashboard to help understand what the job is doing and identify potential problem areas.

Reference

About

Developer tools to accelerate development of Locust jobs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published