how to parse same data from one request to other request in jmeter, which is generated by random function? -
in application, email id same & unique(for each thread) throughout application.
now have utilize random function generate email id on home page i.e. "${__randomstring(5,abcd)}@test.com" so, can generate different email-id different threads. want utilize same email id other pages. how can possible please suggest.
e.g. :- in home page utilize email id "abcde@test.com" (make sure email-id generated random function), want carries same id on myprofile page too.
you using 2 parameters of __randomstring function:
random string length chars utilize random string generationbut there one: name of variable in store result (optional)
if amend function follows:
${__randomstring(5,abcd,email)}@test.com
you able refer generated variable ${email}
or ${__v(email)}
. rather go __v
alternative it's you'll want add together __threadnum function in conjunction __randomstring bind variable current thread number.
see how utilize jmeter functions posts series more info on various jmeter functions , best utilize cases.
jmeter
No comments:
Post a Comment