Rose
5 years agoNew Contributor
ReadyAPI as a client of server sent events
Hello, I need to use ReadyAPI as a client of server sent events. Indeed, after sending a request I need to listen to event data (as a result of my request) and retrieve event data sent on SSE. ...
- 5 years ago
Hello,
The proposed approach does not work.
I have addressed my question to smartbear customer service and they have provided me a solution.
ReadyAPI (sopaui pro) doesn't support the SSE technology but we can implement the SSE logic inside a Groovy Script test step.
To do that, we can use any Java library that supports SSE. Here is an example:
https://golb.hplar.ch/2018/02/Access-Server-Sent-Events-from-Java.htmlIt works now 🙂