Might be worth trying the -server qualifier.
If this works, it should give better settings than the default -client.
S.
-Original Message-
From: Michael Chandler [mailto:[EMAIL PROTECTED]
Sent: 23 August 2004 20:57
To: JMeter Users List; Peter Lin
Subject: RE: win 2000
I appreciate
I hope this is a better detailed of what I am doing, please let me know if
its not up to your standard.
what are you trying to do
-- I'm trying to create a Jmeter test, using one of our applications I want
to test how long it takes to creating a product ( the application uses java
html and
Does anyone know of a way to save *just* the contents of HTTP pages for
which assertions have failed? I have JMeter set up to test several pages on
a regular basis and I've noticed that occasionally my Response Assertions
for certain pages fails. For these instances, I'd like to save what was
What does the HTML response look like that contains the productID (or is it
BookingID?)
Regexes need to be carefully crafted to ensure that they pick up exactly
what is needed - no more, no less, so *exact* details are needed.
S.
P.S. Have you read the JMeter FAQ and the Wiki?
There is some info
It would be useful, but I'm not sure that is possible at present - or at
least not easy.
You might be able to use an if controller in conjunction with a Save
Response Post Processor, but I'm not entirely sure how to code the If
condition.
There's probably also a way to do this using Beanshell,
Hi
Thank you for replying
Is this okay?
input type=hidden name=service value=
input type=hidden name=cacheBuster value=
input type=hidden name=productID value=10442
input type=hidden name=mode value=Create
input type=hidden name=editActiveDetailID value=-1
input type=hidden
So long as there are no other instances of the string
name=productID
in the response, and the value is always a string of numbers, the following
regex should work:
name=productID\s+value=(\d+)
If the name and value might be split across lines, enclose the regex as
follows:
By the way, you probably want to use the Regular Expression Extractor
Post-Processor rather than the Function __regex().
Attach the element as a child of the sampler that returns the html to be
scanned.
S.
-Original Message-
From: BAZLEY, Sebastian
Sent: 24 August 2004 11:49
To:
It's exactly the opposite: you'll want those parameters (tuned as
suggested in the script's comments) when you need to generate high loads
-- that is: in actual use, not during development.
These settings minimise (or almost) the amount of time spent in garbage
collection. This increases
Thank you again
Sorry if this I this is a silly question
I am running Jmeter version 1.8.1 how do I use the Regular Expression
Extractor
This is what my test looks like
Create product
-create booking
---Response Assertion
-Addproduct - this has productID (do I leave the original
that's strange. when I run it with and without the extra options on my
gateway laptop running XP and my old P3 450 it is faster if I just
have -server without all the extra options.
maybe it's just my system or configuration.
peter
On Tue, 24 Aug 2004 13:13:29 +0200, Jordi Salvat i Alabart
Maybe this is a dumb question but is there a way I can tell what the
heap size is before I try setting it? Or what is available? Can you tell
me the relationship between -Xms/-Xmx and -XX:NewSize/-XX:MaxNewSize?
Maybe this will help me understand the two settings.
-Original Message-
From:
Listeners can be instructed to record only errors. Most have a checkbox
to that effect up top. If you were to tell jmeter to record result data
(either via the jmeter.properties file or by clicking 'functional
testing' in the TestPlan element) and only log errors, I think you would
effectively
-Xms is the minimum heap size
-Xmx is the max heap size
-XX:NewSize - if I remember correctly, it sets the size of new heap
allocation. when this is set bigger, the vm has to allocate new heap
memory less.
the last one I could be wrong.
peter
On Tue, 24 Aug 2004 06:51:49 -0600, Michael
This is the sort of information without which our help is meaningless.
You might find it useful to upgrade your JMeter to the latest: 2.0.1.
-Mike
On Tue, 2004-08-24 at 08:05, Rita danger wrote:
Thank you again
Sorry if this I this is a silly question
I am running Jmeter version 1.8.1 how
BTW, JMeter should work with Java 1.3, but works best with 1.4, and pick the
most recent version to ensure you have all the latest fixes, e.g. 1.4.2_05
at present.
[Not sure if anyone has tested in earnest with 1.5 (I mean 5), and that is
still in Beta anyway.]
S.
-Original Message-
Sadly, the save responses to file post processor doesn't have the option
to save only upon error. And there doesn't seem to be a way to scope the
post-processor within, say, an assertion results listener which does have
the option.
So for example, if I do this:
ThreadGroup
Happily, there are Bugzilla enhancement requests :-)
Could perhaps add a checkbox to the save responses element, etc.
S.
-Original Message-
From: Pollard, Matthew (Mat) 1275 [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 14:30
To: 'JMeter Users List'
Subject: RE: Conditional Dump Of HTTP
I didn't try and I had some problems, thats why I am still using 1.8.1
After running my tests I export the results onto a spreadsheet and the
problem was that the layout/sequence of the output changed, so the
formulas on the spreadsheets where all wrong.
The ONLY reason why I am still using
I'm biased, so take this with a grain of salt.
jmeter 2.0 is much better and the regexp changes in 2.0 are better in
my mind. for me, it's worth while to update the excel spreadsheet and
use 2.0.
you'll have to decide for youself whether it is worth it or not.
peter
On Tue, 24 Aug 2004
-server provides much more significant gains than any heap/GC tuning.
I didn't dare to put it in the script because I've seen JREs that didn't
accept it (though these may no longer be in use nowadays).
The heap tuning only provides unmeasurable gains at relatively low loads
(i.e. when the CPU
yeah, that is understandable, since Sun says the extended options are
not required of all VM.
peter
On Tue, 24 Aug 2004 16:25:56 +0200, Jordi Salvat i Alabart
[EMAIL PROTECTED] wrote:
-server provides much more significant gains than any heap/GC tuning.
I didn't dare to put it in the script
Where does the -server switch go?
Java -jar ApacheJMeter.jar -server ?
-Original Message-
From: Peter Lin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 8:32 AM
To: JMeter Users List
Subject: Re: win 2000
yeah, that is understandable, since Sun says the extended options
I just do this in jmeter.bat
rem set ARGS=%HEAP% %NEW% %SURVIVOR% %TENURING% %EVACUATION% %RMIGC%
%PERM% %DEBUG%
set ARGS=-server
peter
On Tue, 24 Aug 2004 08:35:26 -0600, Michael Chandler
[EMAIL PROTECTED] wrote:
Where does the -server switch go?
Java -jar ApacheJMeter.jar -server ?
java -server [other java options] -jar ApacheJMeter.jar [jmeter options]
If -server does not work, try installing the JDK/SDK or whatever it's called
now...
S.
-Original Message-
From: Michael Chandler [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 15:35
To: JMeter Users List
Subject:
-server needs to be the very first argument.
The order of the remaining arguments doesn't matter (except that if you
repeat one of them, the last one takes precedence).
--
Salut,
Jordi.
En/na Michael Chandler ha escrit:
Where does the -server switch go?
Java -jar ApacheJMeter.jar -server ?
It seems that the server and client options rely on:
JAVA_HOME\jre\bin\server
and
JAVA_HOME\jre\bin\client
at least on Win/NT
and these directories contain a jvm.dll file (as well as Xusage.txt)
So perhaps jmeter.bat could detect jvm.dll and add the -server option
accordingly ...
This
Sounds like a good plan.
On Unixes (checked Linux and Solaris) it's similar: all JDKs I have
(ranging from jdk1.3.1_07 to j2sdk1.4.2_05) have a
JAVA_HOME/jre/lib/i386/server/libjvm.so and .../client/libjvm.so.
--
Salut,
Jordi.
En/na BAZLEY, Sebastian ha escrit:
It seems that the server and
Hi
I have installed Jmeter 2.0.1 but it does not run, do I have to install java
1.4.2 ?
RD
From: BAZLEY, Sebastian [EMAIL PROTECTED]
Reply-To: JMeter Users List [EMAIL PROTECTED]
To: 'JMeter Users List' [EMAIL PROTECTED]
Subject: RE: URGENT regexFunction
Date: Tue, 24 Aug 2004 14:57:40 +0100
This is a very good article. Reading is not bad. Digesting is another
thing. I'm still working on it.
-Original Message-
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 8:21 AM
To: JMeter Users List
Subject: Re: win 2000
Check this:
Found the cause after checking other Windows machines:
New install has Oracle 9 instead of Oracle 8. Oracle9 has its own Java
virtual machine. Of course it doesn't work quite right.
The solution: Place Sun Java bin directory first in the path. Just have
to figure out what that breaks.
Jim
You can always create your own copy of jmeter.bat that sets JAVA_HOME and
PATH for JMeter only.
Or use two different machines - probably necessary when you get to doing
serious performance testing anyway !
S.
-Original Message-
From: Cronin, James [mailto:[EMAIL PROTECTED]
Sent: 24
Not enough information.
-Original Message-
From: Rita danger [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 16:08
To: [EMAIL PROTECTED]
Subject: RE: URGENT regexFunction
Hi
I have installed Jmeter 2.0.1 but it does not run, do I have to install java
1.4.2 ?
RD
From: BAZLEY, Sebastian
Had to put the GC back in. So here are the changes I made for
jmeter.bat:
rem set HEAP=-Xms128m -Xmx128m
rem set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m
set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%
set TENURING=-XX:MaxTenuringThreshold=2
set
Thanks.
En/na Michael Chandler ha escrit:
This is a very good article. Reading is not bad. Digesting is another
thing. I'm still working on it.
-Original Message-
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 8:21 AM
To: JMeter Users List
Subject:
I would recommend installing jdk1.4.2
peter
On Tue, 24 Aug 2004 16:36:40 +0100, BAZLEY, Sebastian
[EMAIL PROTECTED] wrote:
Not enough information.
-Original Message-
From: Rita danger [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 16:08
To: [EMAIL PROTECTED]
Subject: RE:
JMETER_CMD_LINE_ARGS is set from the batch file parameters - %*
JVM_ARGS is presumably intended to be set before calling jmeter.bat:
set JVM_ARGS=-Dprop=eller
jmeter -n -t test.jmx -l test.jtl
S.
-Original Message-
From: Michael Chandler [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004
Hi Peter,
Thanks I am currently installing java 1.4.2
Nearly finished so I'll give it another go when its finished
Thank you
RD
From: Peter Lin [EMAIL PROTECTED]
Reply-To: Peter Lin [EMAIL PROTECTED]
To: JMeter Users List [EMAIL PROTECTED]
Subject: Re: URGENT regexFunction
Date: Tue, 24 Aug 2004
Hi,
We have to load test apache servers serving up primarily large media
files in our application. Is it possible with Jmeter to get the correct load
testing results (i.e. if the media files are getting downloaded completely)
. I mean if it is right tool for doing load testing on media
or
set JVM_ARGS=-server
:-)
En/na BAZLEY, Sebastian ha escrit:
JMETER_CMD_LINE_ARGS is set from the batch file parameters - %*
JVM_ARGS is presumably intended to be set before calling jmeter.bat:
set JVM_ARGS=-Dprop=eller
jmeter -n -t test.jmx -l test.jtl
S.
-Original Message-
From:
One thing I tried in a similar situation (downloading .png files) was to
have a size assertion.
Of course I would not know if the .png file was correct, but having an
approximate check on the donwloaded file size for me was good enough
PS thanks to the JMeter developers for both the brilliant
You can check if the correct content has been downloaded by adding a Save
Response Post-Processor (this was added after 1.9.1, IIRC).
S.
-Original Message-
From: Ivan Rancati [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 16:59
To: JMeter Users List
Subject: Re: Flash files
One thing I
Thanks a lot everyone
-Original Message-
From: BAZLEY, Sebastian [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 10:09 AM
To: 'JMeter Users List'
Subject: RE: Flash files
You can check if the correct content has been downloaded by adding a Save
Response Post-Processor (this
Good. That's what I did. Thanks.
-Original Message-
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 24, 2004 9:58 AM
To: JMeter Users List
Subject: Re: win 2000
or
set JVM_ARGS=-server
:-)
En/na BAZLEY, Sebastian ha escrit:
JMETER_CMD_LINE_ARGS is set
Indeed ... we should add some comments to the BAT file ...
It would be useful if most of the other stuff could be made optional.
S.
-Original Message-
From: Jordi Salvat i Alabart [mailto:[EMAIL PROTECTED]
Sent: 24 August 2004 16:58
To: JMeter Users List
Subject: Re: win 2000
or
set
Hello,
I've been trying to figure out the correct regular expression to be
using to extract a random value from a combobox (html select) and
can't quite seem to get the syntax right.
I'm trying to use this expression in the Regular Expression field of a
Regular Expression Extract Post Processor
I don't think you can do that with regular expressions. To do so would
require the matcher attempt to match multiple different ways against the
same text, and that's just not how they work.
Alternatively, you can sometimes use the HTML Link Parser for this sort
of thing. I say 'sometimes'
Just an FYI..
I tried a few things at the command prompt with the -Xms switch on my
win2000 box just for the heck of it.
Here's what I got. Weird.
C:\jakarta-jmeter-2.0.1\binjava -Xms1.024m
Invalid initial heap size: -Xms1.024m
Could not create the Java virtual machine.
48 matches
Mail list logo