jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Rancati <i...@sharpmind.de>
Subject Re: [newbie] A couple of questions
Date Fri, 01 Dec 2006 10:13:58 GMT

hi Francesco,

I think that the regular expression parser needs the expression in square
brackets. 
Also, I think that * should be .* if you want "any number of characters"
Can you try with

[GetPayment.*|Workflow.*]

I find this site useful as a regex reference
http://www.regular-expressions.info/


Francesco.Croci wrote:
> 
> 
> - I also attached a "Response Assertion" with "Text Response" and
> "Contains" selected and "GetPayment* | Workflow*" as "patterns to test".
> 
> The response I get back is:
> 
> ?xml version="1.0"
> encoding="utf-8"?>GetPaymentMethodtruetruetruetruetrue00 
> 
> so I would suppose the assertion is true, but under the Assertion Result
> listener stays 
> 
> "StartCheckout
> 	Test failed, text expected to contain /(GetPayment* | Work*)/"
> 
> If I put only "GetPayment*" as pattern to test, then I get a positive
> match...
> 
> Do I make something wrong? How do you build then "OR" clauses?
> 
> 

-- 
View this message in context: http://www.nabble.com/-newbie--A-couple-of-questions-tf2736841.html#a7636403
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message