Format of request data in request-response sampler

Issue #187 new
Former user created an issue

Hi Peter,

Fairly new to the mystery of Websockets and just had a question re the request-response sampler.

I am trying to recreate the following request in JMeter (lifted from Browser debug)

Request URL: wss://<redacted>/signalr/connect?transport=webSockets&clientProtocol=1.5&signalrToken=0391ed1f-0f45-4602-b5ae-c28ad6806f28&connectionToken=C7P3rNwRaxnY%2BgLKQGpJ8UK6TJXXmX3hOf%2BtvoKuq%2BciVG0MpWGMkI1mzlBkXUqX6S3la1%2BRX3eB3r2fK48Hi%2Br338seR2dXyH74xsS5Q0HXdiaykOhGxKdW4aQqLKcsfOb%2FjXnsuBAPoTi0YzAdLA%3D%3D&connectionData=%5B%7B%22name%22%3A%22masterhub%22%7D%5D&tid=8

When setting this up using the request-response sampler I can see that the wss://<redacted>/signalr/connect is sent ok but nothing I put in the request data field is sent. Just wanted to check if this has to be JSON format or can mimic the name/value pair format of the original request?

KR Ian