Customizing with Request Headers

Request headers can be set by the client to dynamically control mocking behavior.

Supported Headers

chevron-rightX-Stoobly-Public-Directory-Pathhashtag

Path to a folder that contains files or folders that contains files that match a request's path. Path is relative to where the stoobly-agent run command was run.

chevron-rightX-Stoobly-Request-Keyhashtag

Customizes which request response should be used

chevron-rightResponse-Fixtures-Pathhashtag

Path to a YAML file that contains fixture specifications. Path is relative to where the stoobly-agent run command was run.

chevron-rightX-Stoobly-Scenario-Keyhashtag

Customizes which scenario should be used

Last updated