You can test the Java™ application
attribute group that you created, within Agent Builder.
Before you begin
Restriction: Unlike most other attribute groups,
you cannot test the Java application
attribute group while it is being created. You can test the attribute
group when it is added to the agent and the agent is saved. Saving
the agent causes the Java code
to be generated for the attribute group.
Procedure
- Select an attribute group on the Agent
Editor Data Source Definition page
after agent creation and click Test .
For more information about the Agent Editor, see Using the Agent Editor to modify the agent
After you click Test in one of the previous two steps,
the Test Java Client window is
displayed.
- Optional: Set environment variables, configuration
properties, and Java information
before you start testing. For more information, see Attribute group testing. For more about default Java runtime configuration properties,
see Java API configuration.
- Click Start Agent.
A window indicates that the Agent is starting.
- To simulate a request from Tivoli® Enterprise
Portal or SOAP for agent data, click Collect
Data. The agent monitors the Java Client for data. The Test Java Client window displays any data
that is returned.
- Optional: Click Check Results if the returned data is not
as you expected. The Data
Collection Status window opens and shows you more information
about the data. The data that is collected and displayed by the Data
collection Status window is described in Performance Object Status node
- Stop the agent by clicking Stop
Agent.
- Click OK or Cancel to exit the Test
Java Client window. Clicking OK saves
any changes that you made.