@achannarasappa/locust-cli

0.3.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @achannarasappa/locust-cli

Weekly Downloads

4

Version

0.3.0

License

MIT

Unpacked Size

720 kB

Total Files

35

Last publish

Collaborators

  • achannarasappa