Jump to content

Fiddler: Difference between revisions

From Resco's Wiki
Marek Rodak (talk | contribs)
No edit summary
Marek Rodak (talk | contribs)
No edit summary
Line 11: Line 11:


== Install and configure Fiddler ==
== Install and configure Fiddler ==
===Resco Mobile CRM Windows===
# [[Resco_Mobile_CRM#Download|Download]] and install a Windows version of [[Resco Mobile CRM]]. You can use the store version or the desktop version.
# [[Resco_Mobile_CRM#Download|Download]] and install a Windows version of [[Resco Mobile CRM]]. You can use the store version or the desktop version.
# Get Fiddler from [https://www.telerik.com/download/fiddler the official website] and install it. We recommend using the "classic" version.
# Get Fiddler from [https://www.telerik.com/download/fiddler the official website] and install it. We recommend using the "classic" version.
Line 16: Line 17:
# Select '''Tools > Options''', go to the '''HTTPS''' tab and enable  '''Decrypt HTTPS traffic'''.
# Select '''Tools > Options''', go to the '''HTTPS''' tab and enable  '''Decrypt HTTPS traffic'''.


== Windows Store only ==
=== Windows Store only ===


{| class="wikitable sortable mw-collapsible mw-collapsed"  style="display: inline-table;"
{| class="wikitable sortable mw-collapsible mw-collapsed"  style="display: inline-table;"

Revision as of 11:35, 29 June 2023

Wikipedia logo
Wikipedia has an article on a similar subject:

Fiddler is a free web debugging proxy server application. You can use it to trace the communication between the Resco mobile apps and the backend server, for example, during synchronization. If you send us the communication along with the description of the problem, this can greatly speed up the troubleshooting. You just need a Windows version of Resco Mobile CRM application and Fiddler. This guide describes a simple procedure for reporting such issues with the mentioned app.

Note Using Fiddler may decrease performance. Do not use Fiddler once you're done troubleshooting.

How can Fiddler help

  • Identify server requests taking too much time
  • Identify requests/responses transmitting large data
  • Identify bottlenecks in the client-server communication
  • Identify repeating or duplicate requests

Install and configure Fiddler

Resco Mobile CRM Windows

  1. Download and install a Windows version of Resco Mobile CRM. You can use the store version or the desktop version.
  2. Get Fiddler from the official website and install it. We recommend using the "classic" version.
  3. Launch Fiddler.
  4. Select Tools > Options, go to the HTTPS tab and enable Decrypt HTTPS traffic.

Windows Store only

If you are using Windows Store version of Resco Mobile CRM, perform the following additional configuration in Fiddler.
  1. Click WinConfig on the toolbar.
  2. Click Yes in the User Account Control window.
  3. Click Yes for Loopback exemptions.
  4. In the AppContainer Loopback Exemption Utility window, find Resco Mobile CRM and enable it, then click Save Changes.

Tips for tracing

If the issue is related to any time issue, like timeout, or when it takes too long to perform the action, enable filters. Go to the Filters tab and check Use Filters.

  • If you want to filter by process (recommended), check Show only traffic from and select MobileCRM:xxxx.
  • Optionally, enable the option Time HeatMap. When enabled, sessions are highlighted with background color, based on how long it took for the server to respond. Fastest responses are green, average are not highlighted, slow are yellow or red.

Try to reproduce the problem. You may need to start the traffic capture manually: Select Capture Traffic from the File menu. Do so before reproducing the issue to make sure all needed data is captured. If you are successful, save the session info and send it to us for review: select Save from the File menu.

Security

  • Some companies may block Fiddler or require that it's uninstalled asap after use. The argument is that Fiddler’s root certificate can be misused by malicious apps. However, this issue is not that dramatic. The certificate is unique for the device where Fiddler is installed, hence external apps have no chance to know about it.

Fiddler and Woodford

You can use Fiddler also to trace the communication between Woodford and your backend server.

See also

  • XrmToolBox - set of tools that simplify the customization, configuration, and operation of Dynamics backends