{"id":13659524,"url":"https://github.com/svenkatreddy/puppeteer-loadtest","last_synced_at":"2025-04-05T18:07:12.414Z","repository":{"id":40605241,"uuid":"100642797","full_name":"svenkatreddy/puppeteer-loadtest","owner":"svenkatreddy","description":"load test puppeteer (Headless Chrome API) script using node","archived":false,"fork":false,"pushed_at":"2023-12-20T14:08:48.000Z","size":324,"stargazers_count":116,"open_issues_count":20,"forks_count":21,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T19:54:34.843Z","etag":null,"topics":["automation","chrome","chrome-headless","loadtest","puppeteer"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svenkatreddy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-17T20:30:56.000Z","updated_at":"2024-06-18T10:26:58.506Z","dependencies_parsed_at":"2024-06-18T10:26:51.329Z","dependency_job_id":"6a7f8032-fff0-425e-9dba-f33de6c1f50c","html_url":"https://github.com/svenkatreddy/puppeteer-loadtest","commit_stats":{"total_commits":63,"total_committers":8,"mean_commits":7.875,"dds":0.2857142857142857,"last_synced_commit":"d09a556161dc59f80ed58a64da3b5a48b38f9831"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkatreddy%2Fpuppeteer-loadtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkatreddy%2Fpuppeteer-loadtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkatreddy%2Fpuppeteer-loadtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkatreddy%2Fpuppeteer-loadtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenkatreddy","download_url":"https://codeload.github.com/svenkatreddy/puppeteer-loadtest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247378141,"owners_count":20929296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","chrome","chrome-headless","loadtest","puppeteer"],"created_at":"2024-08-02T05:01:09.701Z","updated_at":"2025-04-05T18:07:12.395Z","avatar_url":"https://github.com/svenkatreddy.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# puppeteer-loadtest\n\n[![Build Status](https://travis-ci.org/svenkatreddy/puppeteer-loadtest.svg?branch=master)](https://travis-ci.org/svenkatreddy/puppeteer-loadtest)\n\n[![NPM](https://nodei.co/npm/puppeteer-loadtest.png?stars=true)](https://nodei.co/npm/puppeteer-loadtest/)\n\npuppeteer-loadtest provides a simple way to launch multiple puppeteer instances in parallel to run a simple load test on your site.\n\n## Installation\n\nInstall via npm:\n\n    $ npm install -g puppeteer-loadtest\n\n## Usage\n\nTo run a basic load test, just supply the name of a puppeteer script to run:\n\n    $ puppeteer-loadtest --file=sample.js\n\nThis will run the specified puppeteer script once in chrome headless instance.\n\n### Parameters\n\n`--s` flag is to mention sample size\n`--c` flag is to mention number of concurrent executions per sample\n`--silent` boolean to enable or disable logs\n`--outputFile` send performance results to output file\n\n    $ puppeteer-loadtest --s=100 --c=25 --file=sample.js\n    \nThis will run a total of 100 runs through the specified puppeteer script across 25 concurrent chrome headless instances.\n\n\n### Examples\n\n    $ puppeteer-loadtest --file=sample.js\n    \n    $ puppeteer-loadtest --file=./test/sample.js  --s=100 --c=25\n    \n    $ puppeteer-loadtest --file=./test/sample.js  --s=100 --c=25 --silent=true\n    \n    $ puppeteer-loadtest --file=./test/sample.js  -s 100 -c 25\n\n    $ puppeteer-loadtest --file=./test/sample.js  -s 100 -c 25 --outputFile=performance.json\n\n\n### use as node module \n\n    ```\n    const startPuppeteerLoadTest = require('puppeteer-loadtest');\n    const results = await startPuppeteerLoadTest({\n        file, // path to file\n        samplesRequested, // number of samples requested\n        concurrencyRequested, // number of concurrency requested\n    });\n    console.log(results);\n    ```\n    \n    \n## Contributors\n\n[David Madden](https://github.com/moose56)\n\n[yuji38kwmt](https://github.com/yuji38kwmt)\n    \n   \n## Feedback   \n\nplease provide feedback or feature requests using issues link\n    \n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenkatreddy%2Fpuppeteer-loadtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenkatreddy%2Fpuppeteer-loadtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenkatreddy%2Fpuppeteer-loadtest/lists"}