DevTest Agent Does Not Switch To PlayBack Mode

Document ID : KB000004482
Last Modified Date : 30/03/2018
Show Technical Document Details
Issue:

When deploying a Virtual Service created from transactions captured by the DevTest Agent, the agent does not automatically switch into or out of playback mode.

 

Environment:
All supported DevTest platforms.
Cause:

There are two possible causes:

  • The VSE cannot locate the DevTest Agent.
  • Some protocols, such as SOAP, do not switch the agent i
Resolution:

The VSE cannot locate the DevTest Agent:

In the rules.xml on the VSE machine, add the following line in the console section:
<property comment="Broker url when run in embedded mode (i.e. in LW)" key="lisa.console.agent.broker.url" value="<protocol>://<registry host>:<port>?daemon=true"/>

where:
<protocol> equals DevTest internal connection protocol, either tcp or ssl
<registry host>equals the IP address or FQDN of the Registry machine
<port> equals the broker port, usually 2009

Example:
   <console>
      <property comment="Broker url when run in embedded mode (i.e. in LW)" key="lisa.console.agent.broker.url" value="tcp://192.168.1.21:2009?daemon=true"/>
   </console>

Restart the VSE.
 

Protocols that does not switch the agent into playback:

SOAP: Switching the agent into playback mode is not valid. The SOAP Virtual Service is utilized as any SOAP VS created by created. See the DevTest Documentation for details.
 

Additional Information:

Not applicable.