Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 14:21, dineshkaarthick wrote: > sebb, yes all the further responses are similar to the second ones and not as > accurate as the first request. As requested by you I have attached the > sampler configuration. > > http://jmeter.512774.n5.nabble.com/file/n4899196/JMeter-API-Sampler

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
sebb, yes all the further responses are similar to the second ones and not as accurate as the first request. As requested by you I have attached the sampler configuration. http://jmeter.512774.n5.nabble.com/file/n4899196/JMeter-API-Sampler-Config.jpg FYI, In the above sampler we are invoking a

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 14:08, dineshkaarthick wrote: > sebb, can you please let me know why is the big difference in the response > times for the first and further iterations ? Not without knowing the sampler configuration. Also, you only show two iterations. Are all subsequent times slower? > --

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
sebb, can you please let me know why is the big difference in the response times for the first and further iterations ? -- View this message in context: http://jmeter.512774.n5.nabble.com/Java-Request-Sampler-Second-Iteration-Fast-tp4899140p4899168.html Sent from the JMeter - User mailing list ar

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread sebb
On 13 October 2011 13:59, dineshkaarthick wrote: > http://jmeter.512774.n5.nabble.com/file/n4899140/JMeter-API-Results-Second-Iteration.jpg > > Whenever I run a test for "Java Request" sampler only for the first > iteration the real response times are observed and from the second iteration > onwar

Re: Java Request

2009-08-21 Thread Deepak Shetty
you probably modified the java classes after they had already been loaded by jmeter. On Fri, Aug 21, 2009 at 4:24 PM, zanas wrote: > > Thanks for your help and sorry for the delay. I've solved my problem, I > just > sent the variable in the parameters and for some reason it wasn't working, > but

Re: Java Request

2009-08-21 Thread zanas
Thanks for your help and sorry for the delay. I've solved my problem, I just sent the variable in the parameters and for some reason it wasn't working, but I had to restart jmeter and it started working.:blush: sebb-2-2 wrote: > > On 21/08/2009, zanas wrote: >> >> Hi, >> How can I transfer da

Re: Java Request

2009-08-21 Thread sebb
On 21/08/2009, zanas wrote: > > Hi, > How can I transfer data between Java Request Samplers?? I generated a string > in my first sampler and then I need to use it in my second sampler. I've > tried to insert it in the Response Message and I parsed it with the Regular > Expression Extractor, b

Re: Java Request Sample. static initialization

2009-05-07 Thread Jean-Louis.Pasturel
sebb a écrit : On 05/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 04/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On

Re: Java Request Sample. static initialization

2009-05-07 Thread Jean-Louis.Pasturel
Viet : It was what I desired, thanks for the idea. Regards JL Pasturel viet nguyen a écrit : If I understand you correctly as part of the setup you want to initialize some Java resources and make them available to other java sampler threads. You can create a dummy Java sampler whose purpos

Re: Java Request Sample. static initialization

2009-05-05 Thread sebb
On 05/05/2009, Jean-Louis.Pasturel wrote: > sebb a écrit : > > > > > On 04/05/2009, Jean-Louis.Pasturel > wrote: > > > > > > > sebb a écrit : > > > > > > > > > > > > > > > > On 01/05/2009, Jean-Louis.Pasturel > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > sebb a écrit : > > >

Re: Java Request Sample. static initialization

2009-05-05 Thread viet nguyen
If I understand you correctly as part of the setup you want to initialize some Java resources and make them available to other java sampler threads. You can create a dummy Java sampler whose purpose is to perform the initialization. Do what you need to do in the setupTest() method. Also make

Re: Java Request Sample. static initialization

2009-05-05 Thread Jean-Louis.Pasturel
sebb a écrit : On 04/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: Hi All, I am a begginner with JMeter a

Re: Java Request Sample. static initialization

2009-05-04 Thread sebb
On 04/05/2009, Jean-Louis.Pasturel wrote: > sebb a écrit : > > > > On 01/05/2009, Jean-Louis.Pasturel > wrote: > > > > > > > sebb a écrit : > > > > > > > > > > > > > > > > On 01/05/2009, Jean-Louis.Pasturel > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > Hi All, > > > > > I am

Re: Java Request Sample. static initialization

2009-05-04 Thread Jean-Louis.Pasturel
sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: Hi All, I am a begginner with JMeter and this is my first post to this mailing list, and sorry for perhaps faq questions. If it is, let me know. I

Re: Java Request Sample. static initialization

2009-05-01 Thread sebb
On 01/05/2009, Jean-Louis.Pasturel wrote: > sebb a écrit : > > > > > > On 01/05/2009, Jean-Louis.Pasturel > wrote: > > > > > > > Hi All, > > > I am a begginner with JMeter and this is my first post to this mailing > > > list, and sorry for perhaps faq questions. If it is, let me know. > > > Is i

Re: Java Request Sample. static initialization

2009-05-01 Thread Jean-Louis.Pasturel
sebb a écrit : On 01/05/2009, Jean-Louis.Pasturel wrote: Hi All, I am a begginner with JMeter and this is my first post to this mailing list, and sorry for perhaps faq questions. If it is, let me know. Is it possible to do static initialisation in a Java Request Sample that uses the parame

Re: Java Request Sample. static initialization

2009-05-01 Thread sebb
On 01/05/2009, Jean-Louis.Pasturel wrote: > Hi All, > I am a begginner with JMeter and this is my first post to this mailing > list, and sorry for perhaps faq questions. If it is, let me know. > Is it possible to do static initialisation in a Java Request Sample that > uses the parameters set i

Re: Java request never gets off the ground

2009-01-02 Thread sebb
On 02/01/2009, laredotornado wrote: > > Hi, > > I'm using JMeter 2.3.2 on Windows XP. I have a Java request ... > > http://screencast.com/t/ll7mLlje557 > > and I set the number of threads to be 10, with ramp up period being one > second. However, upon visiting Run -> Start, I see the green

Re: JAVA REQUEST - ${__CSVRead and NEXT VALUE

2007-10-18 Thread sebb
That's by design - CSVRead will always start a new line for each new thread, but will only start a new line within a thread if the thread uses next. Otherwise how would JMeter know if the thread had finished reading columns from the row? On 18/10/2007, neetu kulshrestha <[EMAIL PROTECTED]> wrote:

Re: JAVA REQUEST - ${__CSVRead and NEXT VALUE

2007-10-17 Thread neetu kulshrestha
as per my experience with jmeter. if I use loop then it always takes first row but if I use threads then it takes the next value. Don't know if its by design or a bug On 10/4/07, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote: > > Hi, > i have a JAVA REQUEST class with parameter > a | ${__

Re: JAVA REQUEST - ${__CSVRead and NEXT VALUE

2007-10-04 Thread sebb
On 04/10/2007, Fulvio Guglielmelli <[EMAIL PROTECTED]> wrote: > Hi, > i have a JAVA REQUEST class with parameter > a | ${__CSVRead(try.csv,0)} > whei i run the test, into the java class it always read the first ROW of > try.csv file. Because you have not used next() The following should

Re: Java Request

2007-07-12 Thread sebb
But please note that the tutorials relate to a very old version of JMeter, so may not be relevant. There's more uptodate stuff on the JMeter web-site and the Wiki. On 12/07/07, naveen sharma <[EMAIL PROTECTED]> wrote: you can tutorials at http://www.jajakarta.org/jmeter/1.5.1/en/how_to_use_jme

Re: Java Request

2007-07-12 Thread naveen sharma
you can tutorials at http://www.jajakarta.org/jmeter/1.5.1/en/how_to_use_jmeter.html --Naveen "Mathumathi Palani Bommu, EAS-Chennai" <[EMAIL PROTECTED]> wrote: Hi M new to jmeter.. Can any one tell wat this java request sampler work.. and wat is the usage of this sampler DISCLAIMER: -

RE: Java Request

2007-05-28 Thread Anjaneyulu Aerrolla
Try putting the jar file containing your Java Request class in lib/ext folder, for me it worked. Anjan -Original Message- From: Sireesha Sridhara [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 3:54 AM To: JMeter Users List Subject: Re: Java Request Hi All, I used java

Re: Java Request

2007-05-28 Thread Sireesha Sridhara
Hi All, I used java request and implemeted the AbstractSamplerClient, added it in lib and I can see the class in JavaRequest. But when I run I get InstantiationException. Did anyone use the Javarequest? What is the reason for InstantiationExcecption? Looks like the constructor is not being called

Re: java request

2007-05-26 Thread sebb
Make sure that the class is in a jar, and the jar is in lib/ext On 26/05/07, Sireesha Sridhara <[EMAIL PROTECTED]> wrote: Hi all, I wrote a class which extends AbstractJavaSamplerClient and implementd all the methods. Now when I add a java request and run the test, it says error and in the log

RE: java request

2007-05-25 Thread Sireesha Sridhara
Hi all, I wrote a class which extends AbstractJavaSamplerClient and implementd all the methods. Now when I add a java request and run the test, it says error and in the log it see the erros : Exception creating: AVOClient java.lang.InstantiationException: AVOClient at java.lang.Class.new

Re: Java Request and HTTP Request Defaults

2007-05-15 Thread sebb
> To: JMeter Users List > Sent: Thursday, March 8, 2007 9:51:16 AM > Subject: Re: Java Request and HTTP Request Defaults > > You can access system properties, JMeter properties and JMeter > variables from any sampler. > > And HTTP defaults can be defined in terms of the above.

Re: Java Request and HTTP Request Defaults

2007-05-11 Thread Marji Dainty
direct. Thanks, Marji On Fri, 2007-05-11 at 13:19 -0700, Peter wrote: > Sorry, how does one go about doing this? > > - Original Message > From: sebb <[EMAIL PROTECTED]> > To: JMeter Users List > Sent: Thursday, March 8, 2007 9:51:16 AM > Subject: Re: Ja

Re: Java Request and HTTP Request Defaults

2007-05-11 Thread Peter
Sorry, how does one go about doing this? - Original Message From: sebb <[EMAIL PROTECTED]> To: JMeter Users List Sent: Thursday, March 8, 2007 9:51:16 AM Subject: Re: Java Request and HTTP Request Defaults You can access system properties, JMeter properties and JMeter variable

Re: Java Request and HTTP Request Defaults

2007-03-08 Thread sebb
You can access system properties, JMeter properties and JMeter variables from any sampler. And HTTP defaults can be defined in terms of the above. Try it and see. On 08/03/07, Peter <[EMAIL PROTECTED]> wrote: Anyone? Can HTTP Defaults be bound to "global variables" ? - Original Message ---

Re: Java Request and HTTP Request Defaults

2007-03-08 Thread Peter
Anyone? Can HTTP Defaults be bound to "global variables" ? - Original Message From: Peter <[EMAIL PROTECTED]> To: jmeter-user@jakarta.apache.org Sent: Monday, March 5, 2007 11:59:38 AM Subject: Java Request and HTTP Request Defaults Hi I was wondering how I can get access to values def

RE: Java Request in JMeter

2006-05-11 Thread Parikh, Bhavin
I got it. I can see my Java Test now. -Original Message- From: Parikh, Bhavin Sent: Thursday, May 11, 2006 2:05 PM To: 'JMeter Users List' Subject: RE: Java Request in JMeter Seb and Sergiy, Did you able to see your Java test now? I implemented one simple java test and copy

RE: Java Request in JMeter

2006-05-11 Thread Parikh, Bhavin
List Subject: Re: Java Request in JMeter It should be enough to put the jar in lib/ext. [For example, if you remove the FTP jar, you won't see the FTP sampler] Check jmeter.log for error messages (e.g. class loading problems). S. On 03/05/06, Sergiy Gumenyuk <[EMAIL PROTECTED]> wrote

Re: Java Request in JMeter

2006-05-03 Thread sebb
It should be enough to put the jar in lib/ext. [For example, if you remove the FTP jar, you won't see the FTP sampler] Check jmeter.log for error messages (e.g. class loading problems). S. On 03/05/06, Sergiy Gumenyuk <[EMAIL PROTECTED]> wrote: Hi, I am a new user of JMeter and have the follo

Re: Java Request Sampler: parameters disappearing

2005-11-18 Thread sebb
Do you mean that you used the Add button to create some additional Parameters? If you always need the parameters, then make sure you have added them in the getDefaultParameters() method. It looks as though parameters defined only on the screen are not preserved. This could be a bug. S. On 18/11/

Re: Java Request Sampler: java.lang.IllegalAccessException

2005-10-26 Thread Peter Lin
looks like it couldn't initialize one of your classes. is the constructor or method private/procted? it's hard to tell without seeing the code.. peter On 10/26/05, Michael Riedling <[EMAIL PROTECTED]> wrote: > > hello, > > I want to use the Java Request Sampler from JMeter to test a Java Client

RE: Java Request Sampler

2005-04-28 Thread Anurodh Jain
thankx Sebb. Ya, I am able to run my Java Class by writing my own implementation of JavaSamplerClient interface. Regards Anurodh -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Friday, April 29, 2005 4:50 AM To: JMeter Users List Subject: Re: Java Request Sampler On 4

Re: Java Request Sampler

2005-04-28 Thread Manjunath N.S.
Can we use same Concept for testing WebService also, write Java Client which implements JavaSampleClient Interface and write code to invoke the WebService something similar to JUnit Java Class which extends TestCase.. please clarify with regards Manju On 4/29/05, sebb <[EMAIL PROTECTED]> wrote:

Re: Java Request Sampler

2005-04-28 Thread sebb
On 4/28/05, Anurodh Jain <[EMAIL PROTECTED]> wrote: > > > Hi, > I am trying to test a Java Class through Java Request Sampler but > not yet successful. Can somebody tell me exactly how to go about > doing it. The Java Request Sampler is not able to test arbitrary Java Classes. >From the online

Re: Java Request with multiple different logins

2004-07-28 Thread Yongyut Chumpoo
Thanks a lot. I 've got it done Juth David Makepeace <[EMAIL PROTECTED]> wrote: It is handled the exact same way with the java sampler as it is with http. Add a userName parameter in the getDefaultParameters() and pass it what ever you want. --- Peter Lin wrote: > have you tried using the stand

Re: Java Request with multiple different logins

2004-07-28 Thread David Makepeace
It is handled the exact same way with the java sampler as it is with http. Add a userName parameter in the getDefaultParameters() and pass it what ever you want. --- Peter Lin <[EMAIL PROTECTED]> wrote: > have you tried using the standard Http sampler to do > a basic smoke test? > > to get the

Re: Java Request with multiple different logins

2004-07-28 Thread Peter Lin
have you tried using the standard Http sampler to do a basic smoke test? to get the username & password, your sampler has to get them from the config element. I don't know the java sampler stuff, so maybe jordi or sebastian can answer your question. peter On Tue, 27 Jul 2004 21:14:16 -0700 (PDT

Re: Java Request Doubt

2003-08-26 Thread peter lin
from personal experience testing pages with tags. what I did was to setup Borland OptimizeIt and start tomcat. Then I used JMeter to simulate a variety of loads. once I got the stack trace, call graph and so on, it was easier to find the culprit of bad performance. I hope that helps. peter

Re: Java Request Doubt

2003-08-26 Thread mstover1
That would require a profiling tool, which JMeter is not. -Mike On 25 Aug 2003 at 17:18, Shaik Afgal Bhasha wrote: > > Hi All, > > I am testing an application developed in STRUTS using JMeter my problem is, as one > of the request is taking much time.Is there any way thru JMeter i can check