---
title: "Discussion on \"How to test Server-Sent Events endpoints: curl, Postman, and spec-driven SSE testing\" | Hashnode"
description: "Discussion on \"How to test Server-Sent Events endpoints: curl, Postman, and spec-driven SSE testing\". SSE looks like HTTP until you try to test it: the connection stays open, events have names and ids, heartbeats hide disconnects, and ordinary API clients hang. Here is how to test streams with curl, what Postman does and does not do, and how to make SSE scenarios repeatable from"
url: "https://hashnode.com/posts/how-to-test-sse-server-sent-events/6aca07b9699990d79ccdd85f"
---

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

Discussion

# [How to test Server-Sent Events endpoints: curl, Postman, and spec-driven SSE testing](https://blogs.powerduck.com/how-to-test-sse-server-sent-events?utm_source=hashnode&utm_medium=feed)

SSE looks like HTTP until you try to test it: the connection stays open, events have names and ids, heartbeats hide disconnects, and ordinary API clients hang. Here is how to test streams with curl, what Postman does and does not do, and how to make SSE scenarios repeatable from

Aug 24 · 5 min read · blogs.powerduck.com  
Read the article

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

## Written by

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

@powerduck · hon

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
