eG Administration
 

Configuring Multiple Operations for Monitoring - WebServiceTest

By default, the WebServiceTest test will be configured with the WSDL URLs that offer the web services that are to be monitored. To configure the operations that are offered by the WSDL URLs, do the following:

  1. Click on the encircled ‘+’ button alongside the OPERATIONS text box. The WEBSERVICE OPERATION CONFIGURATION pop up window will then appear.
  2. Specify the following in the pop up window:

    • Manager/Agent for accessing WSDL URL: Select the eG agent or the eG Manager that is authorized to access the configured WSDL URL from this list.
    • WSDL URL: Oce the eG agent/eG Manager is chosen from the Manager/Agent for accessing WSDL URL list, this list will be populated automatically with all the WSDL URLs specified in the WSDL URL text box. Select the WSDL URL of your choice from this list.
    • Services: The web services offered by the chosen WSDL URL will then be populated in this list. Select a service of your choice from this list.
    • .

      • The Operations that are offered by the chosen service will then be populated in the DEFINED OPERATIONS list. To monitor a chosen operation, select the operation and click the < button. This will move the chosen operation to the MONITORED OPERATIONS list.
      • Click the Configure button to save the changes.
      • The eG agent uses SOAP requests to obtain the necessary metrics from the web service. Once the operation is configured, the XML View of the SOAP Request corresponding to the chosen operation will be generated and listed in the XML View tab. Likewise, the HTML View tab lists the SOAP Parameter that is passed to collect the required metrics for the chosen operation.
      • To obtain operation-level statistics, it is important to specify a valid value in the VALUE text box of the HTML View tab. Each time the test is executed, this value will be provided as an input to the chosen operation.
      • Click the Save and Cofigure More button to save the changes made.
      • If you wish to verify if the VALUE specified in the HTML View tab is valid, then you can do so by clicking the SEND REQUEST button. A WEB SERVICE RESPONSE pop up window will then appear. If the value specified in the VALUE text box is indeed valid, then the operation will be performed on the value and the result will be specified. For example, if your chosen operation is FahrenheittoCelsius, the SOAP Parameter is Farenheit and the value that you wish to convert is 33, the result will be specified in the WEB SERVICE RESPONSE pop up window as below:
        <FahrenheitToCelsiusResult>0.555555555555556</FahrenheitToCelsiusResult>
        If you have specified an invalid value, then a message as follows will be displayed in the pop up window:
        <FahrenheitToCelsiusResult>Error</FahrenheitToCelsiusResult>
        If you do not specify a VALUE or specify an invalid value, operation-level statistics will not be collected by the eG agent and such metrics will not be available in the eG monitoring interface.

  3. Similarly, you can configure multiple Operations by clicking the Configure button. To remove an operation, select the operation from the MONITORED OPERATION list and click the > button.
  4. Once Save and Configure More buttonis clicked, you will return to the test configuration page. The OPERATIONS text box in the test configuration page will display just the operations, as a comma-separated list. To view the complete operation specification, click the encircled ‘+’ button alongside the OPERATIONS text box, once again.