jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <>
Subject Re: Passing values from regular expression
Date Thu, 22 Jun 2017 05:36:39 GMT

Am 21. Juni 2017 18:31:43 MESZ schrieb praveen tiwari <>:
>Hi All,
>I have a scenario as below and seeking for help on same.
>I have a request and it's response contains data as below which I am
>to extract using regular expression:
>Fare 1

What is fare? I don't understand it?

>ABC 1, ABC 1, ABC 1 (multiple times)
Is ABC 1, ABC 1, ABC 1 already multiple times, or is it three times x ABC 1

Maybe you could give a more concrete example with?

>XYZ 1, XYZ 1, XYZ 1  (multiple times)
>Fare 2
>ABC 2, ABC 2, ABC 2 (multiple times)
>XYZ 2, XYZ 2, XYZ 2  (multiple times)
>Fare n
>ABC n, ABC n, ABC n (multiple times)
>XYZ n, XYZ n, XYZ n  (multiple times)
>Required scenario is:
>when I am getting fare 1, I need to select ABC 1 and XYZ 1.
>when I am getting fare 2, I need to select ABC 2 and XYZ 2.
>when I am getting fare n, I need to select ABC n and XYZ n.
>Problem I am facing is I am able to fetch "fare n" but when same number
>is applied on ABC/XYZ in regular expression (templates), I am getting
>from different fare section. e.g if I consider fare 2 (defined number
>regexp template is 2), I am getting 2nd value from Fare 1 (ABC 1 and
>XYZ 1
>which is at 2nd position).

I don't understand the description. Could you give the concrete regex and templates you are


>Any help with implementation of above login would be highly
>If required more details, please let me know.

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

View raw message