You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Jonathan Kwadzo <Jo...@rona.ca> on 2003/06/03 20:35:37 UTC

HTML Link Parser

Hi,

Can you please help me with the HTML Link Parser? I have a request which returns a page containing this text :

<TR><TD><a href="javascript:goto('someURL?someParam=SomeValue1&myParam=1234')">desc1</a></TD></TR>
<TR><TD><a href="javascript:goto('someURL?someParam=SomeValue2&myParam=2345')">desc2</a></TD></TR>
<TR><TD><a href="javascript:goto('someURL?someParam=SomeValue3&myParam=3456')">desc3</a></TD></TR>

I've set the path of my next sample as .*myParam=\d+.* with a HTML Link Parser modifier, thinking the computed path will be one that matches the regex in my HTML response, but it's not working.

Any help please?

Thanks

Jonathan



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: HTML Link Parser

Posted by ms...@apache.org.
Sorry, the Link Parser doesn't understand Javascript.

-Mike

On 3 Jun 2003 at 14:35, Jonathan Kwadzo wrote:

> Hi,
> 
> Can you please help me with the HTML Link Parser? I have a request which 
returns a page containing this text :
> 
> <TR><TD><a 
href="javascript:goto('someURL?someParam=SomeValue1&myParam=1234')
">desc1</a></TD></TR>
> <TR><TD><a 
href="javascript:goto('someURL?someParam=SomeValue2&myParam=2345')
">desc2</a></TD></TR>
> <TR><TD><a 
href="javascript:goto('someURL?someParam=SomeValue3&myParam=3456')
">desc3</a></TD></TR>
> 
> I've set the path of my next sample as .*myParam=\d+.* with a HTML Link 
Parser modifier, thinking the computed path will be one that matches the 
regex in my HTML response, but it's not working.
> 
> Any help please?
> 
> Thanks
> 
> Jonathan
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 



--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org