
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@loadmill/agent
Advanced tools
Users of Loadmill can use @loadmill/agent
to run API and Load tests locally or on their servers.
In order to use the Loadmill Agent you will need to generate an API Token.
Using npm:
npm i @loadmill/agent -g
Using yarn:
yarn add @loadmill/agent -g
Start an agent:
loadmill-agent start -t INSERT_TOKEN_HERE
The start command accepts the following options:
--token
- (REQUIRED). can be retrieved through the UI, see above.--loads-capacity
- (default = 50). Optionally you can supply the number of users this agent can simulate. can be 0 in order to not run load tests.--no-api
- Can be supplied in order to prevent the agent from running API tests.--config
- Alternatively, you can supply a path to a yaml file that will contain all the options above.loadmill-agent start -t INSERT_TOKEN_HERE --no-api --loads-capacity 80
loadmill-agent start --config /path/to/config.yml
Start the agent:
const {start} = require('@loadmill/agent');
const stop = start({
token: 'INSERT_TOKEN_HERE',
// loadsCapacity: 80,
// api: false
});
// Stop the agent at a later time
FAQs
Loadmill agent library
The npm package @loadmill/agent receives a total of 1,124 weekly downloads. As such, @loadmill/agent popularity was classified as popular.
We found that @loadmill/agent demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.