Set environment variables, configuration properties, and Java™ information before you test
an attribute group.
About this task
Before you start testing an attribute group, you
can optionally set environment variables, configuration properties,
and where applicable Java information
from the data source Test window. The Java information
is a subset of the configuration data. Some environment variables
have special values that are set by default for attribute group testing.
For more information about environment variables with special values
for attribute group testing, see Test Environment variables.
Procedure
- Optional: Click Set
Environment from the data source Test window.
The Environment Variables window opens.
When populated, the Environment Variables window
lists all of the environment variables that are used during the running
of the test. The initial view of the Environment variable window contains
any existing environment variables that are defined in your agent.
It also contains any environment variables that you added from previous
tests of this agent.
- Click Add or Edit to
add or edit individual variables.
- Click Remove to remove individual
variables, or Restore Default to restore default
variables and remove all others.
- Click OK to save your changes
and return to the Test window.
- Optional: Click Configuration from
the data source Test window. The Runtime
Configuration window opens.
- Click Edit Agent Configuration to
add a configuration property or to edit existing agent configuration
properties by using the Configuration Properties window.
- Select a configuration property and click Edit to
edit an existing configuration property that relates to the attribute
group you are testing.
- Select a configuration property and click Restore
Default to restore a configuration property to its default
value.
Important: If a JMX data source connects to a remote
WebSphere Application Server, ensure that a local WebSphere Application
Server is installed and that the Java location is set to the JRE that
this server uses. For details about setting up the connection, see
Monitoring Java Management Extensions (JMX) MBeans.
- Click OK to save your changes and
return to the Test window.
- Optional:
Note: You can set Java information
for following types of attribute groups:
- Java Management Extensions
(JMX)
- Java Database Connectivity
(JDBC)
- Hypertext Transfer Protocol (HTTP) Availability
- SOAP
- Java application programming
interface (API)
The Java information is
a subset of the configuration data described in step
2
Click Java Information from the data source Test window.
The Java Information window opens.
- Enter Java Information.
For example, Browse to or type the location of the Java Runtime Environment (JRE),
select a Java trace level, or enter JVM
arguments
- Click OK to save your changes
and return to the Test window.