Maximo Anywhere: Monitor Network Traffic using Fiddler

Maximo Anywhere: Monitor Network Traffic using Fiddler

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer as you want to evaluate the performance out in the field. For such a scenario, we can use a proxy server to trace Anywhere network activity (find more details here).

If you are using Android Emulator then another option is using Fiddler which is explained in this post.

How does it work?

When you start Fiddler, it registers itself as the system proxy for Microsoft Windows Internet Services (WinInet), the HTTP layer used by the browser and other applications in the system.

The Android emulator traffic will not go through Winlnet but we can redirect it. We will change the network proxy settings on Android to point to a special alias (10.0.2.2) that identifies the host lookback interface. This will route the traffic from the Android emulator through the host machine’s network layer and Fiddler will be able to trace it.

How to set up?

1- Download and Install Fiddler Classic on your Windows machine (doesn’t work on Linux).

2- Start Fiddler. By default, it listens on port 8888.

3- On the Android device (emulator), change the network proxy settings to point to the Fiddler.

Proxy hostname: 10.0.2.2
Port: 8888

Go to Settings -> Network & Internet -> Wifi, then click on the connected Wifi.

Next click the ‘Edit’ button at the top.

Change the Proxy value from None to Manual and enter 10.0.2.2 as the hostname (host loopback interface) and 8888 as the port (default for Fiddler).

That’s all. Start using the Anywhere application and you should see the network trace in Fiddler.

Leave a Reply

Your email address will not be published.