Arumugam Vallimuthu wrote:
> Hi,
>
> I am new to Jmeter. I am facing some issues while fetching the data
> while using Xpath Extractor.
>
> <td colspan="2" align="left">
> <a href="/pdownload.do?target=100444-76&method=hs">HTTP</a>
> </td>
>
>
> I want to fetch the specific data:
>
> */pdownload.do?target=100444-76&method=hs*
>
> For getting this url I have used the following Xpath query : *//a[text()
> = 'HTTP']/@href
>
> *and I used Tidy and Reference Name is : Patchdownload
>
> Actually the same kind of link is displayed in the application 2 times.
> That link was
>
> <a href="/pdownload.do?target=100444-76&method=h">HTTP</a>
> But our script is taking the first value. How can I specifically say to
> jmeter to fetch the 2 nd displaying value?
>
> Thanks in Advance.
>
> Regards
> Aru
>
If the reference name is 'Patchdownload', then the variable
'Patchdownload_matchNr' will hold the number of matches, and
'Patchdownload_1', 'Patchdownload_2', 'Patchdownload_3'... will hold the
matched data.
# r
--
Ronan Klyne
Business Collaborator Developer
Tel: +44 (0)870 163 2555
[EMAIL PROTECTED]
www.groupbc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]