Re: Generate requests at specified time

2011-09-24 Thread Bruce Ide
I don't know if it's pertinent to the conversation, but this somewhat reminds me of a test I had to write a while back, where a web page would allow only 1 administrative login at a time. But it wouldn't tell you if you logged in a second time; by design if you logged in again the first login sessi

Re: Generate requests at specified time

2011-09-24 Thread Deepak Shetty
>youcan achieve what you described by creating several threads (say 5), each >containing an IF controller and your sampler But then you have to synchronize between threads. I.e. ensure 1 and 2 run at the same time and 5,6,7 run at the same time. Plus if you need to share the session you have to do

RE: Generate requests at specified time

2011-09-24 Thread Nermin CALUK
Hi zjm, I thought I'd have an elegant solution for you but that one doesn't seem to work. Alternatively, if max number of parallel requests is not too big, you can achieve what you described by creating several threads (say 5), each containing an IF controller and your sampler. Then you create a

Re: Generate requests at specified time

2011-09-24 Thread Deepak Shetty
you can delay requests within a thread by using some of the timers (for e.g. Constant Timer - where the input is a variable calculated as the time you want to delay - the time the last sample took). However since you also have multiple requests at the same time - thats not easy to do (unless these

Re: Generate requests at specified time

2011-09-24 Thread Oliver Lloyd
JMeter is very configurable, so I'm pretty sure you can achieve what you want but I'm still not exactly sure what it is you need. Do you actually need to use timestamps or is it ok to simply have delays? Can this be random or must the wait between requests be fixed? Are the groups of requests spe

Re: Generate requests at specified time

2011-09-24 Thread Jian-Ming Zheng
Hi, Thanks for the reply. I have used the Constant Throughput Timer to control the number of requests generated per minute. However, the function does not meet my need. Let me explain it in more detail :) For example, I have 10 requests for the testing Web server (i.e., requests 1, 2, …, 10). I

Re: Generate requests at specified time

2011-09-24 Thread Oliver Lloyd
Are you talking about pacing these requests? If so, try the http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer Constant Throughput Timer . - http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/Generate-reques

Generate requests at specified time

2011-09-24 Thread Jian-Ming Zheng
Dear All, As I know, I can store a sequence of HTTP requests into a CSV file. The JMeter can read the CSV file to generate requests by adding CSV Data Set Config element to the test plan. How to set the JMeter if I have a sequent of requests and want to generate the requests at specified time? Fo