Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
artillery-plugin-ensure
Advanced tools
With this plugin Artillery can validate if a metric meets a predefined threshold or condition. You can create simple checks, e.g. that `p95` response time is <250ms, or more complex conditions which are based on several metrics.
With this plugin Artillery can validate if a metric meets a predefined threshold or condition. You can create simple checks, e.g. that p95
response time is <250ms, or more complex conditions which are based on several metrics.
If an ensure
check fails Artillery will exit with a non-zero exit code. This is useful in CI/CD pipelines for automatic quality checks and as a way to check that SLOs are met.
Docs: https://www.artillery.io/docs/reference/extensions/ensure
In the following example, we set three ensure
checks:
p95
is <= 1000ms, with a threshold
checkp99
is less than 2000ms and that at least 10 virtual users were launchedconfig:
target: "https://www.artillery.io"
plugins:
ensure: {}
phases:
- duration: 10
arrivalRate: 1
ensure:
thresholds:
- engine.http.response_time.p95: 1000
conditions:
- expression: engine.http.response_time.p99 < 2000 and core.vusers.created.total > 10
strict: false
- expression: core.vusers.failed == 0
scenarios:
- flow:
- get:
url: "/"
- get:
url: "/docs"
- get:
url: "/integrations"
MPL 2.0
FAQs
With this plugin Artillery can validate if a metric meets a predefined threshold or condition. You can create simple checks, e.g. that `p95` response time is <250ms, or more complex conditions which are based on several metrics.
The npm package artillery-plugin-ensure receives a total of 64,677 weekly downloads. As such, artillery-plugin-ensure popularity was classified as popular.
We found that artillery-plugin-ensure demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.