-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Server Sent Events (SSE) are quite ubiquitous nowadays but I cannot really test them with Karate when the response of a call is an SSE response.
sequenceDiagram
client->>server: GET /notifications
server-->>client: 200 OK + SSE stream payload
server-->>client: SSE stream payload
So in order to test I would need either:
- A way to create assertions of the stream (stream contains data)
- A way to wait cancel the stream and transform the capture in JSON and then perform the assertion
Metadata
Metadata
Assignees
Labels
No labels