You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by nlunebur <nl...@lisasoft.com> on 2004/08/11 09:33:07 UTC
urgent: regex function does not seem to behave as it shud!??
hi all!
i have the following regex function in a 'http request':
NAME VALUE
somename ${__regexFunction("*No options
available*",somevalue1,ALL,,somevalue2,)}
therefore if the text 'No options available' is anywhere in the response
of the previous request,
it should send a request like:
http://blahblah/?somename=somevalue1
otherwise send a request like: http://blahblah/?somename=somevalue2
my regex function works if i test for another text in the response such
as "*My Home*", but for some reason when i have
"*No options available*" it does not work. i have tried "*No*", which
works, but doesnt work if i try "*options*" or "*available*".
i have checked that this is the exact text in the response, and that the
case matches, however it keeps sending 'somevalue2' all the time!!!
can anyone help me out on this?
thanku!
nicole
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org