Problems with While Controller

2005-10-19 Thread ravi kumar
hi please find the attaches JMX file.According to script,my URl needs to be executed 3 times.But it is executing for 4 times.Am I doing anything wrong.If not what can i do solve this issue.I am using JMeter2.1.I tried it in JMeter2.1.1 also. thanks Ravi Yahoo! India Matrimony: Find

Re: Assertion to compare two numbers

2005-10-19 Thread sebb
The If Controller assumes JavaScript - do not enclose the condition in the __Javascript() function. Anyway, would it not be enough to put the following? ${include_tax_price} = ${exclude_tax_price} == Or you could make your own assertion based on the Size Assertion. S. On 19/10/05, Sonam

Converting HTTPSampler to HTTPSampler2

2005-10-19 Thread Nop Lists
Hello, because of problems in a load test involving HTTPS I want to convert all my HTTPSampler-components to HTTPSampler2-components. What is the quickest and most safety way to do this? I converted with a text editor all HTTPSampler to HTTPSampler2 and HttpTestSampleGui to HttpTestSampleGui2 but

Re: ThreadGroup Number of Threads

2005-10-19 Thread sebb
Might be easier to extend AbstractSampler. S. On 18/10/05, Subu Bhagavati [EMAIL PROTECTED] wrote: Hi, I am trying to use JMeter to load test. I had to write a JavaSampler as a part of this. I have extended AbstractJavaSamplerClient. The problem I am facing is this. I would like to know the

Re: Converting HTTPSampler to HTTPSampler2

2005-10-19 Thread sebb
Perhaps you've converted too many strings. For example: httpsampler2.basicauth=false does not look right. S. On 19/10/05, Nop Lists [EMAIL PROTECTED] wrote: Hello, because of problems in a load test involving HTTPS I want to convert all my HTTPSampler-components to HTTPSampler2-components.

Re: Converting HTTPSampler to HTTPSampler2

2005-10-19 Thread Nop Lists
Yes, probably. And this is exactly the problem - how do I know what to convert and what not? Has anybody done such a convertion before? Changing manually each and every sampler is really a awkward... If I knew WHERE JMeter has problems loading the jmx-file I could deconvert the disturbing

Re: Using SimpleDateFormat in CSV output format

2005-10-19 Thread Rinke Heida
I use it myself as well and I think I had the same problem when trying to adjust parameters in the properties file. Be sure you use the propertiesfile you are editing. We are using our own properties file situated under the project directory of our testproject. This way the properties file is

Re: Using SimpleDateFormat in CSV output format

2005-10-19 Thread sebb
BTW, with recent versions of JMeter, one can also use: -q, --addprop argument additional property file(s) S. On 19/10/05, Rinke Heida [EMAIL PROTECTED] wrote: I use it myself as well and I think I had the same problem when trying to adjust parameters in the properties file. Be sure

Re: Converting HTTPSampler to HTTPSampler2

2005-10-19 Thread sebb
Create two identical test plans, one with each sampler and compare them. Make sure that the editting script is as specific as possible when changing strings - i.e. include as much context as possible to ensure only the correct strings are changed. S. On 19/10/05, Nop Lists [EMAIL PROTECTED]

PDF User manual?

2005-10-19 Thread bugfactory anonyme
Hello. Is there any pdf version, or any other easily printable version, of the user manual? My boss would like to have a printed version, and I would not like to have to print each html page one by one. Sorry for the trivial question, but I cannot find one anywhere. Thanks in advance.

Re: PDF User manual?

2005-10-19 Thread sebb
No, there isn't one at present. The printable_docs version has 25 files in the usermanual directory. This is probably well over 100 pages in total. Most of which is only needed for _developing_ JMeter scripts... S. On 19/10/05, bugfactory anonyme [EMAIL PROTECTED] wrote: Hello. Is there any

Hangup when testing remote

2005-10-19 Thread Morten Kristiansen
I'm trying to run some remote tests in headless mode, but jmeter hangs. Here's the command I run and output: ../jakarta-jmeter-2.1.1/bin/jmeter -Jlog_file=jmeter.log -Jupgrade_properties=/upgrade.properties -Jsaveservice_properties=/saveservice.properties -n -l /jmeter-raw-report.xml -p

Re: PDF User manual?

2005-10-19 Thread bugfactory anonyme
Well, he IS a developper. And he wanted me to print the manual so I could find out how to start a test from the shell. I was persuaded that was not possible. (On that topic : someone should change 2.4.3 Non-GUI Mode to 2.4.3 Shell command and link to it from Distributed Testing.) I guess I

Re: PDF User manual?

2005-10-19 Thread sebb
Shell may not mean much to Windows (or VMS etc) users - something like Command Line mode might be better. But I take your point about adding a link to it. S. On 19/10/05, bugfactory anonyme [EMAIL PROTECTED] wrote: Well, he IS a developper. And he wanted me to print the manual so I could find

Re: PDF User manual?

2005-10-19 Thread Rinke Heida
We do all our testing in non-GUI mode and start all the tests throught DOS bat files. GUI mode is only used for creating and testing our testplans. BTW splitting all possible testplans in seperate JMX files and starting every test (JMX) in non-GUI mode eliminated also possible memory problems

Challenge: Basic Authentication problem

2005-10-19 Thread Jelmer de Haas
Hi, We are trying to post a SOAP/XML request on a site that contains basic authentication. If I try to reach the website with Internet Explorer, there is no problem. The only thing that is strange is the username. I have to fill it in like DOMAIN\Username. Because the \ is the escape character

Re: Challenge: Basic Authentication problem

2005-10-19 Thread Peter Lin
looking at the current implementation, we just pass the username and password to apache soap client. if (getAuthManager() != null) { if (getAuthManager().getAuthForURL(getUrl()) != null) { AuthManager authmanager = getAuthManager(); Authorization auth = authmanager.getAuthForURL(getUrl());

Re: Converting HTTPSampler to HTTPSampler2

2005-10-19 Thread Nop Lists
Hello, I was successful in converting (see the steps below, for the case somebody else encounter the problem). JMeter 2.1.1 reads the testcase fine. However it does not perform it as it did in the 2.0.x. In the past I was asked for the password for the keystore. Now this is not the case. JMeter

while condition evaluates per each user?

2005-10-19 Thread Matt Edelman
Hello, I'm writing a SOAP load test that has a while loop to check the status of a process on the server under test. The SOAP response is parsed with a RegEx post-processor looking for Statedone. That value is then put into a variable named getStatusDone. The while condition is as follows:

Re: Challenge: Basic Authentication problem

2005-10-19 Thread sebb
Have you tried with just DOMAIN\Username ? \ only needs to be escaped in certain fields, e.g. Regexes. S. On 19/10/05, Jelmer de Haas [EMAIL PROTECTED] wrote: Hi, We are trying to post a SOAP/XML request on a site that contains basic authentication. If I try to reach the website with

Re: while condition evaluates per each user?

2005-10-19 Thread sebb
If you add a suitable Listener and write to a file, you can tell how many loops each thread has done. If the RE output is saved in getStatusDone then how does the variable statusString get set? S. On 19/10/05, Matt Edelman [EMAIL PROTECTED] wrote: Hello, I'm writing a SOAP load test that has

Help !

2005-10-19 Thread Poornima Lakshman
Hello all, I am a new member to both JMeter User List as well as JMeter. This is my first Load Testing tool. I need to test a Web Application. Read the User Manual and can now create a basic Test Plan. I need to know if there a way in JMeter where I can monitor when actually it is running the

Re: while condition evaluates per each user?

2005-10-19 Thread Matt Edelman
sorry. statusString is the name of the variable, getStatusDone is just the label for the RegEx processor (you can see it in the screen capture). Sorry for such a basic question but what type of listener can I use to write to a file and tell how many loops each thread has done? Thanks, Matt On

Re: while condition evaluates per each user?

2005-10-19 Thread sebb
Any Listener will do - the file output depends only on the Configuration - make sure you save the thread name. Or you can add a Java Sampler to the loop, and include the __threadNum() function in its label - this will show up nicely in the Table Listener. S. On 19/10/05, Matt Edelman [EMAIL

Re: Help !

2005-10-19 Thread Rinke Heida
JMeter does not use IE or another browser to parse te script to. As far as I know JMeter generates e.g. the HTTP request, sends it and receives the response etc. If in GUI-mode you can see a little green square in the upper right corner while requests are being processed. As soon as the test

Re: while condition evaluates per each user?

2005-10-19 Thread Matt Edelman
Thanks for your help so far. I added a listener as you suggested. The listener is logging that only the users 1-X are running. When I increase to two threads I should expect to see users: 1-X 2-X right? Here is a bit from that log file: 1129736584568,10640,checkStatus,Jakarta SOAP Users 1-15

RE: Help !

2005-10-19 Thread Poornima Lakshman
Thanks Rinke for your immediate response!! Is there any way (Maybe a specific Listener) where I can actually see the final URL JMeter requested just to make sure if the URL it requested/got response is indeed the correct one. Aggregate Report/View Results in Tree just displays HTTP Request in

Re: while condition evaluates per each user?

2005-10-19 Thread sebb
Could be a large startup delay? And a short duration? There should be more information in jmeter.log about the number of threads and when they are started. S. On 19/10/05, Matt Edelman [EMAIL PROTECTED] wrote: Thanks for your help so far. I added a listener as you suggested. The listener is

RE: Help !

2005-10-19 Thread Curelea, Alexandru
The Request tab of the View Results Tree listener should show the request sent to the server, including the full URL. -Original Message- From: Poornima Lakshman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 11:48 AM To: 'JMeter Users List' Subject: RE: Help ! Thanks Rinke

RE: Using SimpleDateFormat in CSV output format

2005-10-19 Thread Jan Linders
Sebb, it's working OK now. Thanks man for the quick response. Appreciate what you are doing. Keep up the good work. :) -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 8:43 PM To: JMeter Users List Subject: Re: Using SimpleDateFormat in CSV output

Re: while condition evaluates per each user?

2005-10-19 Thread Matt Edelman
There is no problem with the number of threads it seems. Is there some way to output the loop number as well as the thread number? Thanks, Matt On 10/19/05, sebb [EMAIL PROTECTED] wrote: Could be a large startup delay? And a short duration? There should be more information in jmeter.log

Bug with using HTTPSampler2 and SSL

2005-10-19 Thread Nop Lists
Hello, after migrating to 2.1.1 (and replacing all HTTPSampler by HTTPSampler2) I have encountered a problem with the certificates. In 2.0.2 I was asked at the beginning of the test for the keystore password, then the test ran OK (first thread was always failing but this is not the issue). In

Re: Can JMeter Modify Parameters in a Http-Request-File ?

2005-10-19 Thread tdev
The idea or probably the expected way is to copy the xml-file into the normal http-param-value-field! Thanks. - Original Message - From: [EMAIL PROTECTED] To: jmeter-user@jakarta.apache.org Sent: Tuesday, October 18, 2005 8:19 PM Subject: Can JMeter Modify Parameters in a

Http Put?

2005-10-19 Thread Donald Lee
Hey all, First time posting to the mailing list, so go easy on me. :P I need to upload a ton of files using Http Put. it doesn't look like the put functionality is in jmeter at the moment since it looks like It can only do Posts and Gets. is this true? I've written a JavaRequest to do what

Re: Bug with using HTTPSampler2 and SSL

2005-10-19 Thread sebb
Can you confirm if this is only a problem with HTTPSampler2 or does it also apply to HTTPSampler in 2.1.1? S. On 19/10/05, Nop Lists [EMAIL PROTECTED] wrote: Hello, after migrating to 2.1.1 (and replacing all HTTPSampler by HTTPSampler2) I have encountered a problem with the certificates. In