abdul-hamid-achik/hitspec
Run API tests with hitspec - plain text HTTP testing
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 16, 2026
- License
- MIT
Pinned Snippet
uses: abdul-hamid-achik/hitspec@3a96d6b9f12745dc6ac4743e65c12990fb23d83f # v2.18.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Files or directories to test (required) | yes | — |
| env | Environment name | no | dev |
| env-file | Path to .env file for variable interpolation | no | — |
| output | Output format (console, json, junit, tap, html) | no | junit |
| output-file | Write output to file | no | — |
| tags | Filter by tags (comma-separated) | no | — |
| name | Filter by request name pattern | no | — |
| timeout | Global timeout in milliseconds | no | — |
| parallel | Run requests in parallel | no | false |
| concurrency | Max concurrent requests when parallel is enabled | no | — |
| bail | Stop on first failure | no | false |
| verbose | Show detailed output | no | false |
| insecure | Disable SSL certificate validation | no | false |
| proxy | Proxy URL for requests | no | — |
| stress | Enable stress testing mode | no | false |
| duration | Stress test duration (e.g., 30s, 1m, 5m) | no | 30s |
| rate | Target requests per second for stress testing | no | 10 |
| vus | Number of virtual users (alternative to rate) | no | — |
| max-vus | Maximum concurrent requests in stress mode | no | — |
| think-time | Think time between requests per VU | no | — |
| ramp-up | Ramp-up time to reach target rate/VUs | no | — |
| threshold | Pass/fail thresholds (e.g., "p95<200ms,errors<0.1%") | no | — |
| profile | Stress profile name from hitspec.yaml | no | — |
| version | hitspec version to use (e.g., v0.9.4 or latest) | no | latest |
Outputs
| name | description |
|---|---|
| exit-code | Exit code from hitspec (0 = success, non-zero = failure) |