can we parameterize the HTTP Sampler method in Jmeter ? I am using Jmeter 2.13.
I tried the solution remomended here but no luck.
How to parameterize http methods in Jmeter using CSV data config?
Thanks in advance.
Regards, Hari
Create a file, i.e. test.csv
with the following contents:
GET
POST
Add CSV Data Set Config and configure it like:
Add HTTP Request sampler and set "Method" to ${METHOD}
That's it, when you run your test each iteration it will use the next line from the test.csv
file
Also be aware that according to JMeter Best Practices you should always be using the most recent JMeter version so consider upgrading to JMeter 4.0 (or whatever version is available at JMeter downloads page) as soon as possible