Re: How to Run Jmeter in command line

2010-08-20 Thread Karsten Gaul
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- Karsten Gaul Dipl. Medieninf. Softwareentwickler Telefon +49 (351) 4108-135 Fax +49 (351) 4108-5135 karsten.g...@exedio.com www.exedio.com

Re: How to Run Jmeter in command line

2010-08-19 Thread Karsten Gaul
Hi Nithya Once you're in your bin folder, type the following: java -jar ApacheJMeter.jar -n -t rgds Karsten Am 19.08.2010 12:38, schrieb Nithya Prakash: Hi Till now I was running the test scripts in GUI mode which I found it comfortable. Now my task is to run my scripts in non-gui mode. I r

Re: If Controller after Regular Expression

2010-07-26 Thread Karsten Gaul
Hi Jörg, you may want to try the following: !("${aktenzeichen}".equals("NoAzFound")) This works fine in my test plan. You need to put the variable in double quotes. rgds Karsten Am 26.07.2010 14:08, schrieb Jörg Godau: Hello All, we have a Regular Expression Extractor hat is supposed to f

Re: DB crash

2010-07-22 Thread Karsten Gaul
Hi sebb, As your test plan is calling the database via the web application, in theory enough users of the application can cause the same problem. You have proved that the web application can bring down the database (which is useful to know). Whether it is possible for this to occur when not us

Re: DB crash

2010-07-22 Thread Karsten Gaul
I don't know how to administer Oracle dbs me neither... Surely there must be ways to configure the DB so that it remains active even under heavy load? Or at least it should degrade gracefully. That's what I hoped for. Maybe the responses take some more time because the db blocks incoming

Re: DB crash

2010-07-22 Thread Karsten Gaul
hum how do i put this? no but it is the only one using that specific db server. however, the same db server is used by at least one more app. That's why it is kinda bad that the db crashes because the other app is way more important than my load test. anyhow, this second app, being a qa versio

Re: DB crash

2010-07-22 Thread Karsten Gaul
r. PS: Is your database - Oracle? -Chaitanya M Bhatt http://www.performancecompetence.com 2010/7/22 Karsten Gaul - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail

DB crash

2010-07-22 Thread Karsten Gaul
Hi, I'm trying to figure out, why my oracle db occasionally crashes when i load test my website using jmeter. yes, i do have some flexible queries that are quite long. The funny thing is, as mentioned, that the db does not crash every time i run the same test. My admin told me the machine cra

Re: how to stress test a http proxy server?

2010-07-08 Thread Karsten Gaul
Hi Christoph, the loop controller loops x times within one iteration step but the csv is read only once per iteration. This means that you currently use the same login data for x loops. Try leaving out the loop controller and set the iterations in the thread group to the number of lines you ha

Re: Think time and duration of test

2010-07-08 Thread Karsten Gaul
Hi Suresh, I'm not sure but i suggest you try the interleave controller and the csv config element. How? 1. Write a csv file containing think time and url like this 2000 /home/1.htm 3000 /home/2.htm 45 /home/post.htm (long time but he could not remember his name) The variable names for yo

Re: Problem with redirects

2010-07-01 Thread Karsten Gaul
Karsten Am 01.07.2010 11:25, schrieb Karsten Gaul: Hi all, Although I tried "Follow Redirects" as well as "Automatically Follow Redirects" my POST request won't do it. The post request's requirements are met with regard to the header information but this time the Con

Problem with redirects

2010-07-01 Thread Karsten Gaul
Hi all, Although I tried "Follow Redirects" as well as "Automatically Follow Redirects" my POST request won't do it. The post request's requirements are met with regard to the header information but this time the Content-Type is application/x-www-form-urlencoded. Is that the problem and if so

Re: IOException. Response code 401

2010-06-30 Thread Karsten Gaul
phew I'm afraid I'm getting too old for this :( I totally didnt see the option "follow redirects" due to it being disabled by default. But that caused the problem. Thanks a lot. Am 30.06.2010 13:43, schrieb Felix Frank: Hi, in the Sampler, have you tried both "Redirect automatically" and "Fo

Re: IOException. Response code 401

2010-06-30 Thread Karsten Gaul
Am 29.06.2010 15:59, schrieb sebb: On 29 June 2010 14:47, Karsten Gaul wrote: The browser sends some stuff jmeter doesnt. the user-agent for example. Am I supposed to add all of this to the header manager? I now added the User-Agent but it didnt solve the problem. Keep fixing the differences

Re: IOException. Response code 401

2010-06-29 Thread Karsten Gaul
The browser sends some stuff jmeter doesnt. the user-agent for example. Am I supposed to add all of this to the header manager? I now added the User-Agent but it didnt solve the problem. cheers Karsten Am 29.06.2010 14:05, schrieb sebb: On 29 June 2010 12:56, Karsten Gaul wrote: So does

Re: IOException. Response code 401

2010-06-29 Thread Karsten Gaul
So does the Auth Mgr fix get requests? yeah it does. I only get the error messages when POST requests are sent. What do you see in the Tree View Listener? How does that compare with what a browser sees? After processing the data of the post there is a redirect to a different page. This is

IOException. Response code 401

2010-06-29 Thread Karsten Gaul
Hi again, I have some problems getting POST requests through JMeter. The jmeter.log prints the following: readResponse: java.io.IOException: Server returned HTTP response code: 401 for URL: It is just a warning though because when I follow my server's log the required actions are executed.

Re: Regular Expression Extraction

2010-06-29 Thread Karsten Gaul
heers, Felix On 06/29/2010 09:19 AM, Karsten Gaul wrote: hum the test tool works fine and my regexp matches the strings I feed in. Jmeter still doesnt find it though. Enclosing the regexp with "()" is correct, isnt it? -

Re: Regular Expression Extraction

2010-06-29 Thread Karsten Gaul
ooks nifty, but sadly won't quite work with my JRE unter Linux (i cannot enter either input text nor a regex). Maybe you have better luck. Cheers, Felix On 06/29/2010 08:23 AM, Karsten Gaul wrote: Hi, I want to reuse data from a server response and therefore attached a regexp extractor

Regular Expression Extraction

2010-06-28 Thread Karsten Gaul
Hi, I want to reuse data from a server response and therefore attached a regexp extractor to the sampler. Unfortunately, this doesnt seem to work since I always get the default value although the string is in the response data as can be seen in the results tree. Maybe my expression is just w

Switch request method dynamically

2010-06-28 Thread Karsten Gaul
Hi, what I would like to do is get the HTTPRequest method (POST, GET) dynamically from a csv file which I created. The reason is that I want to replay recorded data including many different paths and variables on the same host. I used the CSV Config Element, only one HTTPRequest, and as many