You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ohaya <oh...@yahoo.com.INVALID> on 2022/07/18 23:33:54 UTC
Is it possible to set the HTTP request name dynamically from a CSV file?
In my test plan I use a CSV Data Set Config and then I have an http request step NAME that is sending out a body that is from the CSV Data Set Config.
However, I would like to have the HTTP request NAME set from the CSV Data Set Config.
IN other words, suppose my CSV file (which is set with Delimiter @) looks like:
<request>....</request>@test type A
<request>....</request>@test type B
etc.
I would like the tests in the Test Results show "test type A" when that test is run and then "test type B".
I tried setting the http name to ${requestType} but it is showing the literal ${requestType} instead the var value.
Thanks,
Jim
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: Is it possible to set the HTTP request name dynamically from a CSV file?
Posted by ohaya <oh...@yahoo.com.INVALID>.
Hi,
I was able to get this working. I had messed up the configuration for the CSV Data Set Config earlier, but once I got that configured correctly, the HTTP request names are appearing dynamically!!
On Monday, July 18, 2022, 07:34:03 PM EDT, ohaya <oh...@yahoo.com> wrote:
In my test plan I use a CSV Data Set Config and then I have an http request step NAME that is sending out a body that is from the CSV Data Set Config.
However, I would like to have the HTTP request NAME set from the CSV Data Set Config.
IN other words, suppose my CSV file (which is set with Delimiter @) looks like:
<request>....</request>@test type A
<request>....</request>@test type B
etc.
I would like the tests in the Test Results show "test type A" when that test is run and then "test type B".
I tried setting the http name to ${requestType} but it is showing the literal ${requestType} instead the var value.
Thanks,
Jim