{"_id":"@achannarasappa/locust-cli","_rev":"3-29acb616225131463ff92cac59e1f225","name":"@achannarasappa/locust-cli","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@achannarasappa/locust-cli","version":"0.1.0","description":"Utility tool and command line UI to develope locust jobs","bin":{"cli":"bin/cli.js"},"directories":{"lib":"lib"},"scripts":{"test":"mocha --exit --grep @remote --invert --timeout 10000 './{,!(node_modules)/**/}*.spec.js'","test:watch":"npm run test -- --watch"},"author":{"name":"Ani Channarasappa"},"license":"MIT","devDependencies":{"@achannarasappa/eslint-config":"^1.0.4","@hapi/hapi":"^18.4.0","@hapi/vision":"^5.5.2","chai":"^4.2.0","docker-names":"^1.1.1","eslint":"^6.6.0","handlebars":"^4.5.2","mocha":"^5.2.0","sinon":"^7.2.3"},"dependencies":{"@achannarasappa/locust":"^1.0.0","inquirer":"^6.2.1","ioredis":"^4.3.0","moment":"^2.24.0","prettyjson":"^1.2.1","puppeteer":"^1.11.0","ramda":"^0.26.1","shelljs":"^0.8.3","terminal-kit":"^1.28.0","yargs":"^12.0.5"},"eslintConfig":{"extends":"@achannarasappa/eslint-config","env":{"mocha":true,"node":true},"rules":{"consistent-return":"off","no-console":"off"}},"gitHead":"7d5213b4a993472dc104e8bbe7beece63ec35fbe","_id":"@achannarasappa/locust-cli@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"},"dist":{"integrity":"sha512-MUjbnNLWHFFk/VZMknUe+uWxkF9ljfVoyUh1Ts8ubKJbFgJG83gcf/m6LIr11VP5dVeHVTB/HjQ9V7hDXghj5A==","shasum":"6b0e6abc36edc4f4d28cce1e8282b58a71adda73","tarball":"https://registry.npmjs.org/@achannarasappa/locust-cli/-/locust-cli-0.1.0.tgz","fileCount":30,"unpackedSize":727869,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2ZqKCRA9TVsSAnZWagAABw0P/R/karSzehvLENUoymSm\n1Zp20SWoe+AcAkFHFcgOosFwGugu8CdcxsEAnpM2b9opW6+Txbn/pNoX/psC\n16Gb+7BZIjF7kIwUKfJceegz4o4vxlLa6tHjji7dXFKCCbre63w3xd8SCpwx\nu4uxsIh4TFg/QufIHmJQvH5/2FMZH/mBS68Yd9PGyQJ2yWI1N/WPimwL3E9j\nRlQ36o+c7go7uixhmg/SZjkSMKc+cO6fHXBU7WYpS9dYUrN5ARM1QfkT4lGY\nyySjF57ZKZcljzZ9tc4GFqMpOWPwCty0YrH0Kgxni4rLRyaH0VFJwBI5f4ZS\nDNeAmA0/6//RyJiioSTNW3gD0hQwt75EuXJ9sa/xua+m+Ak419TQoo58BQBM\nMEB2A/Bjvd+vShkxBSNPKPkoSlzdigLxI3OdmXRbqgHADDblsRQ9knAOgvyn\n5ZLdrCstCV2AMuD28QI7cQi2i0ftJbDqFwyVHNFFcRQKddaC8XnKt6NxidLQ\nVU29eocml+FWkqKZgiH3JweaHRCbK9v7Ipaa7NdyoJygI8L3TObLQKBb1D3f\nCLQNqBFMABKdw5Jl4MVRTkI3Dyhz9hnyglaaIgSuGUSkB7EaI7wBvQfwL4wr\nlk7x/g5tkcZqXroAxynqOho2qA1nEzW6BVdu2T0i/Mu5x3fLeTwWRn3f195a\ndX2a\r\n=avVA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHILk9dx5p/zM3nj0/52Nc5ncOkylL5Ff7h2KyAhgLCzAiEA7ZFr8EPQ9WfLkza01xmXat5qlWFd4GIVWDbBoz5nH1E="}]},"maintainers":[{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locust-cli_0.1.0_1574541962031_0.7108251755636148"},"_hasShrinkwrap":false},"0.2.0":{"name":"@achannarasappa/locust-cli","version":"0.2.0","description":"Utility tool and command line UI to develope locust jobs","bin":{"cli":"bin/cli.js"},"directories":{"lib":"lib"},"scripts":{"coverage":"nyc --reporter=text --reporter=lcov mocha --exit --timeout 10000 './lib/**/*.spec.js'","lint":"eslint ./lib ./test ./bin","lint:fix":"eslint --fix ./lib ./test ./bin","test":"mocha --exit --timeout 10000 './{,!(node_modules)/**/}*.spec.js'","test:watch":"npm run test -- --watch"},"author":{"name":"Ani Channarasappa"},"license":"MIT","devDependencies":{"@achannarasappa/eslint-config":"^1.0.4","@hapi/hapi":"^18.4.0","@hapi/vision":"^5.5.2","chai":"^4.2.0","docker-names":"^1.1.1","eslint":"^6.6.0","handlebars":"^4.5.3","husky":"^3.1.0","mocha":"^5.2.0","nyc":"^14.1.1","sinon":"^7.5.0"},"dependencies":{"@achannarasappa/locust":"^1.0.0","inquirer":"^6.2.1","ioredis":"^4.3.0","moment":"^2.24.0","prettyjson":"^1.2.1","puppeteer":"^1.11.0","ramda":"^0.26.1","shelljs":"^0.8.3","terminal-kit":"^1.28.0","yargs":"^12.0.5"},"eslintConfig":{"extends":"@achannarasappa/eslint-config","env":{"mocha":true,"node":true},"rules":{"consistent-return":"off","no-console":"off"}},"nyc":{"branches":100,"lines":100,"functions":100,"statements":100,"all":true,"check-coverage":true,"skip-full":true,"include":["lib/**/*.js"],"exclude":["lib/**/*.spec.js"]},"husky":{"hooks":{"pre-commit":"npm run lint && npm audit"}},"gitHead":"706fc9bf9aeb3d2f385bb90e09a5f5a47902adcc","_id":"@achannarasappa/locust-cli@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"},"dist":{"integrity":"sha512-7jsAlXQuQHRkKSZzAbyjDzJIFqTJpHMbstrSz/+goyoWgWHD1WM0RoSos8gEQdI8Pq+84y/8n2BX4ZO48f/1Kw==","shasum":"2e11fc8c64a56b477e7070c8076094d257cdfa24","tarball":"https://registry.npmjs.org/@achannarasappa/locust-cli/-/locust-cli-0.2.0.tgz","fileCount":36,"unpackedSize":730600,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeABP4CRA9TVsSAnZWagAAuREP/3WIFU19n6EM8y/nDoOc\niJAJ/knJ+vt3uivzNshPQCRaXt/zWT/bMDs/IukcY9zDh1y+VwOgVSLD3CqS\nNOmLOGTZfuMMS1ggS+Zgh55nwtL//d7Hh5aVyiX9oMoxAYgxm02WSQXlFFQX\n8YI1vd1vP8uO5UV9mke4usQvnUAAnI2s5Elv3IrkhdOrbjNr80NmmHdbHjGQ\njkA7S7tzKS1LweSuyF1HQVMixCnLLaG01wNw6ALOSZOPhZShvKKKih00aua/\n2XmVYyXYEBPmz7+itJcSTtz9i8XCGlLJ82bbfjcBdrrCguWppN64f2TzsR5+\nGrljtXIWkwM/MSJWnXuQeSqUlEE9x2D2a03v5DDZpQZPuIn5FKGJM9Hrisxp\nV9LXuExyJeZELAe6ertZOH8VHW5wdgECFYCg5clnhoJEK6jNSvUQ9SiB1xzg\niypohTj2MsHoKhLx8JNQ5cm0/7WRNISsgS2uqejgWlaT0wzFERo45Jy5gPBh\nE4NgRQFC8ScBHApkiOjuheqjhFVckKQl2AyglcBGm0HW3H62d//f0pvT8Zp+\nectaT5nM/Oug/51pN5YLPqQQ6hLk9P7CKDJBmViJg5cTnW7iap5f4OsdZi8d\njO1Olv3i+gTuS1+7h9ys+vR9pkGzd0CDDGNNs08UVaR1i6fevEIE//L7w8BR\n8SC9\r\n=C2Nb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2m7LI8IqYsp/6Wbnq/S9YzMC3fgpafomqn/ZCFYJpSAIhAOKUnkwx0qdXJzZKUm2gZQ2vPZ/iIsx83f3CH3+Pn7KG"}]},"maintainers":[{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locust-cli_0.2.0_1577063416292_0.305471870548641"},"_hasShrinkwrap":false},"0.3.0":{"name":"@achannarasappa/locust-cli","version":"0.3.0","description":"Utility to develop and test locust jobs","bin":{"cli":"bin/cli.js"},"directories":{"lib":"lib"},"scripts":{"coverage":"nyc --reporter=text --reporter=lcov mocha --exit --timeout 10000 './lib/**/*.spec.js'","lint":"eslint ./lib ./test ./bin","lint:fix":"eslint --fix ./lib ./test ./bin","test":"mocha --exit --timeout 10000 './{,!(node_modules)/**/}*.spec.js'","test:watch":"npm run test -- --watch"},"author":{"name":"Ani Channarasappa"},"license":"MIT","devDependencies":{"@achannarasappa/eslint-config":"^1.0.4","@hapi/hapi":"^18.4.0","@hapi/vision":"^5.5.2","chai":"^4.2.0","docker-names":"^1.1.1","eslint":"^6.6.0","handlebars":"^4.5.3","husky":"^3.1.0","mocha":"^5.2.0","nyc":"^14.1.1","sinon":"^7.5.0"},"dependencies":{"@achannarasappa/locust":"^1.0.0","@achannarasappa/locust-cli-dashboard":"^0.1.0","inquirer":"^6.2.1","ioredis":"^4.3.0","moment":"^2.24.0","prettyjson":"^1.2.1","puppeteer":"^1.11.0","ramda":"^0.26.1","shelljs":"^0.8.3","yargs":"^12.0.5"},"eslintConfig":{"extends":"@achannarasappa/eslint-config","env":{"mocha":true,"node":true},"rules":{"consistent-return":"off","no-console":"off"}},"nyc":{"branches":100,"lines":100,"functions":100,"statements":100,"all":true,"check-coverage":true,"skip-full":true,"include":["lib/**/*.js"],"exclude":["lib/**/*.spec.js"]},"husky":{"hooks":{"pre-commit":"npm run lint && npm audit"}},"gitHead":"16e20c777182a9d4719b34ce8f6aa8c77d000a27","_id":"@achannarasappa/locust-cli@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.14.1","_npmUser":{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"},"dist":{"integrity":"sha512-tu+QcukXsyMrhYnn+Jm7x6UC6DcaDmN7zkjtD18ADl6Y6nNv2dKsw4yHWm2jjqZxcubuD0uqLndgB0pLP9613Q==","shasum":"7c314bb05cba4356d35f34bb250d108a601f71dd","tarball":"https://registry.npmjs.org/@achannarasappa/locust-cli/-/locust-cli-0.3.0.tgz","fileCount":35,"unpackedSize":720239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBlprCRA9TVsSAnZWagAAzXQP/Ra6prpPD18w9lwZOVYB\nk3I1UKD+POfi/mvPYB1gkZTMn2W1Een0hiMh4ErHqDJs4I37AysTjlKjccdw\nyd8fs7Em2yDWz16YCheC+G+KnYpoH08e2pJmN0EK5EZ+MoqR+bVYkelfKhBQ\npHY8p2FXqvYrHeiufbbjId1UrRjXEz6PJ/806SKu/kw9xa6jgWh2iuHxPjAs\nRMf7v3fP5Oo2rNYSgTvEIls79yvzI5VZ90KdQem6pBdseec/KJS8Gh08yhtE\nEn/uNapQBQKSLSLrx4FThcwhe1FsEV1k4GYkxmhHFeDj1ZqPZR+CgNoQWXs4\n++rtyPVgq85DUws/PHQAeVXlORAbmUV0qhwqOxCBHjjVGVjBo/uEr7AM40mp\nPiToC1k1x300SHlPH4J8ZgOw7esbMyU701FH0UOM4jWzw5aDNkMzRdjuZVEO\nkH0CJjS2JqZMFNQ2Iq9p1cxG5rvWaTmarGP5cy5hWSK0yIxAWwmSdV3sjMjP\nPwWyXiQaw8pmMJ7Yhvmzy1Txidkd4JK0LlMqIAr8ewP8xjMCCEf5chls1Sdr\nKfOe6DU+1KAQgZ4P2B3NnHPMJj83wuBRq+iLLI4ynMGn5G36vZpza1wDb7PJ\nsFdPWrdVcVbEY/j32lTy2G2jTIcqxTekvg98YWq4E2e6NTs3eCThNPUIrkAm\n0twt\r\n=AzN3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD32HBfjjd/MMRUKr2fMCsEvoUBGKqokaDb6aeJ3ihVUwIhAORqkIZv0Y+wsY1SUm0v3uRfwHJxdf4XBAWHHKFN5YCp"}]},"maintainers":[{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/locust-cli_0.3.0_1577474666402_0.9769842713374053"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-23T20:46:02.030Z","0.1.0":"2019-11-23T20:46:02.150Z","modified":"2022-04-04T11:10:48.747Z","0.2.0":"2019-12-23T01:10:16.490Z","0.3.0":"2019-12-27T19:24:26.529Z"},"maintainers":[{"name":"achannarasappa","email":"ani.channarasappa@gmail.com"}],"description":"Utility to develop and test locust jobs","author":{"name":"Ani Channarasappa"},"license":"MIT","readme":"<p align=\"center\">\n<img align=\"center\" width=\"100\" src=\"https://locust.dev/img/locust-logo.svg\" />\n</p>\n<h1 align=\"center\">Locust CLI</h2>\n<p align=\"center\">\nDeveloper tools to accelerate development of Locust jobs\n</p>\n\n## Quick Start\n\n```\nnpm install @achannarasappa/locust-cli\n```\n\n```\n❯ locust\nlocust <command>\n\nCommands:\n  locust run       run in single job mode\n  locust start     starts a job and crawls until a stop condition is met\n  locust stop      Stop running jobs and stop redis and browserless containers\n  locust generate  generate a job definition through a series of prompts\n  locust validate  validate a job definition\n  locust info      information on queue state and jobs in each status\n\nOptions:\n  -v, --version  Show version number                                   [boolean]\n  -h, --help     Show help                                             [boolean]\n```\n\n## Features\n\n### Generate a job definition file\n\nInteractively generate a job definition file with `locust generate` by answering a set of prompts.\n\n### Test CSS selectors and data extraction logic \n\nRunning 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.\n\n### Start a job locally before pushing to a cloud provider\n\nSimulate 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.\n\n## Reference\n\n* Reference\n  * [API](https://locust.dev/docs/api)\n  * [CLI](https://locust.dev/docs/cli)\n* [Examples](https://github.com/achannarasappa/locust-examples)\n* Related\n  * [locust](https://github.com/achannarasappa/locust)\n  * [locust-aws-terraform](https://github.com/achannarasappa/locust-aws-terraform)\n  * [locust-website](https://github.com/achannarasappa/locust-website)","readmeFilename":"README.md"}