0
votes

I have a "Thread Group" which has 10 "HTTP Requests". I want to execute any one of them in each thread randomly,

Tag Image
Tag Image
Tag Image
Tag Image
Tag Image
Tag Image
Tag Image
Tag Image
Tag Image
Tag Image

I have these 10 requests, each of them containing different image tags in body.

As I want to add different tags randomly to my images, I want my JMeter script to run any of those request single time in each thread. Is it possible with JMeter? and How?

1

1 Answers

0
votes

If this is something you really want (I doubt that the scenario is valid cause I believe that tests needs to be repeatable) - you can put your Samplers which are adding tags under the Random Controller

enter image description here

Going forward I don't think having 10 requests which are adding different tags is a good idea, I think a single request would be sufficient and externalized using the Module Controller and the tags could be parameterized using i.e. CSV Data Set Config