Hi sebb, you're right :)
GetPayment|Workflow works right and it is more specific. Thank you very much for the hint. Francesco PS: Do you also maybe have an answer to the first part of my question, about how can I see the request I send? > -----Original Message----- > From: sebb [mailto:[EMAIL PROTECTED] > Sent: Friday, December 01, 2006 12:42 PM > To: JMeter Users List > Subject: Re: [newbie] A couple of questions > > Duh! should have noticed those. > > Square brackets are used for character ranges - [abcxyz] > means match a or b or c or x or y or z. So your expression > will match any page with an a or e or ... in it. Rather too > permissive... > > I think you need: > > GetPayment|Workflow > > Note that spaces are significant, which is why > > GetPayment* | Workflow* > > did not work. > > S. > On 01/12/06, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > Hi Ivan, > > > > tank you very much. With the square brakets it works fine :) > > > > Ciao > > Francesco > > > > > -----Original Message----- > > > From: Ivan Rancati [mailto:[EMAIL PROTECTED] > > > Sent: Friday, December 01, 2006 11:14 AM > > > To: [email protected] > > > Subject: Re: [newbie] A couple of questions > > > > > > > > > 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: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

