Data Rules
Last updated
Last updated
Configures:
Which scenario to use?
Which policy to use for a particular Stoobly mode?
Answers: Where to record/mock requests?
For recording, this setting controls which scenario the request will be saved to. For all other modes, this setting controls which scenario the request will be searched from.
Answers: Which requests to record/mock?
Record policy settings controls what to do with requests received by the agent. By default, the agent will record all
requests intercepted.
To configure the record policy, go to the Proxy Settings by clicking on the cog next to the Run button. Below is similar to what you will see.
The following describes the behaviour of each record policy:
Mock policy settings controls what to do with requests received by the agent.
By default, the agent will only mock found
requests.
The following describes the behaviour of each mock policy:
Policy | Description |
---|---|
Policy | Description |
---|---|
all
All requests will be recorded
not_found
Only requests not previously recorded will be recorded
overwrite
Active scenario will be overwritten with record requests
all
All requests will be mocked
found
Only requests that have been recorded will be mocked