Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread sebb
age in context: > http://jmeter.512774.n5.nabble.com/Java-Request-Sampler-Second-Iteration-Fast-tp4899140p4899196.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: j

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
a Remote EJB. -- View this message in context: http://jmeter.512774.n5.nabble.com/Java-Request-Sampler-Second-Iteration-Fast-tp4899140p4899196.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe

Re: "Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread sebb
slower? > -- > 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 archive at Nabble.com. > > -

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

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 fro

"Java Request" Sampler - Second Iteration Fast

2011-10-13 Thread dineshkaarthick
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 onwards it is fast and the response time is almost

Re: How to use a Java Request sampler?

2010-08-08 Thread sebb
On 26 July 2010 09:58, prasanna bhat wrote: > Hi, > > The Java Request is not as straight forward as any other sampler. I have a > few question related to this: > >  1) when do we have to use it ? It's optional. > 2) how to use a Java Request sampler? http:/

How to use a Java Request sampler?

2010-07-26 Thread prasanna bhat
Hi, The Java Request is not as straight forward as any other sampler. I have a few question related to this: 1) when do we have to use it ? 2) how to use a Java Request sampler? 3) what are the adavantages of using it? It will be great if some one can answer these questions with some kind of

Re: advice on using regex to retrieve parameters returned from a java request sampler

2009-01-15 Thread sebb
On 15/01/2009, gregorype...@aol.com wrote: > Hi all - it's great to be back using JMeter :-) > > > > > A few years back we extended JMeter writing an EJB sampler based upon the > Java request sampler. Our results were outputted in CSV format. We needed to > sa

advice on using regex to retrieve parameters returned from a java request sampler

2009-01-15 Thread gregorypeace
Hi all - it's great to be back using JMeter :-)   A few years back we extended JMeter writing an EJB sampler based upon the Java request sampler.  Our results were outputted in CSV format. We needed to save a number of bespoke values within our EJB/ Java request samplers and use

Re: Best usage of sample_variables (trunk) with a Java Request Sampler ?

2008-05-21 Thread sebb
, except that the variable name gets > surrounded by double quotes in the csv column (very, very minor "bug" ;>). > That's deliberate - it allows the loader to distinguish user variables from normal columns. > My usecase : I'm using a custom Java Request Sampler inside

Best usage of sample_variables (trunk) with a Java Request Sampler ?

2008-05-21 Thread Laurent Perez
very minor "bug" ;>). My usecase : I'm using a custom Java Request Sampler inside my plan, it's returning results, and I would like to add part of these results as new csv columns, using the above new functionality. However, it doesn't look like the JavaSamplerContext object p

Re: Where do I place Java Request Sampler classes

2007-10-26 Thread sebb
<[EMAIL PROTECTED]> wrote: > More specifically how do I tell jmeter to pick up my Java Request > Sampler classes from a particular directory. One thing I have tried is > to jar the files and put them in \lib\ext folder, is there any other way > to tell jmeter to pick up files from so

Where do I place Java Request Sampler classes

2007-10-26 Thread Jigar Gosar
More specifically how do I tell jmeter to pick up my Java Request Sampler classes from a particular directory. One thing I have tried is to jar the files and put them in \lib\ext folder, is there any other way to tell jmeter to pick up files from some other directory without jaring them? I

Runtime values not changing during running java request sampler

2007-10-25 Thread kokila k
Hi, For my application I am trying pass the php file with arguments in the jmeter java sampler program. After compiling the java file, i created jar file and placed in the lib/ext folder and thru jmeter iam calling that class file. But during run time the script is taking the static values

Re: how to give the classname of java in jmeter java request sampler?

2007-04-20 Thread sebb
Put the class in a jar file and put the jar in lib/ext On 20/04/07, ald <[EMAIL PROTECTED]> wrote: I implemented the JavaSamplerClient in a HelloWorld.java file, but HelloWorld.class does not show up in the Classname list box of the Java Request Sampler. I tried 1) adding the dir

Re: how to give the classname of java in jmeter java request sampler?

2007-04-20 Thread ald
I implemented the JavaSamplerClient in a HelloWorld.java file, but HelloWorld.class does not show up in the Classname list box of the Java Request Sampler. I tried 1) adding the directory containing HelloWorld.class to the Test Plan "Add directory or jar to classpath" and 2) (brute

Re: how to give the classname of java in jmeter java request sampler?

2007-04-20 Thread ald
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/how-to-give-the-classname-of-java-in-jmeter-java-request-sampler--tf3558969.html#a10108570

Re: how to give the classname of java in jmeter java request sampler?

2007-04-11 Thread sebb
On 11/04/07, gopal labudu <[EMAIL PROTECTED]> wrote: thanks for reply, i don't know what type of interface we need to create? JavaSamplerClient - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: how to give the classname of java in jmeter java request sampler?

2007-04-11 Thread gopal labudu
thanks for reply, i don't know what type of interface we need to create? if you have an example, please send according to that i can write code for my project. once again thanks for reply, from Gopal . On 4/11/07, sebb <[EMAIL PROTECTED]> wrote: Please see: http:/

Re: how to give the classname of java in jmeter java request sampler?

2007-04-11 Thread sebb
Please see: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Java_Request "This sampler lets you control a java class that implements the JavaSamplerClient interface. By writing your own implementation of this interface, you can use JMeter to harness multiple threads, input p

how to give the classname of java in jmeter java request sampler?

2007-04-11 Thread gopal labudu
hi, how to give the class name and where to save the java class name what are the parameters need to send? are all parameters mandatory while sending?

Re: How to return values from Java Request Sampler

2006-01-01 Thread sebb
16. Dezember 2005 16:46 > An: JMeter Users List > Betreff: Re: How to return values from Java Request Sampler > > > On 16/12/05, Brunner Michael <[EMAIL PROTECTED]> wrote: > > Hi, I wrote my own Java Request Sampler. > > Maybe this question is ridiculos, but how

AW: How to return values from Java Request Sampler

2005-12-18 Thread Brunner Michael
Hi, what do you mean with "save the variable directly" ? -Ursprüngliche Nachricht- Von: sebb [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 16. Dezember 2005 16:46 An: JMeter Users List Betreff: Re: How to return values from Java Request Sampler On 16/12/05, Brunner Micha

Re: How to return values from Java Request Sampler

2005-12-16 Thread sebb
On 16/12/05, Brunner Michael <[EMAIL PROTECTED]> wrote: > Hi, I wrote my own Java Request Sampler. > Maybe this question is ridiculos, but how do I return a value from the > runTest() method. > I scanned the Object SampleResult but couldn't find a place to put my result

How to return values from Java Request Sampler

2005-12-16 Thread Brunner Michael
Hi, I wrote my own Java Request Sampler. Maybe this question is ridiculos, but how do I return a value from the runTest() method. I scanned the Object SampleResult but couldn't find a place to put my result in. The final goal would be, that the result should be stored in a jmeter vairable,

Re: Java Request Sampler: parameters disappearing

2005-11-18 Thread sebb
/05, Michael Riedling <[EMAIL PROTECTED]> wrote: > Hello, > > i am using the Java Request Sampler and submit parameters from JMeter to > my Java Clients. Works fine, but only once! > If i start my Java Request again, the parameters are disapeared and i > have to ente

Java Request Sampler: parameters disappearing

2005-11-18 Thread Michael Riedling
Hello, i am using the Java Request Sampler and submit parameters from JMeter to my Java Clients. Works fine, but only once! If i start my Java Request again, the parameters are disapeared and i have to enter them again in JMeter´s Parameter form... :/ Is that a known bug or is there a

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

Java Request Sampler: java.lang.IllegalAccessException

2005-10-26 Thread Michael Riedling
hello, I want to use the Java Request Sampler from JMeter to test a Java Client which access a Webservice. I implemented the interface and the required methods in my testclass (CodeSamples.CityMapService). The testclass itself is in the /lib/ext library and it appears in the Java Request

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.
wrote: > 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 R

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 C

Java Request Sampler

2005-04-28 Thread Anurodh Jain
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. Regards Anurodh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Can Java Request Sampler return value to jmeter variable?

2004-08-02 Thread mabel
I would like to use the Java Request Sampler to execute a java program to do some calculations/parsing. Then I would like the java program to return a string in which Jmeter can store to a user variable. Is this possible and how would I do this? Any starting pointers appreciated. mabel

Trouble creating a Java Request Sampler

2004-01-08 Thread Michael R. Wolfe
I have created a Java Request Sampler but cannot get Jmeter to recognize it. I used sleepTest as a template and simply changed the name of the class to start, so it is unlikely that the problem is in the class itself. I think it is a classpath problem. The documentation says that Jmeter looks

RE: CLASSPATH woes with Java Request Sampler

2003-09-29 Thread BAZLEY, Sebastian
For another possible solution, see bug 23366: http://issues.apache.org/bugzilla/show_bug.cgi?id=23366 Sebastian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 29 September 2003 14:35 To: JMeter Users List Subject: Re: CLASSPATH woes with Java Request Sampler

Re: CLASSPATH woes with Java Request Sampler

2003-09-29 Thread mstover1
ig > Intelligent Computer Systems > A division of Global Beverage Group > [EMAIL PROTECTED] > (717) 295-7977 > - Original Message - > From: "peter lin" > To: "JMeter Users List" > Sent: Monday, September 22, 2003 9:01 PM > Subject: Re: CLASSP

Re: Why do Java request sampler parameters disappear?

2003-09-24 Thread Clifton Craig
t;[EMAIL PROTECTED]> To: "JMeter Users List" <[EMAIL PROTECTED]> Sent: Wednesday, September 24, 2003 9:53 AM Subject: Why do Java request sampler parameters disappear? > Hello all, > > I'm having trouble keeping the parameters associated with my Java request >

Why do Java request sampler parameters disappear?

2003-09-24 Thread Clifton Craig
Hello all, I'm having trouble keeping the parameters associated with my Java request around. Every time I key them and move to a different screen they are gone when I return to the parameter screen. With the other request samplers JavaTest and SleepTest they seem to be "attached" to the particular

Re: CLASSPATH woes with Java Request Sampler

2003-09-24 Thread Clifton Craig
sday, September 23, 2003 3:40 PM Subject: Re: CLASSPATH woes with Java Request Sampler > Thank you Peter, > > However, my code is calling code that I have no control over. This code uses > the System classpath to locate resources. I set the system classpath prior > to invoking JMeter bu

Re: CLASSPATH woes with Java Request Sampler

2003-09-23 Thread peter lin
od solution? Clifton C. Craig Intelligent Computer Systems A division of Global Beverage Group [EMAIL PROTECTED] (717) 295-7977 - Original Message - From: "peter lin" To: "JMeter Users List" Sent: Monday, September 22, 2003 9:01 PM Subject: Re: CLASSPATH woes with Ja

Re: CLASSPATH woes with Java Request Sampler

2003-09-23 Thread Clifton Craig
" <[EMAIL PROTECTED]> Sent: Monday, September 22, 2003 9:01 PM Subject: Re: CLASSPATH woes with Java Request Sampler > > if you wrote your own sampler, the cleanest way is to write a custom classloader that extends URLClassLoader. then use your classloader to load those resources.

Re: CLASSPATH woes with Java Request Sampler

2003-09-22 Thread peter lin
I've created a Java Request Sampler that I intend to use to test my EJB app. However it is necessary that my Java request sampler have some additional entries in the CLASSPATH. These entries include classes which are in development along with some EJB server specific stuff. According to the JMe

CLASSPATH woes with Java Request Sampler

2003-09-22 Thread Clifton Craig
Hello all: I've created a Java Request Sampler that I intend to use to test my EJB app. However it is necessary that my Java request sampler have some additional entries in the CLASSPATH. These entries include classes which are in development along with some EJB server specific stuff. Acco

Re: Response data not showing from Java request sampler

2003-09-19 Thread Clifton Craig
PROTECTED]> Sent: Friday, September 19, 2003 12:16 PM Subject: RE: Response data not showing from Java request sampler > I think you need to set the response data type: > > results.setDataType(SampleResult.TEXT); > > S. > -Original Message- > From: Clifton Craig

RE: Response data not showing from Java request sampler

2003-09-19 Thread BAZLEY, Sebastian
I think you need to set the response data type: results.setDataType(SampleResult.TEXT); S. -Original Message- From: Clifton Craig [mailto:[EMAIL PROTECTED] Sent: 19 September 2003 17:02 To: [EMAIL PROTECTED] Subject: Response data not showing from Java request sampler Hello, I'

Response data not showing from Java request sampler

2003-09-19 Thread Clifton Craig
Hello, I'm new to JMeter and I've written a simple Java request sampler object for testing to get a feel for things. The 1st thing I've noticed is that the response data does not show in the view results tree listener. I am setting response data in my java request sampler