can JMeter cover performance test of a cli control system?

2008-02-21 Thread salamond
Hi, all. I'm looking for some tools to provide performance test tool for my little cli system. I tried stress_driver with expect. both works for cli. But it's hard to drive report out of the result, and stress_driver generate output in a very raff way. I can get too detail inside. I've go

Re: 答复: regular expression in JMeter

2008-02-21 Thread sebb
Read about variables here: http://jakarta.apache.org/jmeter/usermanual/functions.html and Regular Expression Extractor here: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor On 21/02/2008, weili3 [EMAIL PROTECTED] wrote: Thanks for your

Re: regular expression extractor HELP

2008-02-21 Thread sebb
Try skl'].value=([^;]+);document.+return false;${userParameter} as the Regular expression On 21/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: May be i'm not so clear, or are my UserParameter When in Jmeter console I configure UserParameter in = i

JVM args

2008-02-21 Thread sidhik
Hi I have to set JVM args in Jmeter batch file that is JVM_ARGS=-Djmagick.systemclassloader=no at which place i need to write. Any Clues.. BestRegards sidhikaran -- View this message in context: http://www.nabble.com/JVM-args-tp15610850p15610850.html Sent from the JMeter - User mailing

Re: User and Password Variable Problem

2008-02-21 Thread jwankerl
Thank for the response Sebb. Through trial and error, including placing the Data Set in the sampler as you suggested, I discovered that the Data Set must be included before the Thread Group. It was a last ditch try on my part, but it worked. I just thought I'd let you know. Thanks again for

BeanShell -- how set test successfull

2008-02-21 Thread Fulvio Guglielmelli
How is possible set the successfull (true or false) using beanshell? ctx. thanks Fulvio - - L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

Re: BeanShell -- how set test successfull

2008-02-21 Thread sebb
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Sampler Read the para starting: When the script completes, control is returned to the Sampler, and it copies the contents of the following script variables into the corresponding variables in the SampleResult: On

Re: BeanShell -- how set test successfull

2008-02-21 Thread Fulvio Guglielmelli
hi, To understand if the HTTP response contains an error message, i apply a regex that extract the error message (if there is) I added (as Http request child) a BeanShell Listener with code below the scope is set successufull false if credenziali != ret the NO or

Re: BeanShell -- how set test successfull

2008-02-21 Thread sebb
The BeanShell Listener is not suitable for this. Use the BeanShell Assertion instead: http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion On 21/02/2008, Fulvio Guglielmelli [EMAIL PROTECTED] wrote: hi, To understand if the HTTP response contains an error

Re: Can __javaScript call recalculate?

2008-02-21 Thread sebb
On 21/02/2008, Phillpotts, James [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with a Jmeter test plan where I'm trying to use String.indexOf(String) in a __javaScript call. However, once the expression has been evaluated once, it always returns the same value, regardless of one or

Re: Can __javaScript call recalculate?

2008-02-21 Thread Phillpotts, James
sebb [mailto:[EMAIL PROTECTED] wrote: On 21/02/2008, Phillpotts, James [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with a Jmeter test plan where I'm trying to use String.indexOf(String) in a __javaScript call. However, once the expression has been evaluated once, it always

Can __javaScript call recalculate?

2008-02-21 Thread Phillpotts, James
Hi all, I'm having trouble with a Jmeter test plan where I'm trying to use String.indexOf(String) in a __javaScript call. However, once the expression has been evaluated once, it always returns the same value, regardless of one or both of the strings being different each time it should be called.

wrong HTTP header in JavaScript URL

2008-02-21 Thread Tom Fernandes
Hello, I'm loading a site (http://foo.bar) through jmeter. This site calls (through JavaScript) http://www.google-analytics.com/urchin.js This results in a 404 answer from google. I sniffed a manual request to this site with my browser and the request done through jmeters proxy. The

Re: wrong HTTP header in JavaScript URL

2008-02-21 Thread sebb
On 21/02/2008, Tom Fernandes [EMAIL PROTECTED] wrote: Hello, I'm loading a site (http://foo.bar) through jmeter. This site calls (through Which version? Which HTTP Sampler? Original or HttpClient? JavaScript) http://www.google-analytics.com/urchin.js This results in a 404 answer from

Re: Can __javaScript call recalculate?

2008-02-21 Thread sebb
On 21/02/2008, Phillpotts, James [EMAIL PROTECTED] wrote: sebb [mailto:[EMAIL PROTECTED] wrote: On 21/02/2008, Phillpotts, James [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with a Jmeter test plan where I'm trying to use String.indexOf(String) in a __javaScript

JDBC Connection Pool questions

2008-02-21 Thread Steve Miller
Hi, I'm running some JDBC load tests against Oracle, using a 'prepared select' statement. My latency and thruput are excellent at up to ~16 threads (users), then falls off the cliff. The latency increases by over a factor of 100, and the aggregate thruput decreases by a factor of about 40. I

How to get new csv data for each request

2008-02-21 Thread joeweder
I have an HTTP Request HTTPClient that I want to feed with data from a csv file. I have that working but the problem is that I want EACH request to get new values from the csv file. It only reads new data for each thread. So I am sending the same query every time and I don't want that. I tried

Re: JDBC Connection Pool questions

2008-02-21 Thread sebb
On 21/02/2008, Steve Miller [EMAIL PROTECTED] wrote: Hi, I'm running some JDBC load tests against Oracle, using a 'prepared select' statement. My latency and thruput are excellent at up to ~16 threads (users), then falls off the cliff. The latency increases by over a factor of 100, and

Re: How to get new csv data for each request

2008-02-21 Thread sebb
On 21/02/2008, joeweder [EMAIL PROTECTED] wrote: I have an HTTP Request HTTPClient that I want to feed with data from a csv file. I have that working but the problem is that I want EACH request to get new values from the csv file. It only reads new data for each thread. So I am sending

Re: JDBC Connection Pool questions

2008-02-21 Thread Steve Miller
thanks! sebb wrote: On 21/02/2008, Steve Miller [EMAIL PROTECTED] wrote: Hi, I'm running some JDBC load tests against Oracle, using a 'prepared select' statement. My latency and thruput are excellent at up to ~16 threads (users), then falls off the cliff. The latency increases by over

JunitRequest sampler

2008-02-21 Thread Divi
Hi , I am very new to JMeter and trying to create a JUnitRequest sampler. I created a jar file with Junit test class and copied jar file under JMeter_Home\lib\junit. When i am trying to set up Junit Request sampler through GUI, i am not finding the Junit test class name i have created, in class

Retrieve Actual Page Load Time Using JMeter

2008-02-21 Thread Amit
Is there any way to retrieve the actual page load time in JMeter? Request + Response + Time taken by browser to parse the html response and display the page content. Thanks, Amit

RE: JVM args

2008-02-21 Thread sidhik
As u had suggested , i had tried out in this many ways.. 1.) %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar %JMETER_BIN%ApacheJMeter.jar %JVM_ARGS%-Djmagick.systemclassloader=no %JMETER_CMD_LINE_ARGS% 2.) %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar -Djmagick.systemclassloader=no

RE: JVM args

2008-02-21 Thread Joseph Ribin Roy
Ok..it worked for you? -Original Message- From: sidhik [mailto:[EMAIL PROTECTED] Sent: Friday, February 22, 2008 11:34 AM To: jmeter-user@jakarta.apache.org Subject: RE: JVM args As u had suggested , i had tried out in this many ways.. 1.) %JM_START% %JM_LAUNCH% %JVM_ARGS% %ARGS% -jar

Can JMeter test a newly spawned thread by a servlet

2008-02-21 Thread Rajvinder Pal
Hi friends I have created one test plan which test web application. In that I have created one sampler (Http request) to test a servlet . JMeter is showing report properly, but the problem is that servlet spawns a new thread which keeps on running , even servlet finish it's processing and