You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ZK <st...@gmail.com> on 2014/03/17 10:41:05 UTC

Re: JMeter with HTTP REST - Possible to send a unique value within my XML file for each test?

Hi,
you should take a look at the  CSV Data Set Config
<http://jmeter.apache.org/usermanual/component_reference.html#CSV_Data_Set_Config>  

It will let you have an external file with differing values which can be
read and inserted into you requests

Here's an example on how to use:
http://ivetetecedor.com/how-to-use-a-csv-file-with-jmeter/


ZK



--
View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-with-HTTP-REST-Possible-to-send-a-unique-value-within-my-XML-file-for-each-test-tp5719604p5719605.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: JMeter with HTTP REST - Possible to send a unique value within my XML file for each test?

Posted by ZK <st...@gmail.com>.
Hi,
that couls easily be achieved using a Counter config element:
http://jmeter.apache.org/usermanual/component_reference.html#Counter
<http://jmeter.apache.org/usermanual/component_reference.html#Counter>  

So if the counter 'Reference Name' = myCounter

<FamilyName>Jones${myCounter}</FamilyName>


Or you could use a random number:

<FamilyName>Jones${__Random(1,9999999999)}</FamilyName>


ZK






--
View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-with-HTTP-REST-Possible-to-send-a-unique-value-within-my-XML-file-for-each-test-tp5719604p5719608.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org