RockyCool
RockyCool

Reputation: 1

Response time for websockets using Jmeter

I am using Jmeter for performance testing of my application. I am testing the websocket component and for that I am using plugins (Peter Doornbosch and Maceij Zaleski)

I am getting proper response back from websocket but I am stuck in finding out the response time of websocket component. I am using the listener 'View result tree' and it gives me back 'Load Time' but the value of this field varies with response timeout.

For ex : If I give response timeout as 1000 ms , the result comes like (1000 + few ms )

If I give response timeout as 500 ms , the result comes like (500 + few ms)

Please let me know if there is any way to find out the accurate response time.

enter image description here

enter image description here

enter image description here

Upvotes: 0

Views: 860

Answers (1)

Dmitri T
Dmitri T

Reputation: 168147

From what I see from the screenshots:

  1. You're using the plugin from Maceij Zaleski
  2. It reads from the stream for the specified amount of time

If you're interested in getting the timings for reading a single message - I would suggest switching to WebSocket Single Read Sampler from Peter Doornbosch

enter image description here

More information:

Upvotes: 0

Related Questions