AnsweredAssumed Answered

Is there any way to edit request before it goes to Live invocation step?

Question asked by SARTH_GUPTA on Mar 14, 2018
Latest reply on Mar 22, 2018 by SARTH_GUPTA

Hi Team,

 

I am working on a virtual service in which I need to add SOAP headers to the request before it goes towards Live System.However, I do not need SOAP Headers for my request towards virtual service.

So I am looking for a way to edit request in the VSM so that it can be passed in the Live invocation step.

 

Things I have tried till now are:

1. Get request from lisa.vse.http.current.transation.body in Java Step and add SOAP headers (from string concatenation) and reset the lisa.vse.http.current.transation.body property.

This doesn't work.

 

Can someone please suggest how to achieve this.

 

Thanks

Sarthak

Outcomes