The DevTest Java Agent is required to record Java service images. In the LISA Bank application, the agent is installed by default. For any other application, install the agent and start the registry.
For testing, start the demo server, where the agent is installed, or run the LISA Bank application. For running with any other Java application, configure the agent. For more information about the agent, see Agents.
When using multiple recorders in the same workstation to record multiple EJB remote calls concurrently from different classes, the service image and VSM created by each recorder display an aggregated list of classes.
Follow these steps:
The Virtual Service Image Recorder opens.
The Select Java classes to virtualize window opens.
Lists the online agents that are available to be connected.
Lists contains the online or offline agents that are connected for the virtual service model. The offline agents display in a gray italic font. You can select the agents from the Available Online Agents list.
When you select an agent from either list, the host name and the main class appear.
This mechanism is provided for adding any offline agents that were not previously in the connected list. The agent name cannot be empty or already present in the connected agents list. If the agent name entered is present in the online agents list, it is moved from the available online agents to the connected agents list.
The Recording Has Begun page opens.
Note: Shutting down and restarting the system under test is optional. Restarting helps to ensure that VSE captures any initial traffic that occurs when the system under test initializes.
After the system under test starts, a list of the most recent transactions displays. To see the content of a selected transaction, double-click it.
The Data Protocols panel opens with appropriate data protocols prepopulated. You can change or add data protocols. There may be additional panels to configure the data protocols. For more information about configuring data protocols, see Using Data Protocols.
While it prepared to write the .vsi file, the recorder verifies request and response bodies to ensure that (if they are marked as text) they are text. If they are not text, the type is switched to binary.
Note: To save the settings on this recording to load into another service image recording, click Save above the Finish button.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|