---
title: "Discussion on \"When the Mock Is Right and the API Isn't Anymore\" | Hashnode"
description: "Discussion on \"When the Mock Is Right and the API Isn't Anymore\". A test suite built against a mock API passed every run for months. The real endpoint's response contract had changed in that time, but the mock hadn't, and nothing caught it because the tests only eve"
url: "https://hashnode.com/posts/when-the-mock-is-right-and-the-api-isn-t-anymore/6a64ef49f585b3a6a4c57e8d"
---

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

Discussion

# [When the Mock Is Right and the API Isn't Anymore](https://jeffthoensen.hashnode.dev/when-the-mock-is-right-and-the-api-isn-t-anymore?utm_source=hashnode&utm_medium=feed)

A test suite built against a mock API passed every run for months. The real endpoint's response contract had changed in that time, but the mock hadn't, and nothing caught it because the tests only eve

Jul 25 · 2 min read · jeffthoensen.hashnode.dev  
Read the article

-   [#testing](https://hashnode.com/tag/testing)
-   [#api](https://hashnode.com/tag/api)
-   [#mocking](https://hashnode.com/tag/mocking)

## Written by

[Jeff Thoensen](https://hashnode.com/@jeffthoensen)

@jeffthoensen · Atlanta, GA

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

QA Engineer focused on users, not just test cases

I’m a QA engineer with a background in customer support, which gave me a strong sense for how bugs impact real users. I spend most of my time doing exploratory testing, working closely with developers, and building out automation with Playwright. I care about catching what actually matters, not just passing checklists.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
