JMeter uses Jakarta ORO (http://jakarta.apache.org/oro/index.html) to
implement Perl5 patterns.
Since Perl includes multi-line patterns using the "m" and "s" modifiers:
m
Treat string as multiple lines. That is, change ``^'' and ``$'' from
matching the start or end of the string to matching the
Also,
(sample.*){8,8} will match exactly 8 occurrences.
-Mike
On 1 Oct 2003 at 10:41, BAZLEY, Sebastian wrote:
> JMeter uses Jakarta ORO (http://jakarta.apache.org/oro/index.html) to
> implement Perl5 patterns.
>
> Since Perl includes multi-line patterns using the "m" and "s"
modifiers:
>
>
True, but won't it stop looking when it has found 8 matches?
i.e. there could be more "sample"s later in the buffer?
==
One could try anchoring the last sample:
(sample.*){7,7}(sample.*$){1,1}
but I think that would suffer from the same problem as the negative
look-ahead.
It may be tricky stopp
What exactly is the difference between running a test plan with the Run
Thread Group Seperatly box checked and not checked. There is a huge
difference in my results.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
[Redirected to JMeter User]
If you run jmeter in non-GUI mode (-n flag) there will be fewer overheads.
Also, the number and type of listeners (visualisers) can make a big
difference to resource usage.
View tree is expensive. Aggregate is cheaper.
See Mike's posting a few days ago in JMeter user.
Can't find the doc at present, but the difference is that one runs the
groups concurrently and the other consecutively.
S.
-Original Message-
From: Renee Dunn [mailto:[EMAIL PROTECTED]
Sent: 01 October 2003 16:55
To: JMeter Users List
Subject: Run Thread Group Seperatly
What exactly is t
Thanks, everyone, for your responses. I really
appreciate your assistance.
I'm looking into the m and the s modifiers and I'm
having some difficulties using them in Response
Assertions. For example, if my response is an HTML
page with exactly 8 occurrence of the word "sample", I
am able to use a
The modifiers are placed after the regex.
e.g. /sample/s
But I've just realised that perhaps JMeter/ORO handle modifiers differently
- they may have to be spcified independently of the regex.
Your test with m/sam.*e/ suggests that this is may be the case.
Sorry if I misled you earlier.
I'll try
Is there a way to get an environment variable with in jmeter as a script is
executing?
I don't mean a variable in the jmeter properties file.
Is there a javascript I can use, or something else.
Thanks,
Chris
-
To unsubscribe
Guys,
I ran some tests overnight with jmeter v1.9.1, and got some odd results...
--
Threads RateR/Thr. Avg CPU
1 x 1 13/sec 13/sec 75ms28%
1 x 5 22/sec 4.4/sec 222ms 38%
1 x 10 23/sec 2.3/sec 436ms
Not that I know of, because Java does not give access to environment variables.
[But it's possible that JavaScript gives access.]
One can easily edit the script that starts JMeter to pass in the value of an
environment variable as a property.
e.g. on Windows:
java ... -jar ApacheJMeter.jar -Dmy
On Wed, Oct 01, 2003 at 05:13:01PM +0100, BAZLEY, Sebastian wrote:
> [Redirected to JMeter User]
>
> If you run jmeter in non-GUI mode (-n flag) there will be fewer overheads.
I would, except I can't figure out how to import the resulting xml file
in jmeter! All the Open menu commands give me an
At least on Perl v5.8.1, this will do the magic:
^(?>.*?foo){8}(?!.*?foo)
Explanation:
^ anchors the match at the beginning of the string
(?>X) is a "do not backtrack" or "intependent subexpression". Whatever
is matched by pattern X at first shot will be "bound" to this
subexpression, and won
Hi,
We like to send a cookie with the login name as the value with some of
our http requests.
We made changes in the code on the web server to
bypass authentication done via https as we could not configure jmeter
to work with https requests. I tried to add this cookie name and value
in the cookie
No. In m/X/, the "m" is for the "match" operator. The modifiers here go
after the last slash: m/X/m or m/X/s. But that's Perl syntax. In JMeter,
you only write the "X" -- the operation and modifiers (whatever they
are) are hardcoded in the Java code. Fortunately, there's a trick to add
a modifi
Before I set off to build a sizable Plan does anyone know about
Samplers/Assertions/Threads you can have before you run into trouble?
Thank you,
Patrick Sullivan
Centura Health
This communication is for the use of the intended recipient only. It may contain
information that is privileged
Hi,
is it possible to create a web test plan with "dynamic" parameters, as in
- web application where you can manage records. First request goes to
"addRecord.jsp", which creates a new record. JMeter reads RECORD_ID from
response. Next it calls "deleteRecord.jsp" with the obtained RECORD_ID
- R
I do the first bit for my application load test, not sure what you're asking in the
second point.
This is how to do what I think you're asking for in your first question:
When a user clicks the "create entity" button in our app, the result page displays
something along the lines of "entity creat
Thanks a bunch!
Maybe I was a bit unclear about the second case. Basically I was asking
whether it is possible to create random parameters. Assume there are
records with RECORD_IDs from 1 to 100. Can I make JMeter pick one ID
randomly, and use it as a request parameter?
- - -
Janne Mattila
Järje
19 matches
Mail list logo