{"repo":"svenkatreddy/puppeteer-loadtest","free":true,"listed":false,"github":"https://github.com/svenkatreddy/puppeteer-loadtest","clone":"git clone https://github.com/svenkatreddy/puppeteer-loadtest.git","description":"load test puppeteer (Headless Chrome API) script using node","language":"JavaScript","stars":116,"topics":["puppeteer","chrome","chrome-headless","automation","loadtest"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"puppeteer-loadtest puppeteer-loadtest provides a simple way to launch multiple puppeteer instances in parallel to run a simple load test on your site. Installation Install via npm: $ npm install -g puppeteer-loadtest Usage To run a basic load test, just supply the name of a puppeteer script to run: $ puppeteer-loadtest --file=sample.js This will run the specified puppeteer script once in chrome headless instance. Parameters --s flag is to mention sample size --c flag is to mention number of concurrent executions per sample --silent boolean to enable or disable logs --outputFile send performance results to output file $ puppeteer-loadtest --s=100 --c=25 --file=sample.js This will run a total of 100 runs through the specified puppeteer script across 25 concurrent chrome headless instances. Examples $ puppeteer-loadtest --file=sample.js $ puppeteer-loadtest --file=./test/sample.js --s=100 --c=25 $ puppeteer-loadtest --file=./test/sample.js --s=100 --c=25 --silent=true $ puppeteer-loadtest --file=./test/sample.js -s 100 -c 25 $ puppeteer-loadtest --file=./test/sample.js -s 100 -c 25 --outputFile=performance.json use as node module Contributors David Madden yuji38kwmt Feedback please provide feedback or feature requests using issues link Contributing 1. Fork it 2. Create your feature branch ( git checkout -b my-new-feature ) 3. Commit your changes ( git commit -am 'Add some feature' ) 4. Push to the branch ( git push origin my-new-feature ) 5. Create new Pull Request","default_branch":null,"files":null,"tree":[],"storefront":"/r/svenkatreddy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/svenkatreddy/puppeteer-loadtest/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}