Reputation: 767
I'm working on Android application and we use okhttp3 to open websocket connection to our backend. There are 2 main websocket:
The problem is I cannot simulate subscribe flow in JMeter and Postman. The flow in Android is
Then I create test plan as follows:
I was running my Android application at the same time as I running JMeter, Android got the broadcast message but JMeter did not get any message.
How can I make this works?
Upvotes: 0
Views: 39
Reputation: 2857
In its current form the question cannot be comprehensively answered so I can only give you a generic hint: given you send the same request you should be getting the same response.
Pay attention to literally everything, URL query string, headers, payload which can contain non-printing characters
It also worth enabling JMeter debug logging for the plugin by adding the next line to log4j2.xml file:
<Logger name="eu.luminis" level="debug" />
and checking server-side logs for any suspicious entries.
Upvotes: 0