RE: Load Testing with Variable Request Path
I got that working. Thanks for your help -- View this message in context: http://jmeter.512774.n5.nabble.com/Load-Testing-with-Variable-Request-Path-tp4786122p4791126.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
Re: Load Testing with Variable Request Path
Thanks Nerman and Deepak for your suggestions. I am going to try those. I am going to use this as a test harness to do performance tuning for my application. I am planning to use this to baseline the current application performance and then compare all future releases against this baseline. I am planning to run the test for multiple concurrent users. The site does not have any session state as of now. So I am not worried about that. Thanks, Pawinder -- View this message in context: http://jmeter.512774.n5.nabble.com/Load-Testing-with-Variable-Request-Path-tp4786122p4789398.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
Re: Load Testing with Variable Request Path
One of the thing you should be careful about is why are you running this test ? (yes you can read from file as described by nermin). If these are independent requests - and your purpose is to check 404 or something similar then there are no issues. However if your goal is something like I have an access log and I want to replay all the requests to simulate real world load then the approach probably wont work - because there are missing factors that you should consider like a. concurrency and b. session state regards deepak On Fri, Sep 9, 2011 at 5:17 AM, pawinder wrote: > Hi, > I have a scenario where I need to load test a website that has over 5000 > pages. One option is that I create 5000+ http request samplers. It will be > too time consuming to create and maintain so many requests. I was wondering > if jmeter can read the URL for request from a text file. So that I could > keep URLs to all the web pages in a text file and jmeter reads from the > text > file and fires http requests. > > Any suggestions are most welcome. > > Thanks, > Pawinder > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Load-Testing-with-Variable-Request-Path-tp4786122p4786122.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 > >
RE: Load Testing with Variable Request Path
Yes, JMeter can read URL from a text file, just use "CSV Data Set Config" (Config Element) and loop through it. You can setup a "single-column" csv where you put one URL per line. If necessary, you can add additional columns (sometimes I use "NAME,HOST" where I put ${NAME} as a Sampler Name and ${HOST} is URL, just for clarity, or you can use ${COUNTER} as a part of the Sampler Name so when you find an error you can easily go back and trace the line in your input file. This is used to collect all the failed records and to re-test them until everything is hopefully fixed) Nermin -Original Message- From: pawinder [mailto:pawinder_gu...@yahoo.com] Sent: 9. septembar 2011 14:17 To: jmeter-user@jakarta.apache.org Subject: Load Testing with Variable Request Path Hi, I have a scenario where I need to load test a website that has over 5000 pages. One option is that I create 5000+ http request samplers. It will be too time consuming to create and maintain so many requests. I was wondering if jmeter can read the URL for request from a text file. So that I could keep URLs to all the web pages in a text file and jmeter reads from the text file and fires http requests. Any suggestions are most welcome. Thanks, Pawinder -- View this message in context: http://jmeter.512774.n5.nabble.com/Load-Testing-with-Variable-Request-Path-t p4786122p4786122.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
Load Testing with Variable Request Path
Hi, I have a scenario where I need to load test a website that has over 5000 pages. One option is that I create 5000+ http request samplers. It will be too time consuming to create and maintain so many requests. I was wondering if jmeter can read the URL for request from a text file. So that I could keep URLs to all the web pages in a text file and jmeter reads from the text file and fires http requests. Any suggestions are most welcome. Thanks, Pawinder -- View this message in context: http://jmeter.512774.n5.nabble.com/Load-Testing-with-Variable-Request-Path-tp4786122p4786122.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