AnsweredAssumed Answered

using HTTP/S Live invocation to get remote content works, but the content is not sent to the original!  -- working now

Question asked by sdetweil2 on Mar 9, 2016
Latest reply on May 11, 2016 by Melanie_Giuliani

I have this VSM (using DT 8.5.0) that has a few script steps, then executes an HTTP/S live invocation step  to pass the request on to the  original server.


I get the correct response from the server, and now let it fall thru to do the normal respond processing


script step 1

script step 2

http/s live invocation

prepare response


the response at postman looks good, except no data

return code is 200 OK

the  headers come back properly

  • Access-Control-Allow-Headers →origin, content-type, accept
  • Access-Control-Allow-Methods →GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD
  • Access-Control-Allow-Origin →*
  • Cache-Control →no-store
  • Connection →keep-alive
  • Content-Encoding →gzip
  • Content-Length →10
  • Content-Type →application/json
  • Date →Wed, 09 Mar 2016 12:47:11 GMT
  • Pragma →no-cache
  • Server →nginx/1.8.0
  • X-xx-TransactionID →update1002
  • X-Powered-By →DevTest/8.5.0 (; CA, Inc.



I removed the leading < to make this show

the response data from the Respond step looks like this


  <a class="TransientResponse-array">

    <TransientResponse xmlns="">





        <p key="HTTP-Response-Code">200</p>

        <p key="HTTP-Response-Code-Text">OK</p>

        <p key="Access-Control-Allow-Headers">origin, content-type, accept</p>

        <p key="Access-Control-Allow-Methods">GET, POST, DELETE, PUT, PATCH, OPTIONS, HEAD</p>

        <p key="Access-Control-Allow-Origin">*</p>

        <p key="Cache-Control">no-store</p>

        <p key="WasGzip">gzip</p>

        <p key="Content-Encoding">gzip</p>

        <p key="Content-Type">application/json</p>

        <p key="Date">Wed, 09 Mar 2016 12:47:11 GMT</p>

        <p key="Pragma">no-cache</p>

        <p key="Server">nginx/1.8.0</p>

        <p key="X-XX-TransactionID">update1002</p>

        <p key="Content-Length">169</p>

        <p key="Connection">keep-alive</p>











the only thing I could think of is the  Content-Encoding header

so I added a filter on the live inv step, to remove it, but my filter never executes..

process responses, use lisa.vse.response, this script is on both process tabs.. record and playback



import com.itko.util.ParameterList;"IN FILTER r")

// Metadata is a ParameterList

ParameterList metadata = lisa_vse_response.getMetaData();

String ce=metadata.getParameter("Content-Encoding")"filter has parm="+ce)

if(ce!=null && ce.equalsIgnoreCase("gzip"))





no log entry is recorded