Re: Response code: 302

2008-08-22 Thread Andrey Beznogov
Hi, This might happen if the sampler is redirected to the URL with another server. Quoting the manual N.B. when using Automatic Redirection, cookies are only sent for the initial URL. This can cause unexpected behaviour for web-sites that redirect to a local server. E.g. if www.example.com

Retrieves command-line properties

2008-08-22 Thread Cédric Tabin
Hello, I just see that it is possible to add JMeter properties with command line like : *./jmeter.sh -J myVariable=myValue* I try to list the properties using the following code : *Properties p = JMeterUtils.getJMeterProperties(); p.list(System.out);* but 'myVariable' isn't listed

Re: Retrieves command-line properties

2008-08-22 Thread Cédric Tabin
Re, oops, it works perfectly :) I just forgot to send the parameters into my shell-script file... Sorry for the spam :( Regards, Cedric Tabin On Fri, Aug 22, 2008 at 12:00 PM, Cédric Tabin [EMAIL PROTECTED]wrote: Hello, I just see that it is possible to add JMeter properties with command

RE: Number of User Settings for Remote Testing

2008-08-22 Thread Fitzpatrick, Adrian
Hi, Yes you are correct, it would be 20 in your example - in general its N x number of threads in JMX file, where N is number of remote machines. Where I've found this really annoying is if you want do ramp up over time. Say you have 50 threads in the JMX and 10 machines, and you wanted to

regarding view state

2008-08-22 Thread Bhagwan Sahai
Hi, I am new to jmeter. I recorded a script using jmeter. My application maintains a view state for each login dynamically. How can extract view state information and use thet information into other steps? Please do help me. Warm Regards, Bhagwan Sahai |Sr.QA.Engineer, Group of BPM

Re: regarding view state

2008-08-22 Thread Andrey Beznogov
Hi, your question does not make much sense. What kind of application are you talking about? Is it a web application? Never mind on how it works server side, how does it look from client side? It probably uses some session cookies, right? Did you include the HTTP Cookie Manager in your test plan?

RE: regarding view state

2008-08-22 Thread Jose Pablo Sarco
Hi, You can extract view state information with the regular expresion extractor. Like this: Reference Name:jsViewState Regular Expression: input type=hidden name=com.sun.faces.VIEW id=com.sun.faces.VIEW value=(.+?) / Template: $1$ Match No: 0 This post processor extract the View created

Re: Counter within a loop

2008-08-22 Thread Nadav Samet
I have tried this against both 2.3.2 and trunk. I have attached a minimal example in which this problem occurs. I've discovered that if I add an additional file to the sampler, then the counter will work right on the second file, but is frozen on the initial value for the first file. Perhaps this

Session ID changes for a POST request

2008-08-22 Thread Chris Hall
Hi all, I've been getting problems with Session ID's. I've added a HTTP cookie manager, which seems to have resolved most of my problems, but [EMAIL PROTECTED] come across an instance where the session ID is not being passed correctly to the URL. ie GET request #1: GET

Re: Session ID changes for a POST request

2008-08-22 Thread Andrey Beznogov
Hi, please check the HTTP Request Sampler which generates the POST request . If its Path is set to /gate.do;jsessionid=927141B2B85E34E8F586B1FEC7CED71C?action=index, then thats where the problem is. I am not sure if it will work, but try changing it to /gate.do?action=index. Regards, Andrey

RE: Response code: 302

2008-08-22 Thread Jose Pablo Sarco
I can't remove the Response code 302...but I can complete the path that I testing. I need to know what you people think about the reliability of the results that I can obtain without removing the Response code 302? Regards, Jose -Original Message- From: Andrey Beznogov

Re: Response code: 302

2008-08-22 Thread Ronan Klyne
Jose Pablo Sarco wrote: I can't remove the Response code 302...but I can complete the path that I testing. I need to know what you people think about the reliability of the results that I can obtain without removing the Response code 302? A response code 302 means that a redirect is

While loop controller question

2008-08-22 Thread mark . cote
Hello all, I am writing a testing scenario for a complex banking app, using jmeter of course. So far I manage to log on and navigate through the app with no problems. However, at some point I have a temporary page which is displayed while a mainframe transaction is being performed. This

RE: Session ID changes for a POST request

2008-08-22 Thread Fitzpatrick, Adrian
Hi, It looks to me that you may have recorded the JSESSIONID 92714... into the script when you originally created the script, so thats why its being sent with every request. If you can remove this jsession portion of the URL from you HTTP sampler, the correct JSESSION which is being included

Re: Session ID changes for a POST request

2008-08-22 Thread Himanshu Ghai
Slightly off topic but It doesn't seem to be secure to send an authentication session cookie in a url...any thoughts on this?(its okay for tests though) Himanshu On Fri, Aug 22, 2008 at 11:09 AM, Fitzpatrick, Adrian [EMAIL PROTECTED] wrote: Hi, It looks to me that you may have recorded the