Skip to main content

HAR Analyzer - Downloading & Uploading HAR Files (Mobile)

Luiza Gircoveanu avatar
Written by Luiza Gircoveanu
Updated yesterday

Overview

ObservePoint's HAR File Upload Solution ingests HTTP archive files or HAR files that contain network log data and other information passed between the website and the browser. These fairly large files contain a vault of useful information, including the network requests fired from all of the events fired (page load, click, scroll, etc.) during a session.

Once ingested, it generates reports on Tags identified in the network logs and allows you to process that data with Rules. You can also export the process data.

Note: This feature might not be available to you currently. If so, reach out to your Customer Success Manager or our support team [email protected] if you want to request access.

Downloading a HAR File

To generate a HAR file on a mobile device and download it, there are several methods, but one of the most popular is to use Charles Proxy. Here is a 7-minute youtube video walking through the configuration of Charles Proxy for both web and mobile.

With Charles configured and the proxy set up on your mobile device, you can start to interact with any app and see the network traffic record. Once you have completed a session, you'll want to save the HAR file.

To save it, right-click any network request in the left sidebar and select Export Session.

Then, change the format to HTTP Archive (.har) and click Save.

Note: If you want to see how this is done for the web (on your desktop), click here

Here is an example mobile app HAR file that you can download by clicking below.

Uploading a HAR File

In HAR Analyzer, users can upload HAR files to be processed and apply rules to check for tags and variables they expect to fire.

  1. Open HAR Analyzer.

  2. Select an existing Configuration (previously referred to as devices). This configuration allows you to upload multiple HAR files that you wish to apply the same rules to. If you have not yet created a Configuration, you can add one.

  3. Select Upload HAR File.

  4. Add a HAR Session name and choose the file(s) or drag them into the box, then click Upload.

  5. Once the HAR file upload is complete, click Done.

Note: The report won't be available until you receive the email notifying you that processing is complete, or you can wait a few minutes for it to complete and the report will automatically update.

6. Either click the link in the email or find the Session Report in HAR Analyzer.

Did this answer your question?