Contributions
Re: ReadyAPI as a client of server sent events
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.html It works now 🙂4 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.4KViews1like2CommentsRe: ReadyAPI as a client of server sent events
Thanks for your response. I testing an API using SSE channel to send messages. Manually I test data events sent on SSE with curl client this way: curl -N -H "Accept: text/event-stream" https://localhost:8080/request/listen I need to do the same test with ReadyAPI. (listening and tracking “event-stream” sent by the server after the request has been submitted) I have noticed that there's an event handler in ReadyAPi but I'm not sure if it can help. I'm quite blocked to automate this part with Ready API Thanks a lot5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes5CommentsReadyAPI 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. I'm using ReadyAPi pro version Thanks a lot for your helpSolved5 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.5KViews0likes8Comments