Collect response time breakdown data from a Web service


+

Search Tips   |   Advanced Search

 

Overview

Collecting response time breakdown data from a Web service is supported on a limited number of WebSphere Application Server versions. See the installation guide for information about supported versions.

If you plan to collect Web service data, start the data collection infrastructure before you start WebSphere Application Server. Otherwise, Web service data might not be collected. If it is not possible for you to restart the server after starting the data collection infrastructure, you can force it to reconnect to the ARM engine by disabling and then enabling ARM via JMX or the admin console.


Collect response time breakdown data for a Web service

  1. Create a new profiling configuration by clicking Run > Profile.

  2. Select J2EE Application as the configuration type.

  3. On the Monitor page, select...

      Overview | J2EE Performance Analysis

  4. Click Edit Options to edit the profiling set.

  5. On the Components page, ensure that Web Service is selected.

    By selecting this check box, as with any other on the Components page, you are specifying to collect data from sub-transactions of edge transactions only. Edge transactions are the transactions that initiate the first ARM event (that is, the top, or root, transaction).

    For example, with servlets, this would be the URL request itself.

  6. On the Filters page, enter a pattern to filter edge transactions in the field...

    In the case of Web services, you can use this pattern to filter in edge transactions coming from specific Web services (that is, to collect data from the specified transactions and ignore data from others).

    The general pattern for ARM Transaction names for the Web service requestor...

      wsrequestor:<wsdlPortName>.<wsdlOperationName>?transport=<transportName>&parameters=<parameterNameList>

    The general pattern for ARM Transaction names for the Web service provider...

      wsprovider:<wsdlPortName>.<wsdlOperationName>?transport=<transportName>&namespace=<targetNamespace>&input=<inputMessageName>

    Use these examples to create patterns that match only the specific ports, transport types, or operations to profile. The valid types for transportName are HTTP and JMS.

    To profile all Web services (and only Web services), use the following pattern:

      wsprovider:*wsrequestor:*

  7. Click Finish.

  8. Click Profile to attach to the agent.

  9. Select Start monitoring from the agent pop-up menu. Run the Web service to collect the data.


Results

After you have collected the response time breakdown data, you can begin to analyze it and diagnose the problem. You can examine the data using several views including statistics views and sequence diagrams of class and object interactions.


Related

  • Problem analysis overview
  • Customize real-time profiling settings