You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Muthukrishnan S." <mu...@sonata-software.com> on 2013/04/24 12:45:26 UTC
Xpath extractor
Dear All,
I'm trying to extract the values of Integer nodes (1,2,3 and 4) using Xpath extractor from an xml response in JMeter. Please let me know the Xpath expression for the same.
<Property name="abc">
<List>
<Integer>1</Integer>
<Integer>2</Integer>
<Integer>3</Integer>
<Integer>4</Integer>
</List>
</Property>
Thank you,
Muthu.
Disclaimer: "The materials contained in this email and any attachments may contain confidential or legally privileged information. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Sonata is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt"
Re: Xpath extractor
Posted by Flavio Cysne <fl...@gmail.com>.
Before giving you the answer, I suggest you to read more about XPath
http://www.w3schools.com/xpath/default.asp
XPath to retrieve Integer element values: //Property/List/Integer/text()
Good luck.
2013/4/24 Muthukrishnan S. <mu...@sonata-software.com>
> Dear All,
>
> I'm trying to extract the values of Integer nodes (1,2,3 and 4) using
> Xpath extractor from an xml response in JMeter. Please let me know the
> Xpath expression for the same.
>
> <Property name="abc">
> <List>
> <Integer>1</Integer>
> <Integer>2</Integer>
> <Integer>3</Integer>
> <Integer>4</Integer>
> </List>
> </Property>
>
> Thank you,
> Muthu.
> Disclaimer: "The materials contained in this email and any attachments may
> contain confidential or legally privileged information. The information
> contained in this communication is intended solely for the use of the
> individual or entity to whom it is addressed and others authorized to
> receive it. If you are not the intended recipient you are hereby notified
> that any disclosure, copying, distribution or taking any action in reliance
> on the contents of this information is strictly prohibited and may be
> unlawful. If you have received this communication in error, please notify
> us immediately by responding to this email and then delete it from your
> system. Sonata is neither liable for the proper and complete transmission
> of the information contained in this communication nor for any delay in its
> receipt"
>