Hand off a new API endpoint to QA without a meeting
"It's ready for QA" often means a ticket with an endpoint path and nothing else. QA then spends a morning reverse-engineering the body, finding a token and asking in chat what a 409 is supposed to mean.
When the developer and QA share a collection, the hand-off can be the collection itself.
What the developer adds
1. A request for the happy path, saved in the right folder, with a body that works on staging. Not a placeholder like "string": a real example.
2. A request per important error, named after the case:
- Create refund (amount over the order total, 422)
- Create refund (order already refunded, 409)
- Create refund (no permission, 403)
The developer knows these cases best; writing them down takes five minutes.
3. Docs on the request. In the Docs tab, two or three lines: what the endpoint does, what it changes, and anything surprising (it's asynchronous, it sends an email, it's idempotent with a header). See document API requests with Markdown.
4. One basic test, so the request means something in a run:
pm.test('returns 201 with the refund id', () => {
pm.response.to.have.status(201);
pm.expect(pm.response.json().id).to.be.a('string');
});5. Environment values. Any new variable the requests use exists in Staging, including test accounts with the right permissions.
Then put the folder's name, or a link from Copy link on one of its requests, in the ticket. Everyone in the workspace opens the same requests; there's nothing to export or attach.
What QA does with it
- Runs the folder to check the developer's cases pass on staging.
- Adds cases the developer didn't think of: boundary values, wrong types, other roles. Duplicating a request and changing one thing is usually enough.
- Adds data-driven runs for many inputs, with a CSV file. See data-driven API tests with CSV.
- Adds the requests to a suite in Tests, so they become part of regression without moving them out of the collection.
Because it's one collection, the developer sees QA's new cases the next time they open it, and QA sees when the developer changes the body.
Talk in the collection, not around it
- When a case fails, open a Jira issue from the request's Jira button (Pro and Team), or paste the request's link into your tracker.
- When the expected behaviour is unclear, write the question in the request's docs and ask the developer to answer there. The answer stays with the request.
A checklist for "ready for QA"
- [ ] Happy-path request with a real example body
- [ ] One request per documented error
- [ ] Docs on each request: what it does, side effects
- [ ] One test per request
- [ ] All variables exist in Staging
- [ ] The folder passes when run on Staging
Put it in your ticket template. It turns "ready for QA" into something both sides can check.