In this document you will get to know how to measure the time taken by SUP ODP while using IMO channel. We will use Introscope to meausure this timings.
Step1:
Install Introscope by Wily in the SUP server system.
Install Introscope as a service and start the service.
Refer: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d4ea4c-63bc-2a10-0f9e-98e895c61112?QuickLink=index&overridelayout=truehttp://www.google.co.in/url?sa=t&rct=j&q=introscope%20install%20as%20a%20service&source=web&cd=1&cad=rja&ved=0CDEQFjAA&url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Fgo%2Fportal%2Fprtroot%2Fdocs%2Flibrary%2Fuuid%2F90d4ea4c-63bc-2a10-0f9e-98e895c61112%3FQuickLink%3Dindex%26overridelayout%3Dtrue&ei=DSHLUL6XFoqKrgfuiIGgDg&usg=AFQjCNE9gz1h79u61yHyQ33oYikY0JpzpA
All the agents needed to see the SUP timings are already available in SUP installation. It gets shipped along with SUP from 2.1.3 release.
Step2:
Start the Introscope: http:/<introscope_system_ip>:8081/index.jsp
Login with the correct host, port, username, password
Step3:
Investigator opens up, which looks something like the image below. It should have two agents namely - dotnet agent and Java agent
Step4:
Press ctrl+3 to open a New Transaction Trace session.
Change the minimum transaction duration to 50ms.
The window should look something like this
Step 5: Press OK to start the tracing.
A new window opens up which gives the transaction details for every request you do to your SUP server.
When you do a request, you will get two entries in the transaction trace window. One request will be of type Dot Net and one will be of type Java.
Step 6: Dot Net agent timings
As you see in the above image 107 ms is the time taken by SUP + the time taken for SUP to get the response from the backend system.
So to find only the time taken by SUP we have to subtract this time with time spent in the backend and the n/w time between SUP and backend.
This can be calculated from Java agent.
Step 7:
Java agent timings
Click on the Java agent and go to tree view.
In the tree view select the method GWCall as selected in the above image. Here 77ms corresponds to wait time for SUP to fetch the data requested from backend.
Step 8(Final Step):
Time taken for SUP = Time measured in step 6 - time measured in step 7