hitspec.yaml (or hitspec.yml) file in your project root. All settings are optional — hitspec uses sensible defaults when no config file is present.
Creating a Config File
Runhitspec init to generate a starter configuration:
hitspec.yaml and an example.http file.
Full Configuration Reference
Options Reference
General
Network
Headers
Output
Execution
Environments
Define per-environment variables inline:--env:
{{variableName}} interpolation in your test files.
Stress Testing Profiles
Define reusable stress test profiles:
Use a profile with the
--profile flag:
Config File Search
hitspec looks for config files in this order:- Path specified by
--configflag hitspec.yamlin the current directoryhitspec.ymlin the current directory