Generating HAR files

HAR, short for HTTP Archive, is a format used for tracking information between a web browser and a website. Access Gateway primarily uses HAR files to replicate end user or administrator errors. The follow sections describe how to generate HAR files using common browsers such as ChromeFirefox and Safari.

 

Caution

Caution

HAR files represent recording of browser activity and possibly contain sensitive data, including content of the pages visited, headers, cookies and other data. While this allows Okta staff to replicate browser activity and troubleshoot issues, it could be popssibly be used by malicious actors to impersonate you. Take care when creating and sharing HAR files.

To generate a HAR file using Chrome

  1. Open Chrome and navigate to the page to be recorded.
  2. To the right of the address bar click the vertical eclipses ()and select More tools > Developer tools.
  3. Select the Network tab.
  4. Ensure that Chrome is recording by clicking the gray record button. Note that the button my already be recording and show red ().
  5. Check Preserve Logs.
  6. Clear any existing logs by clicking Clear ()
  7. Navigate to the page where issue occurred and reproduce the issue.
  8. Right click anywhere in the list of network requests and select Save all as HAR with content.
  9. Save the file.

To generate a HAR using Firefox

  1. Open Firefox and navigate to the page to be recorded.
  2. Select the Firefox hamburger menu() and then Web Developer > Network.
  3. In the Developer tools docked tab select Network.
  4. Navigate to the page where issue occurred and reproduce the issue.
    Note that the page automatically starts recording as you navigate.
  5. Navigate to the page where issue occurred and reproduce the issue.
  6. Right click anywhere in the File column and select Save All as HAR.
  7. Save the file.

 

To generate a HAR using Safari

Note

Note

If you don’t see the Develop menu in the menu bar.

  1. Select Safari > Preferences.
  2. Click Advanced.
  3. Check Show Develop menu in menu bar.

  1. Open Firefox and navigate to the page to be recorded.
  2. From the Develop menu select Show Web Inspector.
  3. Select the Network tab.
  4. Check Preserve Logs.
  5. Navigate to the page where issue occurred and reproduce the issue.
  6. Click the Export icon () and save the HAR file.
  7. Save the file.

 

Related topics

Application process flow

Troubleshoot applications

Troubleshooting tips and techniques