Re: Passing variables to Random function

2018-08-21 Thread Deepak Shetty
${__Random(0,${numFiles},docIndex)} should work Where are you specifying this ? Note special considerations apply if you are trying this within for e.g. a beanshell sampler On Tue, Aug 21, 2018 at 12:32 PM David Fertig wrote: > I have a variable called numFiles, which I can print and verify

Passing variables to Random function

2018-08-21 Thread David Fertig
I have a variable called numFiles, which I can print and verify contains an integer. Integer numFiles = vars.getObject("numFiles"); I want to make a random number between 0 and that value. But all of the following fail ${__Random(0,__ ${numFiles},docIndex)}; Integer docIndex =

Re: jmeter command stuck - FTP testing

2018-08-21 Thread Vijay Raje
I have configured 30 sec timeout value in jmx file. So it should reject automatically. But still getting stuck and not every time. Some time it's working without any issue. Thanks Vijay Raje On Mon, Aug 20, 2018, 11:11 PM Deepak Shetty wrote: > Hi > > but while running from 15 Linux servers

Dynamic Value handling Run Time

2018-08-21 Thread Prateek Dua
Hi, I'm facing problem in recording a web page where a dynamic value while submitting login request ( Post request) is getting passed along with login id & password. Then I used Post Processor ->Regular expression extractor under that http request to capture that dynamic value & pass it to same