faizkhairi/Loadtest Action
Run HTTP load tests in CI and post results as a PR comment. Powered by @faizkhairi/loadtest-cli.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | Target URL to load test | yes | — |
| requests | Total number of requests | no | 100 |
| concurrency | Number of concurrent requests | no | 10 |
| method | HTTP method (GET, POST, PUT, DELETE) | no | GET |
| headers | HTTP headers as JSON string (e.g. {"Authorization": "Bearer token"}) | no | {} |
| body | Request body for POST/PUT requests | no | "" |
| threshold | P95 latency threshold in ms. Action fails if exceeded. | no | 0 |
| comment | Post results as PR comment (true/false) | no | true |
| token | GitHub token for PR comments | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| avg | Average latency in ms |
| p50 | P50 latency in ms |
| p95 | P95 latency in ms |
| p99 | P99 latency in ms |
| rps | Requests per second |
| errors | Number of failed requests |
| results | Full results as JSON |