jmeter to store responses in recording controller.

2011-03-25 Thread Vikas Malik
Hello, I am using jmeter for functional testing the website. I am trying to store the responses while recording the HTTP request traffic using HTTP proxy server, but there does not seem to be any option in jmeter to store responses. Basically I am trying to do the following. Please let me know

Using Beanshell sampler for wait

2011-03-25 Thread Ravindra Gupta
Hi All, Can I use beanshell sampler for wait using Thread.sleep(); ? Is there are any -ve impact if we run load test using it? I dont want to use Timer. Regards, Ravindra

Re: jmeter to store responses in recording controller.

2011-03-25 Thread dan
Thank you for your message. I will be unavailable until Tuesday March 29th. If you have any questions or need immediate attention please contact supp...@conceptual.ca or call 519.273.3377 I took the money and ran ;) Dan Heitbohmer

Re: jmeter to store responses in recording controller.

2011-03-25 Thread David Patrick
Hi Vikas, To record the responses, I think you have two options: (1) Capture them all in a Results Tree sampler. I think I would do this twice for one and two as you list below, then compare the output files or (2) Use Badboy (badboy.com.au) to record the transactions in record phase. Then,

Re: Using Beanshell sampler for wait

2011-03-25 Thread Jakub Białek
Hi, If you want to sleep the current thread you can use Java Request and SleepTest class and configure SleepTime. Best regards, Ragnor On 25 March 2011 07:11, Ravindra Gupta rav.gu...@gmail.com wrote: Hi All, Can I use beanshell sampler for wait using Thread.sleep(); ? Is there are any

Re: best place to put a constant throughput

2011-03-25 Thread David Patrick
Hi guys - another quick push of this question if I may. The target performance for our system is somewhere around 50 order journeys per minute with a load of 400 users, so am using 4 instances of JMeter (100 users each at 12 orders per minute) to simulate this. What I am being asked to show

RE: best place to put a constant throughput

2011-03-25 Thread Ragini Thakur
The timers are processed before each sampler in the scope in which they are found; looking at your test plan you can either put it under Thread group or Loop controller, as you have only one sampler under your thread group. But if you are going to add more samplers to thread group then put it

Re: jmeter to store responses in recording controller.

2011-03-25 Thread Vikas Malik
Hi David, Thanks for the response, (1) Capture them all in a Results Tree sampler. I think I would do this twice for one and two as you list below, then compare the output files I have many requests(test cases) in my automated test suite. At the end of test-run, I want to get a list of failed

RE: best place to put a constant throughput

2011-03-25 Thread Ragini Thakur
Sorry My bad. You have 3 samplers under Loop controller. So if you only want to control throughput of Place order add the timer as child. Note that the timer will be applied before the sampler is executed. Regards, Ragini Thakur, System Analyst Phone(O):+91-20-66041700 Ext. 6479

Re: RE: best place to put a constant throughput

2011-03-25 Thread david.m1fcf
many thanks - worked exactly as described!On 25 Mar, 2011,at 07:47 AM, Ragini Thakur ragi...@cybage.com wrote:Sorry My bad. You have 3 samplers under Loop controller. So if you only want to control throughput of Place order add the timer as child. Note that the timer will be applied before the

Re: Using Beanshell sampler for wait

2011-03-25 Thread sebb
On 25 March 2011 06:11, Ravindra Gupta rav.gu...@gmail.com wrote: Hi All, Can I use beanshell sampler for wait using Thread.sleep(); ? Is there are any -ve impact if we run load test using it? Yes, it will generate a Sample for each wait. I dont want to use Timer. Why not? Regards,

Re: jmeter to store responses in recording controller.

2011-03-25 Thread sebb
On 25 March 2011 07:32, Vikas Malik vikas.ma...@shop2020.in wrote: Hi David, Thanks for the response, (1) Capture them all in a Results Tree sampler. I think I would do this twice for one and two as you list below, then compare the output files I have many requests(test cases) in my

running JMeter non-GUI from a .bat file

2011-03-25 Thread Cor-Paul Bezemer
Hi, I am trying to run JMeter from within a .bat file so that I can automatically do some other things like start/close a proxy server. The problem is that when JMeter exists, the complete .bat file seems to exist (as if JMeter takes over control). Any suggestions on how to fix this? My

Re: running JMeter non-GUI from a .bat file

2011-03-25 Thread sebb
On 25 March 2011 12:06, Cor-Paul Bezemer c.beze...@tudelft.nl wrote: Hi, I am trying to run JMeter from within a .bat file so that I can automatically do some other things like start/close a proxy server. The problem is that when JMeter exists, the complete .bat file seems to exist (as if

Re: jmeter to store responses in recording controller.

2011-03-25 Thread Vikas Malik
Have you looked at the documentation, particularly the component reference? 1. Yes Sebb, I have seen save response to file and tried it. The thing is, we can not use it to store the response while we are manually playing through proxy and recording. Proxy should be able to capture response also

Re: Using Beanshell sampler for wait

2011-03-25 Thread Ravindra Gupta
Hi Sebb, Apart from generating a sample for each wait, is there are any other issue. I have read in one of the thread that Beanshell sampler is associated with memory leak. Is that bug is resolved? The reason for not choosing timer - I am using Transaction controller. even if I put timer above

Re: jmeter to store responses in recording controller.

2011-03-25 Thread sebb
On 25 March 2011 12:33, Vikas Malik vikas.ma...@shop2020.in wrote: Have you looked at the documentation, particularly the component reference? 1. Yes Sebb, I have seen save response to file and tried it. The thing is, we can not use it to store the response while we are manually playing

Re: Using Beanshell sampler for wait

2011-03-25 Thread sebb
On 25 March 2011 12:35, Ravindra Gupta rav.gu...@gmail.com wrote: Hi Sebb, Apart from generating a sample for each wait, is there are any other issue. I have read in one of the thread that Beanshell sampler is associated with memory leak. Is that bug is resolved? The reason for not choosing

RE: running JMeter non-GUI from a .bat file

2011-03-25 Thread Cor-Paul Bezemer
Thanks, that indeed did the trick! -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: vrijdag 25 maart 2011 13:10 To: JMeter Users List Subject: Re: running JMeter non-GUI from a .bat file On 25 March 2011 12:06, Cor-Paul Bezemer c.beze...@tudelft.nl wrote: Hi, I am trying

Re: jmeter to store responses in recording controller.

2011-03-25 Thread Deepak Shetty
2. Re-run the recorded HTTP requests in testing phase and compare the responses we get now against the samples stored in step 1. Such an approach is not feasible in my opinion - You are basically stating that your website has no dynamic data at all (in which case is it static?) as well as that

Trouble with JMeter proxy on file upload, work around seems to fail

2011-03-25 Thread jarboejo
Hello all, I'm using JMeter's proxy feature to record scenarios that I plan to use to run stress against our web service later. This requires me to upload a file. As the JMeter documentation predicts, the browser isn't sending the full path and file name to the server and JMeter is getting

Re: Trouble with JMeter proxy on file upload, work around seems to fail

2011-03-25 Thread sebb
On 25 March 2011 23:17, jarboejo jarbo...@gmail.com wrote: Hello all, I'm using JMeter's proxy feature to record scenarios that I plan to use to run stress against our web service later.  This requires me to upload a file.  As the JMeter documentation predicts, the browser isn't sending the

Re: Trouble with JMeter proxy on file upload, work around seems to fail

2011-03-25 Thread David Patrick
As Sebb suggests, do you have the right path for the file? I presume you are passing the file name as a Post parameter to a web request and using a variable in JMeter to define that path and filename? (e.g. Upload.HTML?file=${fileVar} ) Checking the details here would be my first port of