jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank>
Subject Re: Regular Expression Extractor cannot extract value
Date Mon, 04 Oct 2010 09:24:37 GMT

be wary of Regex special characters like "?", which you will usually
want to escape. I'm not sure, but '&' may be actively hurting you in
this expression.

You may want to keep your expression as simple as possible, so long as
it still matches your search string unambiguously. E.g.

form id="xxxForm".*?p_auth=(.+?).amp;

Note that I worked around possible '&' awkwardness using . instead.


On 10/04/2010 10:41 AM, cal0y wrote:
> Good day,
> I am trying to extract an authentication token from a url so i can use for
> post methods but my regular expression extractor does not seem to get the
> value. Here are the contents of the regular expression extractor.
> Reference Name: TOKEN
> Regular Expression: <form id="xxxForm"
> action=";p_p_id=
> Template: $1$
> Match No.: 1
> Default value: hello
> When i use ${TOKEN} in other requests the value it returns is hello. Am i
> missing something?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message