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 refer to this KB: VRS file and how to create it using DevTest Workstation