SAP Mobile Services provides an end to end network trace capability to record the network traffices and payload data to be analyze in order to find issues while using the mobile apps through SAP Mobile Services. Please refer to https://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/features/tracin...for more details about SAP Mobile Services network trace.
SAP Service and Asset Manager is a mobile asset management application that supports maintenance, service and safety technicians, as well as inventory management features. Please refer https://help.sap.com/docs/service-asset-manager for more details about SAP Service and Asset Manager.
In this blog post, we will show you how to analyze network trace for SAP Service and Asset Manager using SAP Mobile Services Mobile Backend Tools in order to find out issues while using the app to access the SAP Backend Systems.
As IT consultants if your users who are using SAP Service and Asset Manager report issues to you, you can record the network trace activities using mobile services cockpit according to the instructions from mobile services network trace activities. In order to analyze the network trace data after the recording has been complete, you need to a network trace tool to analyzer the har file.
If you use Google chrome for example to open the network trace har file for SAP Service and Asset Manager mobile application, you will see a UI like below:
There are some limitations in Chrome used to analyze the network trace data for SAP Asset and Service mobile app:
In order to address the above issues, SAP Mobile Backend Tools offers a network trace analyzer to better visualize the network trace har file generated by SAP Mobile Services.
First download and install SAP Mobile Services Mobile Backend Tools in Visual Studio Code. After open the folder where the network trace har file is located, right click your network trace har file and select "Open With" context menu item in Visual Studio Code:
Select "MBT: Network Trace Analyzer":
The network trace for SAP Asset and Service Manager will be opened by Mobile Backend Tools:
By default, Mobile Backend Tools network trace analyzer only shows "Path", "Status", "Size" and "Time" columns in the UI, but you can configure more visible columns by clicking the filter like below:
Now we can do some analysis using Mobile Backend Tools. Open one of the batch requests like below:
Go to the "Payload" tab, you will see the request details:
and the response details:
And you can also view the response details in each individual batch request:
Mobile Backend Tools network trace analyzer also offers a correlation view so that all the records with the same correlation ID are grouped together to be treated as different stages for the same request:
and in this correlation view, it's very straightforward to see the different stages underneath of each request:
As a conclusion, in this blog post, we demonstrated how to analyze the network trace har file generated by SAP Mobile Services for SAP Asset and Service Manager mobile app using SAP Mobile Services Mobile Backend Tools network trace analyzer that includes specific optimization for har file in mobile services specific scenarios.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 |