How to configure the Service Image Manager command line tool for Proxy Recording

Document ID : KB000095472
Last Modified Date : 16/10/2018
Show Technical Document Details
Question:
How to configure the Service Image Manager command line tool to use the Proxy pass through style, not Gateway pass through style?
Environment:
All Support DevTest releases.
Answer:
In the machine where the ServiceImageManager command is running, we need to configure the local.properties file with the proxy information.
Update the following properties with the proper proxy information for your environment:
lisa.http.webProxy.host=<machine name or ip>
lisa.http.webProxy.port=

lisa.http.webProxy.ssl.host=<machine name or ip>
lisa.http.webProxy.ssl.port=

The VRS file also needs to be updated to use Proxy pass through style and if it needs to use SSL.
Here is a sample of a VRS file used for proxy mode recording. In this sample Use SSL to Client and Server are enabled and the data protocol handler is SOAP:
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?><RecordingSession asObject="true" leaf="LOOSE" nonLeaf="WIDE">
<Protocol type="com.itko.lisa.vse.stateful.protocol.http.HttpProtocolHandler">
<Transport allAreStateless="true" asObject="true" desensitize="false" duptxns="true">
<exportFile>/opt/app/DevTest/Projects/1234_ABC_Projects/1234_a1_Test/1234_a1_Test_Recording/VServices/RawTraffic/1234_ABC.xml</exportFile>
<RequestSide>
<Protocol type="com.itko.lisa.vse.stateful.protocol.ws.WSSOAPProtocolHandler">
</Protocol>
</RequestSide>
</Transport>
<listenPort>8001</listenPort>
<targetHost></targetHost>
<targetPort>443</targetPort>
<useGateway>false</useGateway>
<hostHeaderPassThrough>false</hostHeaderPassThrough>
<ssl toClient="true" sslClientAuthType="none" toServer="true"/><sslClientKeystoreFile>{{ssl.client.cert.path}}</sslClientKeystoreFile>
<sslClientKeystorePWEnc>encriptedPasswordWillBeAddedHere</sslClientKeystorePWEnc>
<keystoreFile>{{ssl.server.cert.path}}</keystoreFile>
<keystorePWEnc>encriptedPasswordWillBeAddedHere</keystorePWEnc>
<basePath>/</basePath>
</Protocol>
</RecordingSession>

If you don't have a VRS already created, it will be good to create one using the DevTest Workstation and then you can modify it accordingly.
For more information regarding VRS file, please take a look at the document in the link below:
What is a VRS file and how to create it using DevTest Workstation - https://comm.support.ca.com/kb/what-is-a-vrs-file-and-how-to-create-it/kb000076416