Hi,
I have the following script:
val httpProtocol = http
.baseURL(“http://chatappserver.cloudapp.net:4000”)
.wsBaseURL(“ws://chatappserver.cloudapp.net:8080”)
val startTime = System.currentTimeMillis
val proposedEndTime = System.currentTimeMillis + (10601000)
val scn = scenario(“ConnectingToChatServer”)
.exec(session => session.set(“proposedEndTime”, proposedEndTime))
.exec(session => session.set(“currentUser”, “SampleUser” + userCount.getAndIncrement))
.group(“UserConnecting”){
exec(ws(“OpenConnection”).open("/uname=${currentUser}")
.check(wsAwait.within(30).until(1).regex("""{.“messageType”:“presenceCountIncrement”,“username”:"${currentUser}".}"""))).exitHereIfFailed
}
//remain connected
.asLongAs(session => proposedEndTime > System.currentTimeMillis) {
pause(1)
}
So I am finding problems interpreting the results. Which graph shows me the time it takes for the user to connect and receive the message in the regex? I mean the response time chart in index.html shows that the response time never exceeds approx 400 ms however the charts in the UserConnecting section (Duration) shows completely other values.
Can you please help me interpreting this? Attached please find the result.
Thank you.
Jamie
Result.zip (386 KB)