
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
puppeteer-loadtest
Advanced tools
puppeteer-loadtest provides a simple way to launch multiple puppeteer instances in parallel to run a simple load test on your site.
Install via npm:
$ npm install -g puppeteer-loadtest
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.
--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.
$ 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
```
const startPuppeteerLoadTest = require('puppeteer-loadtest');
const results = await startPuppeteerLoadTest({
file, // path to file
samplesRequested, // number of samples requested
concurrencyRequested, // number of concurrency requested
});
console.log(results);
```
please provide feedback or feature requests using issues link
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
loadtest puppeteer (Headless Chrome API) script using node
The npm package puppeteer-loadtest receives a total of 1,383 weekly downloads. As such, puppeteer-loadtest popularity was classified as popular.
We found that puppeteer-loadtest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.