Quantcast

JMeter SignalR Issue "The connectionid is in the incorrect format"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

JMeter SignalR Issue "The connectionid is in the incorrect format"

chitta.ranjan
This post has NOT been accepted by the mailing list yet.
First Request: GET http://www.tempuswi2i.com/Webi2i/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22webclient_hub%22%7D%5D&_=1482394675822 Responce : {"Url":"/Webi2i/signalr","ConnectionToken":"4Peg4HZDqAROvlEjNipa/Y4RAsq+KIytXsrzXfYZ9Oi5LZ/4UMDkGZPQVIrZ8ARf6q2TTJ99r0ISfgM7XDVyMwCGMdbkH9q5tPbuuxBm0oDZJ89kQloe+CAlhOSE4eb8","ConnectionId":"9ce0b73f-6f79-48bb-8bf1-a50bd64fb3bf","KeepAliveTimeout":20.0,"DisconnectTimeout":10800.0,"ConnectionTimeout":10800.0,"TryWebSockets":true,"ProtocolVersion":"1.5","TransportConnectTimeout":5.0,"LongPollDelay":0.0} Extracted ${connectionToken} from responce & replace this in next samplers Second Request: POST http://www.tempuswi2i.com/Webi2i/signalr/connect?transport=longPolling&clientProtocol=1.5&connectionToken=4Peg4HZDqAROvlEjNipa/Y4RAsq+KIytXsrzXfYZ9Oi5LZ/4UMDkGZPQVIrZ8ARf6q2TTJ99r0ISfgM7XDVyMwCGMdbkH9q5tPbuuxBm0oDZJ89kQloe+CAlhOSE4eb8&connectionData=%5B%7B%22name%22%3A%22webclient_hub%22%7D%5D Responce Failed : The ConnectionId is in the incorrect format. (How to resolve this issue) Third Request: GET http://www.tempuswi2i.com/Webi2i/signalr/connect?transport=serverSentEvents&clientProtocol=1.5&connectionToken=4Peg4HZDqAROvlEjNipa%2FY4RAsq%2BKIytXsrzXfYZ9Oi5LZ%2F4UMDkGZPQVIrZ8ARf6q2TTJ99r0ISfgM7XDVyMwCGMdbkH9q5tPbuuxBm0oDZJ89kQloe%2BCAlhOSE4eb8&connectionData=%5B%7B%22name%22%3A%22webclient_hub%22%7D%5D&tid=4 This not closing automatically. on Manual stopping script exception observed java.net.SocketException: socket closed Please let me know what to modify in my JMeter script to to get the expected result.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JMeter SignalR Issue "The connectionid is in the incorrect format"

glinius@live.com
This post has NOT been accepted by the mailing list yet.
According to SignalR main page:

SignalR supports Web Sockets, and falls back to other compatible techniques for older browsers
So my expectation is that you need to consider switching to WebSocket Sampler  (it is available via JMeter Plugins Manager)

See WebSocket Testing With Apache JMeter for more details.
Loading...