jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordi Salvat i Alabart <jsalv...@atg.com>
Subject Re: using response assertion to detect certain type of text
Date Fri, 12 Dec 2003 15:07:01 GMT
Hi Becky,

the response assertion uses ORO/Perl regular expressions.

This is what you need:

Field: Text Response
Rule: Contains
Pattern: [^\d]2003\d{7}[^\d]

Hope it helps.

-- 
Salut,

Jordi.

En/na Becky Moore ha escrit:
> One of the requirements I have to test for is a number that will begin with
> a set number based on the year and end with 7 digit number for the document.
> The year I can assume will remain the same for a couple more weeks but the
> rest of the number is completely variable. I saw nothing in the response
> assertion data to let me know how to test for a string that starts with
> something specific and has a number of variable characters after that. If
> this capability doesn't exist let me know. If it does exist PLEASE let me
> know.
> 
>  
> 
> Thank you,
> 
> Becky
> 
>  
> 
> 


---------------------------------------------------------------------
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