You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by socio_pal <so...@yahoo.com> on 2008/04/09 23:48:58 UTC

Xpath Extractor

Hi:
I am trying to extract few values from my XML response and validate them
later. Guess, Xpath Extractor would be an apt component to use. But the
Jmeter manual does not have enough info on that. What exactly should this
component be added? Is it after my Reponse Assertion? 

I would basically be able to extarct few values from my SOAP XML response
and store it in a variable. Can you please give me more info on this?

Thanks
-- 
View this message in context: http://www.nabble.com/Xpath-Extractor-tp16597569p16597569.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


Re: Xpath Extractor

Posted by sebb <se...@gmail.com>.
No need for the 'Save Reponses to a file' Post-Processor (unless you
want to save the raw data as well).

Extractors work on the most recent sample.

On 10/04/2008, Kapil Khanna Avolent <kk...@avolent.com> wrote:
>  you can use the 'Save Reponses to a file' Response Assertion and after
>  that use Xpath Extractor to extract the value in a variable.
>
>  For ex:
>  /rows/row/cell[last()-7]
>
>
>
>
>  -----Original Message-----
>  From: socio_pal [mailto:socio_pal@yahoo.com]
>  Sent: Thursday, April 10, 2008 11:19 AM
>  To: jmeter-user@jakarta.apache.org
>  Subject: Re: Xpath Extractor
>
>
>  Could I please get some info on this. I would appreciate it if I have a
>  solution for this today.
>
>  Thanks
>
>
>  socio_pal wrote:
>  >
>  > Hi:
>  > I am trying to extract few values from my XML response and validate
>  > them later. Guess, Xpath Extractor would be an apt component to use.
>  > But the Jmeter manual does not have enough info on that. What exactly
>  > should this component be added? Is it after my Reponse Assertion?
>  >
>  > I would basically be able to extarct few values from my SOAP XML
>  > response and store it in a variable. Can you please give me more info
>  on this?
>  >
>  > Thanks
>  >
>
>  --
>  View this message in context:
>  http://www.nabble.com/Xpath-Extractor-tp16597569p16612495.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
>
>

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


RE: Xpath Extractor

Posted by Kapil Khanna Avolent <kk...@avolent.com>.
 you can use the 'Save Reponses to a file' Response Assertion and after
that use Xpath Extractor to extract the value in a variable.

For ex:
/rows/row/cell[last()-7]



-----Original Message-----
From: socio_pal [mailto:socio_pal@yahoo.com] 
Sent: Thursday, April 10, 2008 11:19 AM
To: jmeter-user@jakarta.apache.org
Subject: Re: Xpath Extractor


Could I please get some info on this. I would appreciate it if I have a
solution for this today.

Thanks


socio_pal wrote:
> 
> Hi:
> I am trying to extract few values from my XML response and validate 
> them later. Guess, Xpath Extractor would be an apt component to use. 
> But the Jmeter manual does not have enough info on that. What exactly 
> should this component be added? Is it after my Reponse Assertion?
> 
> I would basically be able to extarct few values from my SOAP XML 
> response and store it in a variable. Can you please give me more info
on this?
> 
> Thanks
> 

--
View this message in context:
http://www.nabble.com/Xpath-Extractor-tp16597569p16612495.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


Re: Xpath Extractor

Posted by socio_pal <so...@yahoo.com>.
Could I please get some info on this. I would appreciate it if I have a
solution for this today.

Thanks


socio_pal wrote:
> 
> Hi:
> I am trying to extract few values from my XML response and validate them
> later. Guess, Xpath Extractor would be an apt component to use. But the
> Jmeter manual does not have enough info on that. What exactly should this
> component be added? Is it after my Reponse Assertion? 
> 
> I would basically be able to extarct few values from my SOAP XML response
> and store it in a variable. Can you please give me more info on this?
> 
> Thanks
> 

-- 
View this message in context: http://www.nabble.com/Xpath-Extractor-tp16597569p16612495.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