---
title: "Discussion on \"Stop Testing Your API With the Same Perfect Request\" | Hashnode"
description: "Discussion on \"Stop Testing Your API With the Same Perfect Request\". Your favorite saved request probably exercises the easiest path. Change one input at a time to find the assumptions hiding behind a green Send button."
url: "https://hashnode.com/posts/stop-testing-api-perfect-request/6aca07529432bb64edafc7fa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop Testing Your API With the Same Perfect Request](https://blogs.powerduck.com/stop-testing-api-perfect-request?utm_source=hashnode&utm_medium=feed)

Your favorite saved request probably exercises the easiest path. Change one input at a time to find the assumptions hiding behind a green Send button.

Oct 9 · 4 min read · blogs.powerduck.com  
Read the article

-   [#api-testing](https://hashnode.com/tag/api-testing)
-   [#developer-experience](https://hashnode.com/tag/developer-experience)
-   [#openapi](https://hashnode.com/tag/openapi)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses 1

Markdown supported · ⌘↵ to post

[RequestFox](https://hashnode.com/@requestfox)

[Nov 7](https://hashnode.com/posts/stop-testing-api-perfect-request/6aca07529432bb64edafc7fa/comment/6aef58802eff1eded6a1705d)

The one-change-at-a-time rule is the part most people skip. Two variations I'd add to that matrix: send an extra field the contract doesn't know about (does the service ignore it, reject it, or quietly store it?), and use an expired token as its own case, separate from no token at all. Both often come back as 401, but the client should refresh in one case and send the user to sign in in the other, so it helps when the response says which it was. RFC 6750 has error="invalid\_token" in the WWW-Authenticate header for exactly this.
