jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Regular Expression Extractor Issue
Date Thu, 03 Jan 2008 02:33:18 GMT
On 03/01/2008, gnr80 <nagu_bandi@yahoo.com> wrote:
>
> I am trying to extract following values from previous response and pass it to
> subsequent requests using Reguluar Expression Extractor.  But it always
> returns defualt value defined in the Extractor.
>
> <pre>
> img id=_menuShow onclick="_showMenu();clearForm(this)"
> src="images/showmenu.gif" style="cursor:hand; display:none" alt="(.+?) Menu"
> width="(.+?)" border=0
>
> </pre>
>
> It seems to be the problem with the above tag has bracket characters. If I
> remove "<img id=_menuShow onclick="_showMenu();clearForm(this)" " then it
> works fine. Are there any escape characters to tell Extractor not to
> evaluate the above brackets.

Yes, the escape character is \ so you must use

_showMenu\(\);

rather than

_showMenu();

etc.

> Thanks,gnr80
> --
> View this message in context: http://www.nabble.com/Regular-Expression-Extractor-Issue-tp14589696p14589696.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message