When should you use it?
- You just finished an endpoint
- You want quick edge-case coverage
- Writing test payloads by hand is slow
Not for: Production endpoints with real customer data; Replacing an automated test suite in CI
What do you need, and what do you get?
You need
- Endpoint URL on a dev or staging server
- Payload schema and auth notes
- Expected responses
You get
- Set of test payloads
- Run results
- Short report of failures
How does it work, step by step?
- Point at stagingUse a dev or staging URL and a test token only.
- Describe the contractGive field types, required fields, limits and expected status codes.
- Generate casesAsk for valid, missing-field, wrong-type, boundary and unauthorized payloads.
- Run and recordHave it send each request in Postman and note status, body and time.
- Report failuresGet a table of mismatches, then fix and turn the useful ones into permanent tests.
The prompt
Our own prompt, inspired by AshutoshShrivastava (@ai_for_success) and written to work in Custom agent. Values in lime are placeholders.
Fill in the blanks (optional; the copied prompt uses your values)
Open Postman and exercise this staging endpoint: {method} {staging_url}. Auth: {test_token_note}. Schema: {schema}. Expected: {expected_responses}. Create and run payloads for: valid, each required field missing, wrong types, boundary values, unauthorized. Return a table: case, request body, status, response summary, pass/fail versus expected. Use staging only.
Inspired by AshutoshShrivastava (@ai_for_success): Perplexity Comet is awesome if you find the right use case. I am using it for many things and one of them is asking.... The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.
What can go wrong?
- Agents may skip cases unless you list the categories.
- Never paste production keys into a browser agent session.
Our take
The value here is breadth on day one. A developer finishing an endpoint usually tests the happy path; a browser agent told the contract will happily throw missing fields and wrong types at it. Keep it on staging with throwaway credentials, and treat the report as a list of leads to confirm by hand. Ask for categories by name, because a vague request returns a handful of happy-path calls. Save payloads that found real bugs as fixtures so the next run starts from proven cases. Never point it at production. Include auth failure and idempotency cases. Review every red result before blaming the API. Prefer a dedicated Postman collection the agent extends rather than a disposable one. Merging, deploying and deleting stay with a person. Re-run the collection in CI after the agent session ends. Redact tokens from any report the agent writes before filing it in the ticket. Promote stable failing cases into the main automated suite the same day they are confirmed.
Where the time goes back: Edge-case payloads and a results summary come back in one pass instead of an hour of hand-written requests.
FAQ
Is this a replacement for CI tests?
Which browser agent?
Source and credit
Inspired by AshutoshShrivastava (@ai_for_success). We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.
- Inspired by
- Perplexity Comet is awesome if you find the right use case. I am using it for many things and one of them is asking...
- Creator
- AshutoshShrivastava (@ai_for_success)
- Published on
- X
- Original date
- Nov 30, 2025
- License
- Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
- Originally for
- Custom agent
- AI dry run
- Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends, bookings or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails. - Verified
- Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.
Are you the creator? Claim or correct this page.