rupali
rupali

Reputation: 131

How to send dynamic URL parameter with JMeter

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?

Upvotes: 13

Views: 26032

Answers (1)

BlackGaff
BlackGaff

Reputation: 7707

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.

Upvotes: 11

Related Questions