Recording asynchronous request/response times

nmodin <[email protected]> Tue, 26 May 2015 00:16:21 -0700 (MST)
Newsgroups gmane.comp.java.grinder.user
Message-ID <[email protected]>
Hi all,

I need to record the time between requests and responses for a web socker
server I have and can't really figure out how to achieve this. I have a
small java client that does the sending and receiving of web socket
messages, so i can record the response time for individual messages as the
sub protocol has message ids embedded in the message body. 

Consider the following sequence (click link):
Async request/response sequence diagram
<http://www.websequencediagrams.com/cgi-bin/cdraw?lz=dGl0bGUgV1MgU2VxdWVuY2UKcGFydGljaXBhbnQgIkdyaW5kZXIgU2NyaXB0IiBhcyBnAA0GABoOV1MgQ2xpZW4AHQZjAAYFABERU2VydmVyAEAFcwAGBQoKbG9vcCAiQFRlc3QiCgBTBy0-ADoGOiBzZW5kTWVzc2FnZSgiAAIHOiAwMDEiKQoAXgYAIQt0b3JlQ3VycmVudFRpbWUoIjAwMQAdCgBrBgBNBlRleHQAOBgtPgCBWQc6IHJldHVybigpCmVuZApub3RlIG92ZXIAgVYHOiAKVGltZSBtZWFzc3VyZWQgaXMgdGhlIGFzeW5jIHRpbWUKYmV0d2VlbiBzZW50AG8FKSBhbmQgb24AgUwIKS4KZW5kIG5vdGUKAIIMBgCBcwkAGwoiMDAxOiByZXN1bHQAgRwMAIFLBwCBHQkAggIPZmluZACBfxAAgiUSY2FsY0xhdGVuY3kAgkkJAIF5CHJlcG9ydFRQU1dpdGgAHQgK&s=modern-blue>  

Is there any way I can do something similar to this, I.e measure the latency
I get myself (in script or in Java helper) and report this explicitly to
grinder ?

Cheers,
Niklas



--
View this message in context: http://grinder.996249.n3.nabble.com/Recording-asynchronous-request-response-times-tp9078.html
Sent from the Grinder - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y