You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ryan Miling <rm...@bzzagent.com> on 2008/08/06 17:38:02 UTC
Remove a variable
Using a regular expression extractor inside a loop, a variable was
defined that I need to be removed. What component would I use to remove
a variable that was defined?
The name of the variable is x${numX} and would be accessed by
${__V(x${numX})}
Thank you,
Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Remove a variable
Posted by Ryan Miling <rm...@bzzagent.com>.
Thank you Sebb, that works perfectly.
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Sunday, August 10, 2008 8:51 PM
> To: JMeter Users List
> Subject: Re: Remove a variable
>
> On 06/08/2008, Ryan Miling <rm...@bzzagent.com> wrote:
> > Using a regular expression extractor inside a loop, a variable was
> > defined that I need to be removed. What component would I use to
remove
> > a variable that was defined?
> >
> > The name of the variable is x${numX} and would be accessed by
> > ${__V(x${numX})}
> >
> >
>
> Variables can be deleted using a BeanShell or BSF PostProcessor, e.g.
>
> vars.delete("x${numX}")
>
> > Thank you,
> > Ryan
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Remove a variable
Posted by sebb <se...@gmail.com>.
On 06/08/2008, Ryan Miling <rm...@bzzagent.com> wrote:
> Using a regular expression extractor inside a loop, a variable was
> defined that I need to be removed. What component would I use to remove
> a variable that was defined?
>
> The name of the variable is x${numX} and would be accessed by
> ${__V(x${numX})}
>
>
Variables can be deleted using a BeanShell or BSF PostProcessor, e.g.
vars.delete("x${numX}")
> Thank you,
> Ryan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org