Attribute group testing - configuration

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

  1. 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.
    1. Click Add or Edit to add or edit individual variables.
    2. Click Remove to remove individual variables, or Restore Default to restore default variables and remove all others.
    3. Click OK to save your changes and return to the Test window.
  2. Optional: Click Configuration from the data source Test window. The Runtime Configuration window opens.
    1. Click Edit Agent Configuration to add a configuration property or to edit existing agent configuration properties by using the Configuration Properties window.
    2. Select a configuration property and click Edit to edit an existing configuration property that relates to the attribute group you are testing.
    3. 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.
  3. Click OK to save your changes and return to the Test window.
  4. 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.
    1. 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
    2. Click OK to save your changes and return to the Test window.