I have an HTTP request with the following response:

<results status="ok">
   <response>
      <account_id>ceeaf4e3face4dc99afef6399bd5b331</account_id>
      <session_key>K6e0L97HNekLTwv3AaRH</session_key>
      <start_count>927302611</start_count>
<ticket>oDbpwdQOpC0fscaHhZ9mb8HGmO3Y/ aJH3mx9jPLutXpOCIjYCzynQuDI55arUhseMKm8NNUQGc063Zc2ml +W1l7Y1vzwhT9E3nhNQ/yIWNLqeEc/nBYfEv/9jwXNitIsB8GG5cW/OeR36xK4WzErvlJp/ 2pqIiC9fv9KMOxHjukFe1jDvwoaA70x5uvkGkDWcffEvghJBjXmZrfqJvaDZqa4x +QYxKbTjoGgHEn2vOSiudmBa0AWVEsfk83zyQEJrG +xTCKirPy9ODUJRQIilR1C6xF39oxCIVOpA82DuUU=</ticket>
      <ticket_nonce>_PmVicRYhmkRPr7eMnKq</ticket_nonce>
   </response>
</results>

I need this entire response stored in a variable as a string, so that I can pass it into another HTTP Request.

I tried creating an XPath Extractor with the XPath "/results". But it sets the variable to the empty string.

I also tried using a regular expression extractor with the regular expression "(.*)" and the template $1$. It set the variable to "<session_key>K6e0L97HNekLTwv3AaRH</session_key>". That seems really strange to me.

Is there anyway to get the entire response of an HTTP Request in a variable so that I can use it later?

Michael-

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to