Do we have a sampler like this?

Issue #83 closed
Former user created an issue

Hi Peter and all,

I have a large websocket response data are containing in 29 Read Samplers. If the response data is unchanged, the script is always passed. But if the response data is changed due to some reason, the result is failed because the response assertion is not matched with any response data of read samplers above so my question is that there is any sampler or way to contain all response data in one single sampler instead of 29 samplers as I am doing that is not flexible at all?

Thank you, Thao

Comments (2)

  1. Peter Doornbosch repo owner

    Hi Thao,

    No, there isn't. The flexibility you need is provided by JMeter's controllers, e.g. "If Controller", "While Controller" etc. In combination with JMeter variable's you can create the most flexible test scripts you can think of.

    Regards Peter

  2. Log in to comment