Hi,
I am running a small load test using websockets. I have a group with separate requests inside. In the results generated, the response time for each separate request in the group is visible while the accumulated response time is being set to 0.
Following is part of the code:
.group(“UserConnecting”){
exec(ws(“OpenConnection”).open("/uname=${currentUser}")wsAwait.within(30)).exitHereIfFailed
.exec(ws(“GetInitialPresenceCount”)
.sendText("""{“messageType”: “getInitialPresenceCount”, “username”: “${currentUser}”}""")
.check(wsAwait.within(30).until(1).regex("""{.“messageType”:“connectionStarted”.}""")
))
.exec(ws(“TellOthersImOnline”)
.sendText("""{“messageType”: “tellOthersImOnline”, “username”: “${currentUser}”}""")
.check(wsAwait.within(30).until(1).regex("""{.“messageType”:“presenceCountIncrement”,“username”:"${currentUser}".}""")
))
}.pause(360)
.exec(ws(“BeforeClosing”)
The graphs generated for the cumulated response time is as follows:
Then if I go to one of the requests which are part of the group response time is not 0 (For example the following shows the result for the open connection request).
Can you please tell me what is wrong? Thank you.
Jamie Tabone