Agents Administration - Tests
 

Default Parameters for HttpPostTest

The HttpPostTest is optional and can be configured only if the check box alongside it is selected. This page depicts the default parameters that need to be configured for the HttpPostTest.  

  • The TEST PERIOD list box helps the user to decide how often this test needs to be executed. 

  • Certain cookies that need to be returned by the server on subsequent requests have to be saved locally. This has to be specified in the COOKIEFILE text box.

  • The host on which a web proxy server is running (in case a proxy server is to be used) has to be mentioned in the PROXYHOST text box.

  • The port number on which the web proxy server is listening has to be provided in the PROXYPORT text box.

  • The user name and the password of the proxy server have to be specified in the PROXYUSERNAME and PROXYPASSWORD text boxes respectively.

  • Confirm the password by retyping it in the CONFIRM PASSWORD text box.

  • In the CONTENT text box, specify a set of instruction:value pairs. that are used to validate the content being returned by the test. If the CONTENT value is none:none, no validation is performed. The number of pairs specified in this text box, must be equal to the number of URLs being monitored. The instruction should be one of Inc or Exc. Inc tells the test that for the content returned by the web server to be valid, the content must include the specified value (a simple string search is done in this case). An instruction of Exc instructs the test that the server's output is valid if it does not contain the specified value. 

  • The HttpTest supports HTTP authentication. The CREDENTIALS parameter is to be set if a specific user name / password has to be specified to login to a page. This parameter is a comma separated list of user name:password pairs, one pair for each URL being monitored. A value of none:none indicates that user authorization is not required. Please be sure to check if your web site requires HTTP authentication while configuring this parameter. HTTP authentication typically involves a separate pop-up window when you try to access the page. Many sites uses HTTP POST for obtaining the user name and password and validating the user login. In such cases, the username and password have to be provided as part of the POST information and NOT as part of the CREDENTIALS specification for the HTTP test.

  • Once the necessary values have been provided, clicking on the UPDATE button will register the changes made.

When changing default configurations of tests, the values with "$" indicate variables that will be replaced by the eG system according to the specific server being managed - for instance, $hostName is the host/nickname of the target host, $port is the port number of the server being monitored. E.g., for a server xyz:80, $hostName will be changed automatically by the eG manager to "xyz" and $port will be changed to "80" when configuring a test.