I have a Jmete testplan that includes more than 50 HTTP Requests.
Each request has a NAME that reflects what it is doing,
Exampel names:
Validate Logon
Validate Logon bad user name
Validate Logon bad user password
Validate Logon bad employee number
This results in a very large aggregate report wi
The referenced doc indicates that the
> These can be used anywhere within the expression, e.g.
> (?i)apple(?-i) Pie - matches "ApPLe Pie", but not "ApPLe pIe"
If I place the (?s) at end of pattern I get the failure shown below.
Assertion failure message : Bad test configuration
org.apache.oro.tex
Kapinos
<[EMAIL PROTECTED]> wrote:
> This might help...
>
> http://www.regular-expressions.info/dot.html
>
> Jmeter uses perl5 type regex I believe.. This guide talks about single
> line mode and the differences in what matches what, etc.
>
> -Steve
>
> -Original
sermanual/regular_expressions.html#line_mode
>
> On 08/05/2008, Michael Giroux <[EMAIL PROTECTED]> wrote:
>> my current pattern is "some text.*heading +value" (without the quotes)
>>
>> I wish the .* to match new-lines, so I have to specify the single line
>> modifier
my current pattern is "some text.*heading +value" (without the quotes)
I wish the .* to match new-lines, so I have to specify the single line
modifier, but I'm not able to figure out how to do that exactly.
Thanks
> > OK, I can understand this from the parser point of view. How about
> > the functions themselves? Is it realistic to allow variable and
> > property names to contain leading and trailing spaces?
>
> Why not?
Because spaces in these fields are not completely obvious in the
configuration dial
> The documentation may not make clear that all spaces are significant,
> but equally it does not say that leading and trailing spaces are
> ignored.
My expectation was that spaces were ignored. If this is not the case,
it would be handy to make that point clear in the docs.
> > Is there a reas
It would be very handy to add a check box to the configuration dialog
to allow the user to define a variable or a property. If the test
plan needs to extract text that will ultimately be tested in a
subsequent thread group, it is necessary to first extract the text
using the regex extractor and as
> The docs specifically state that variables are local to threads.
Yes, I see that now. It is mentioned in a highlighted box in 19.
Functions and Variables topic.
As I was hunting around the JMeter documentation, and came upon an
entry in the Wiki asking whether users actually read the docs. I
I used __setProperty and included some spaces for readability.
ex. __setProperty( name, ${varName} )
Later in the test when I referenced __P(name) I got a value of '1' as
if the property was not defined.
This seems like a bug in the parser to me. Is there a reason that the
parser did not
> Variables are specifically designed to be local to threads (not just
> thread groups).
> This is because threads represent different users.
>
> JMeter properties are global, see:
>
> http://jakarta.apache.org/jmeter/usermanual/functions.html
It would be helpful to include little reminders such a
> Is there some way to make this definition global to the entire test plan?
Answered my own question: __setProperty()
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I just ran another test and discovered that the variable defined by
the RegEx Extractor is only visible within the thread group that
crated it.
As I explained, I execute a transaction to echo the value of the
variable to confirm that the value has been extracted correctly. This
echo correctly dis
> Are you sure?
>
> It works fine for me.
>
> Try defining VAR as fixed text, and check that the RA works.
Yes, that works.
> If the VAR appears to be set, but is not being picked up by the RA,
> then perhaps the variable is being defined after the RA is processed.
That would seem to be a bug.
> Start with fixed strings, and replace them with variables defined in
> the CSV Dataset.
I have tried to do something similar, but cannot figure out how to use
a variable in a response assertion. The documentation is not overly
clear on this point.
1. I have an HTTP request that generates a wel
I have several test plans committed to CVS for use by development team
members. The test plans all need a server address and port number
configured for the local development system.
I would like each developer to define a properties file that can be
read, or set environment variables, but I do no
16 matches
Mail list logo