- Partial results — the tool responds with 200 but returns fewer results than expected
- Upstream errors — the tool responds with 500 and an error body
Partial results (200 with incomplete data)
A search API returns 200 but only includes 2 results instead of the expected 10, and thenextPage token is missing. Does your agent retry? Does it fall back? Does it silently produce a worse answer?
Create a routing rule for the tool endpoint
In the GoDizzy dashboard, open your route collection and create a new routing rule.Set the match to:
- Method:
GET - Path:
/search
Set the action to mock
Choose Mock as the action. This tells GoDizzy to return your configured fixture instead of forwarding the request to the real search API.
Configure the mock response body
Set Status to Notice what is missing:
200. Paste the following into the Body field:mock body
nextPage is absent, and total is 2 even though the agent may expect 10 or more results. This is a valid 200 — the API did not fail — but the data is incomplete.Leave Latency at its defaults unless you also want to simulate a slow partial response.What the agent sees
What to test
- Does your agent accept 2 results and continue, or does it retry the search?
- Does your agent check
nextPagebefore deciding the result set is complete? - Does the agent’s final output degrade in a noticeable or unacceptable way?
- If the agent retries, does it back off or loop indefinitely?
Upstream errors (500 with an error body)
Now simulate the search API going down entirely. Your agent calls the tool and gets a 500. Does it surface the error? Does it try a fallback tool? Does it halt?Create a routing rule for the tool endpoint
Create a new rule (or edit the existing one) with the same match:
- Method:
GET - Path:
/search
Configure the mock response body with a 500 status
Set Status to Optionally, set a Latency range (e.g. min 200ms, max 800ms) to simulate the delay before a server failure response.
500. Paste the following into the Body field:mock body
What the agent sees
What to test
- Does your agent catch the 500 and surface a meaningful message to the user?
- Does it attempt a fallback (e.g. a different tool or a cached result)?
- Does it retry on 500, and if so, how many times before giving up?
- Does the agent halt or continue with degraded output?
