eG Servlets Test

Java servlets are the building blocks of the eG Enterprise system. These servlets are used by the eG manager to receive and respond to Web clients across HTTP. The poor responsiveness of one/more servlets can hence significantly impact the performance of the eG manager. Therefore, if administrators notice a slowdown with the eG manager, they can use this test to know if any servlet has contributed to the delay and if so, which one.

Target of the test : The eG Manager

Agent deploying the test : An internal/remote agent

Outputs of the test : One set of results for each servlet on the eG manager.

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed .

Host

The host for which the test is to be configured.

Port

The port number at which the specified host listens.

JMX Remote Port

Here, specify the port at which the JMX listens for requests from remote hosts. In the <EG_MANAGER_INSTALL_DIR>\manager directory (on Windows; on Unix, this will be the /opt/egurkha/manager directory) of the eG manager, you will find a management.properties file. Set the port defined against the com.sun.management.jmxremote.port parameter of the file as the JMX Remote Port.

User, Password, and Confirm Password

By default, JMX requires no authentication or security. Therefore, the User, Password , and Confirm Password parameters are set to none by default.

JNDIName

The JNDIName is a lookup name for connecting to the JMX connector. By default, this is jmxrmi. If you have registered the JMX connector in the RMI registry using a different lookup name, then you can change this default value to reflect the same.

JMX Provider

This test uses a JMX Provider to access the MBean attributes of the eG manager and collect metrics. Specify the package name of this JMX Provider here. By default, this is set to com.sun.jmx.remote.protocol.

Timeout

Specify the duration (in seconds) for which this test should wait for a response from the eG manager. If there is no response from the eG manager beyond the configured duration, the test will timeout. By default, this is set to 240 seconds.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Requests

Indicates the number of requests handled by this servlet.

Number

This is a good indicator of the load on the servlet.

Average response time

Indicates the time taken by this servlet to respond to requests.

 

Secs

A high value is indicative of the poor responsiveness of a servlet. Compare the value of this measure across servlets to identify the least responsive servlet.

Insert queries

Indicates the number of insert queries that were executed by this servlet during the last measurement period.

Number

 

Average insert time

Indicates the time taken by this servlet to execute these insert queries during the last measurement period.

Secs

A high value could be cause for concern.