Dear All, Many thanks for replies. Sorry for my unclear description. Let me describe my test scenario in more detail.
I generated 10,000 requests based on Zipf-like distribution which has been frequently used to model Web workloads. The 10,000 requests are distributed over an interval of 200 seconds. Then, I randomly assigned the requests to 100 clients. Each client may have around 100 requests, but not all clients have 100 requests exactly. A client may issue a request or not in each second. I stored the sequence of requests into a trace file. Each line of the file consists of three fields: the first is the time at which the request should be issued, the second is the client which issues the request, and the last is the requested URL. I can generate separate trace files for clients. I assume that all the requests are for static Web objects (i.e., simple HTML pages). I want to use JMeter to perform the test according to the trace file. I plan to generate 100 threads for the 100 clients. Thread i will generates requests issued by client i according to the trace file. Therefore, the interval between requests is not constant. All requests are generated based on the trace file. My question is whether JMeter can generate requests according to a trace file. If so, how to do it? Thanks for any replies. -- Best Regards, Zheng Jian-Ming a.k.a. zjm On Sun, Sep 25, 2011 at 12:37 AM, Oliver Lloyd <oliver_ll...@hotmail.com> wrote: > 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 specific, or can you just pick any url? > Are the times when requests need to be sent constant or did you just list > 1s, 2s, 3s... to keep it simple? > What would the trace file look like, what data would there be and what would > the format be? > > But why would you need all this? Just a thought. You might find there is a > better way to solve the original problem / requirement without the need to > get messy. Ultimately, if your aim is to run a load/performance test against > some site then I suspect you are over-complicating things - the best > approach is typically to keep things simple. But if you do have a specific > requirement then, like I say, most likely this is very possible, you just > need to be more specific. > > Finally, is this an attempt to deal with concurrent requests or some sort of > Ajax business? > > ----- > http://www.http503.com/ > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Generate-requests-at-specified-time-tp4836359p4836897.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org