On 05/01/2009, SAUMET Yoann SILICOMP <[email protected]> wrote:
> Hello, I'm subscribing to your mailing list to find help for the following
>  problem.
>
>
>
>  I'm working with Jmeter 2.3.2
>
>  I try to link the regular expression extractor with a CSV file.
>
>  For that I tried Jmeter syntaxe for variable : ${user} (which matches with a
>  column of the CSV file):
>
>
>
>  User&amp;id=(\d+)&amp;resourceId=(\d+)" title="${user}"
>
>  instead of
>
>  User&amp;id=(\d+)&amp;resourceId=(\d+)" title="REDFORD"
>
>
>
>
>
>  Of course, it does not work.
>
>  Can you help me please ?

Use the Debug Sampler to show what the "user" variable is really set to.

I find the best way to debug REs is to start with fixed text (i.e. REDFORD).
Once that is working, try setting a dummy variable to REDFORD (e.g. on
the Test Plan) to check that the substitution in the Regex is working
as you expect.

Finally set the variable using the CSV Dataset.

Divide and conquer...


>  Thank's very much.
>
>  Yoann S.
>
>
>
>
>
>  Cordialement,
>
>  Yoann SAUMET
>  Ingénieur Systèmes d'Information
>
>  Tel bureau : +33 4 37 24 08 10
>
>  Tel agence : +33 4 37 24 62 70
>
>  [email protected]
>  Groupe Silicomp - Filiale du Groupe France Telecom
>
>  Le Rodin - 26 rue Louis Blanc - 69006 Lyon
>   <http://www.orange-business.com/> www.orange-business.com
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to