---
title: "Discussion on \"Mocking Timeouts: When a Stub Never Returns and the Client Retries\" | Hashnode"
description: "Discussion on \"Mocking Timeouts: When a Stub Never Returns and the Client Retries\". How to stub a server that never responds so the client timeout, backoff, and idempotency path actually gets tested."
url: "https://hashnode.com/posts/mocking-timeout-no-response-client-retry/6ae969441665177da988d7b9"
---

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

Discussion

# [Mocking Timeouts: When a Stub Never Returns and the Client Retries](https://blogs.powerduck.com/mocking-timeout-no-response-client-retry?utm_source=hashnode&utm_medium=feed)

How to stub a server that never responds so the client timeout, backoff, and idempotency path actually gets tested.

Nov 3 · 6 min read · blogs.powerduck.com  
Read the article

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

## Written by

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

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
