How to send dynamic URL parameter with JMeter

rupali picture rupali · Mar 1, 2011 · Viewed 21.6k times · Source

I want to send URL (PATH) as /controller_1/1/ /controller_2/2/start

But the parameter #2 of controller_2 is dynamic.

How to send that parameter?

Answer

BlackGaff picture BlackGaff · Apr 26, 2011

make the parameter a variable: /controller_2/${controller2_parameter}/start

Then you define the value of ${controller2_parameter} wherever and however appropriate: a CSV dataset config, using a regular expression extractor to scrape from a webpage, etc.