jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Cysne <>
Subject Re: client id Template name - How to Parameterize Name field
Date Wed, 14 Nov 2012 14:06:36 GMT
Add a Regular Expression Extractor in a prior sampler with
Template\$([0-9a-zA-Z\$]+)\$login\$UserName as regex. Use the given
reference name as a variable in the parameter name field, like this:

Remember to let Encode checkbox field unchecked.
%26 is the ascii hexadecimal representation of $ character

2012/11/14 Gavin Maselino <>

>  Hi
> On one of my servers, when I record the JMeter script the user name client
> ID (as an example) is Template$ctl17$ctl00$login$UserName. On another
> server  it is Template$ctl15$ctl00$login$UserName.
> So the same test cannot be re-run on a different server without making
> script changes to the Parameter Name field.
> What I want to be able to do is somehow parameterise the Name field so
> that it will work on either server. Just to re-iterate it is the paramter
> name field, not the value field. I have attached a screenshot also.
> Can anyone advise as I have been racking my brains and cannot see an
> answer?
> Many thanks in advance
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message