Using Properties in JMeter Random Timer -


i'm trying figure out how can use properties set delays before request set in jmeter. had suite setup uniform random timer's , hard-coded values in "random delay maximum" , "constant delay offset" fields, worked great. example:

<uniformrandomtimer guiclass="uniformrandomtimergui" testclass="uniformrandomtimer" testname="uniform random timer" enabled="true">         <stringprop name="randomtimer.range">9879</stringprop>         <stringprop name="constanttimer.delay">3456</stringprop>       </uniformrandomtimer> 

but i've replaced hard-coded values properties this:

<uniformrandomtimer guiclass="uniformrandomtimergui" testclass="uniformrandomtimer" testname="uniform random timer" enabled="true">         <stringprop name="randomtimer.range">${__p(getrandomintakeoffset)}</stringprop>         <stringprop name="constanttimer.delay">${__p(getrandomintakerange)}</stringprop>       </uniformrandomtimer> 

i've verified property set printing in console. have verified integer , not string property. however, timer no longer works. there no longer delay before request.

has got working , have suggestions? or alternative ways same result.

thank-you,

gerry


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -