0

I installed a websocket sampler (https://bitbucket.org/pjtr/jmeter-websocket-samplers/downloads/).

I am trying to figure out how do I send n (>1) messages using 1 websocket connection? I set Number of Threads to 1 and loop to 1. I have 2 samplers: open connection & single write sampler. If I change loop to greater than 1, then it opens new connections. Checking same user on every iteration did not solve the problem. I tried constant throughput timer as well but that also did not work.

1 Answer 1

0
  1. Either put open connection sampler under the Once Only Controller
  2. Or put your single write sampler under the Loop Controller and specify the desired number of iterations there

More information:

Not the answer you're looking for? Browse other questions tagged or ask your own question.