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: problem starting jmeter

2009-12-14 Thread Jakub Białek
This is a problem with your java (libgcj). To solve it install Sun's Java: http://java.sun.com/javase/downloads/widget/jdk6.jsp Best regards, Jakub 2009/12/14 Richard A Pointon pointo...@compuserve.com Just installed jmeter to my debian box and get this error when trying to start ? Anybody

Re: problem in handling DWR calls

2009-11-17 Thread Jakub Białek
Hi, If you use IE, you can try fiddler: http://www.fiddler2.com/fiddler2/ Best regards, Jakub 2009/11/18 Jatin Davey daveyja...@gmail.com Jatin Davey wrote: Deepak Shetty wrote: You arent passing everything that the browser is http://wiki.apache.org/jakarta-jmeter/DifferentBehaviour In

Re: New added Sampler and Exception error when Running Jmeter in Eclipse

2009-10-26 Thread Jakub Białek
appreciated. Thank you very much in advance for your response, Best Regards, Ghania -Original Message- From: Jakub Białek [mailto:ragno...@gmail.com] Sent: Friday, October 23, 2009 1:41 AM To: JMeter Users List Subject: Re: Exception error when Running Jmeter in Eclipse Hi

Re: Exception error when Running Jmeter in Eclipse

2009-10-22 Thread Jakub Białek
Hi, As you see the problem is with properties file. When jmeter start it looks up properties files in ..\bin directory, so there is 2 ways to make it happy: 1. put the bin directory with properties file next to jmeter project directory, so you should have jmeter-project directory and bin

Re: Big difference between non-gui and gui result ?

2009-10-19 Thread Jakub Białek
Hi, how about throughput? Does it grow up in non gui mode? If yes then explanation is that: non gui jmeter can generate more requests in the same time than gui jmeter so the target server load is higher and response time become longer. Best regards, Jakub 2009/10/19 Olofsson, Lars

Re: Big difference between non-gui and gui result ?

2009-10-19 Thread Jakub Białek
: Jakub Białek [mailto:ragno...@gmail.com] Sent: Monday, October 19, 2009 8:52 AM To: JMeter Users List Subject: Re: Big difference between non-gui and gui result ? Hi, how about throughput? Does it grow up in non gui mode? If yes then explanation is that: non gui jmeter can generate more

Re: AWT-EventQueue-0 java.lang.OutOfMemoryError

2009-10-14 Thread Jakub Białek
Hi, instead of -XX:NewSize=1024m -XX:MaxNewSize=1024m try with Xmx1024m Xms1024m Best regards, Jakub 2009/10/14 vijayakumar bcvijayaku...@altechindia.com: Dear All My self having 2 GB RAM in my machine and am running a JDBC Connection Config Test Plan ( Oracle Database ) with 250

Re: AWT-EventQueue-0 java.lang.OutOfMemoryError

2009-10-14 Thread Jakub Białek
If you use both HEAP=-Xms1024m -Xmx1024m and NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m it's a problem, try without -XX:NewSize=1024m -XX:MaxNewSize=1024m. If this doesn't help you, show me all parameters/arguments that you pass to java command. Best regards, Jakub 2009/10/14 vijayakumar

Re: AWT-EventQueue-0 java.lang.OutOfMemoryError

2009-10-14 Thread Jakub Białek
One more question: What version of java and jmeter do you use? Best regards, Jakub 2009/10/14 Jakub Białek ragno...@gmail.com: If you use both HEAP=-Xms1024m -Xmx1024m and NEW=-XX:NewSize=1024m -XX:MaxNewSize=1024m it's a problem, try without -XX:NewSize=1024m -XX:MaxNewSize=1024m

Re: AWT-EventQueue-0 java.lang.OutOfMemoryError

2009-10-14 Thread Jakub Białek
! Thanking You With warm regards, Vijayakumar.C - Original Message - From: Jakub Białek ragno...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Wednesday, October 14, 2009 11:50 AM Subject: Re: AWT-EventQueue-0 java.lang.OutOfMemoryError One more question

Re: AWT-EventQueue-0 java.lang.OutOfMemoryError

2009-10-14 Thread Jakub Białek
: Jakub Białek ragno...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Wednesday, October 14, 2009 12:03 PM Subject: Re: AWT-EventQueue-0 java.lang.OutOfMemoryError First try with the newest JMeter 2.3.4 and check if the problem still occur. Best regards, Jakub 2009

Re: Not able to run the script for more than 200 users

2009-09-30 Thread Jakub Białek
need, if the Xmx/Xms are too low you will see many GC or even OutOfMemoryError on the other hand if the Xmx/Xms are to high then you wast the memory and GC pauses can be long. Jakub 2009/9/30 Mark Rotteveel m.rottev...@pluton.nl: sebb wrote: On 30/09/2009, Jakub Białek ragno...@gmail.com wrote

Re: Not able to run the script for more than 200 users

2009-09-30 Thread Jakub Białek
choice. , as I said you have to know your application to choose suitable heap size but then jvm doesn't wast time to find the best size (by increasing/decreasing heap size). Best regards, Jakub 2009/9/30 Mark Rotteveel m.rottev...@pluton.nl: Jakub Białek wrote: The main reason is performance

Re: Not able to run the script for more than 200 users

2009-09-30 Thread Jakub Białek
, -XX:PermSize == -XX:MaxPermSize and -XX:InitialCodeCacheSize == -XX:ReserverCodeCacheSize . Best regards, Jakub 2009/9/30 Jakub Białek ragno...@gmail.com: According the http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html: Setting -Xms and -Xmx to the same value increases

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
First you no need the Java EE you can simply use Java 5 SE or Java 6 SE i.e JDK 6 Update 16 or even JRE 6 Update 16 should be sufficient. Second this installed Java 5/6 should be your default java, to check if it is in you console type: java -version a see if this pointing to java 5/6. Best

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
To set other java as a default change your PATH variable. At the beginning of the variable put: full_path_to_new_installed_java\bin; Where full_path_to_new_installed_java is the path to directory where you installed java. After that restart console and check. Best regards, Jakub 2009/9/29

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
PATH variable is not jmeter's properties but Windows system variable. Here you have description how to update this value: http://www.computerhope.com/issues/ch000549.htm Remember not to delete the content of the PATH variable but add: full_path_to_new_installed_java\bin; at the beginning, then

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
1. Install java_ee_sdk-5_07-jdk-6u16-windows in some directory. 2. Change the PATH variable. 3. Restart console to see the result of java -version command. 4. Start jmeter Jakub 2009/9/29 nanduri nandurivk0...@gmail.com: After setting path variable i need to install ran the program

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
Your updated PATH variable should looks like: REPLACE_THIS\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\TortoiseSVN\bin where REPLACE_THIS is the absolute path to directory where you installed java. Best regards, Jakub 2009/9/29 nanduri

Re: Not able to run the script for more than 200 users

2009-09-29 Thread Jakub Białek
set Xmx and Xms to -Xmx768m -Xms768m 2009/9/30 nanduri nandurivk0...@gmail.com: Hi, In the jmeter log file i got the following error 2009/09/29 21:36:09 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space.Please hepl me in this .The heap size i have

Re: Load Testing the MySql Database

2009-09-28 Thread Jakub Białek
You only have to copy this jar to jmeter lib directory, remember to use connector 5.1.10 for MySQL 5.1.x and 5.0.8 for MySQL 5.0.x, don't mix them! Then you need to configure connection and sampler: http://jakarta.apache.org/jmeter/usermanual/build-db-test-plan.html Best regards, Jakub

Re: Load Testing the MySql Database

2009-09-28 Thread Jakub Białek
Do you restart jmeter after you copy mysql-connector-java-5.0.4-bin.jar to lib directory? Jakub 2009/9/28 Jatin Davey jasho...@cisco.com: I copied the mysql-connector-java-5.0.4-bin.jar into JMeter's lib directory as it was working fine with the MySql Query browser with my DB. But when i run

Re: Load Testing the MySql Database

2009-09-28 Thread Jakub Białek
It looks like you didn't put com.mysql.jdbc.Driver in field JDBC Driver class in JDBC Connection Configuration, if this still doesn't work send my your test plan. BTW. Which version of jmeter do you use? Best regards, Jakub 2009/9/28 Jatin Davey jasho...@cisco.com: Yes , JMeter was re-started

Re: Load Testing the MySql Database

2009-09-28 Thread Jakub Białek
Currently I have no idea what it doesn't work. If you want send my your test plan and I'll look at it and maybe then I'll find the solution. BTW. You should try the newest version of connector for MySQL 5.0.x which is 5.0.8 Best regards, Jakub 2009/9/28 Jatin Davey jasho...@cisco.com: Hi I

Re: Not able to run the script for more than 200 users

2009-09-28 Thread Jakub Białek
Hi! You use JRE in version 7b70 it only snapshot not major release, try with java 5/6. 2009/9/29 nanduri nandurivk0...@gmail.com: Hi i got the following errors A fatal error has been detected by the Java Runtime Environment: # #  Internal Error (compactingPermGenGen.cpp:361), pid=3524,

Re: Reg Ex Extractor issue- stops my test execution

2009-09-25 Thread Jakub Białek
Hi, I don't know if it help but if you want match to sth like 'j_id_id37:j_id_id39:1:j_id_id131' maybe you try ([\w:]+) instead of (.+?), as I see the delimiter is , so it can by even simpler with sth like: ([^,]+) and this should be much more faster than (.+?). Best regards, Jakub 2009/9/25

Re: Need help to load application using 500 concurrent users

2009-09-18 Thread Jakub Białek
Hi, I added my listeners and several other enhancements in Bugzilla (id 47865). Best regards, Jakub 2009/9/14 sebb seb...@gmail.com: On 14/09/2009, Jakub Białek ragno...@gmail.com wrote: Hi,  My custom listener merges functionality from Aggregate Sampler (I need  something similar to line

Re: Need help to load application using 500 concurrent users

2009-09-14 Thread Jakub Białek
it is faster than Summary Listener and currently jmeter still supports java 1.4. Best regards, Jakub W dniu 12 września 2009 14:20 użytkownik sebb seb...@gmail.com napisał: On 12/09/2009, Jakub Białek ragno...@gmail.com wrote: The conclusions that I made based on my tests. Maybe characteristic

Re: Need help to load application using 500 concurrent users

2009-09-12 Thread Jakub Białek
/2009, Jakub Białek ragno...@gmail.com wrote: Obviously JMeter supports much more than 30 threads. But if you use  JMeter to simulate e.g. 200 concurrent users to check load and  response time of your application then you can use e.g.:  - 1 jmeter instance with 200 threads or  - 2 jmeter

Re: Need help to load application using 500 concurrent users

2009-09-11 Thread Jakub Białek
If you have 500 (truly) concurrent users then you need at least 500 threads in tomcat, try with 550 thread. You run jmeter on windows or linux os? Best regards, Jakub 2009/9/11 Mytho Logic maumita.majum...@gmail.com: Hi, I changed the maxthreads limit in tomcat server.xml to 400 and tried

Re: Need help to load application using 500 concurrent users

2009-09-11 Thread Jakub Białek
Server:- System: Windows XP Professional x64 Edition Verison 2003 SP2 Computer: Intel(R) Xeon(R) CPU 5130 @ 2.00 Ghz 2.00 GHz, 8.00 GB of RAM Thanks Maumita 2009/9/11 Jakub Białek ragno...@gmail.com If you have 500 (truly) concurrent users then you need at least 500 threads in tomcat, try

Re: Need help to load application using 500 concurrent users

2009-09-11 Thread Jakub Białek
be used as a JMeter clients. Best regards, Jakub W dniu 11 września 2009 15:54 użytkownik sebb seb...@gmail.com napisał: On 11/09/2009, Jakub Białek ragno...@gmail.com wrote: How about tomcat is it on linux or windows machine? Make sure that OS  doesn't limit the max number of inbound connection

Re: How to add random values..

2009-09-09 Thread Jakub Białek
But if your values looks like user1,user2,user3 or similar you can simply generate there. Just use Counter (with Reference Name: mycounter) and in http request concate string 'user' with counter: user${mycounter}. If you really want use CSV then: 1. add CSV Data Set Config 2. in CSV Data Set

Re: How to add random values..

2009-09-08 Thread Jakub Białek
First: 'Variable Name' in JDBC Connection Configuration is not name of the variable where result will be bind but it is the name of pool, similar is in the JDBC Request, so both name should be the same for example mypool. Second: JDBC Request must not be child of the JDBC Configuration

Re: How to add random values..

2009-09-08 Thread Jakub Białek
Yes it works. I tried this Variable Names parameter but when I checked value I forgot to append '_1' (or '_n' when n is the row number) at the end of the variable name. 2009/9/8 sebb seb...@gmail.com: On 08/09/2009, Jakub Białek ragno...@gmail.com wrote: First: 'Variable Name' in JDBC

Re: How to add random values..

2009-09-08 Thread Jakub Białek
I'm a bit confused. Do you want to read data from CSV file/databse or you can generate some random variable and use it more than once? BTW. This solution with JDBC Request works correct. Best regards, Jakub 2009/9/9 dilantha dilantha.tyr...@gmail.com: Hi RaGnoR and all users, Thanks a lot

Re: How to add random values..

2009-09-07 Thread Jakub Białek
Hi! Instead of using Random function try use 'Random Variable' configuration element. Before you use data from db you have to fetch those data. To fetch data use 'JDBC Connection Configuration' and 'JDBC Request' elements. Read this:

Re: How to add random values..

2009-09-07 Thread Jakub Białek
It works fine for me :). Try this, step by step: 1. add Random Variable element under your http request ('add person') 2. set the name of the Random Variable to test_id (check that this name is unique in your test plan) and the minimum and maximum value as you need 3. in http request ('add