# How to Convert a HAR file into a ZebraTester Script

You can import HAR Files (HTTP Archives) into ZebraTester by performing the following steps:

1. Open "Project Navigator"
2. Upload the HAR File
3. Click on the HAR File icon
4. Click on "yes" when you are asked to convert the HAR file to a ZebraTester session file (\*.prxdat)
5. Click on the converted ZebraTester session file
6. Click on the "Refresh Display" icon in the Main Menu

#### Summary: <a href="#howtoconvertaharfileintoazebratesterscript-summary" id="howtoconvertaharfileintoazebratesterscript-summary"></a>

An HTTP Archive (\*.har file) can be converted to a ZebraTester session (\*.prxdat file).

Upload a new HAR file into the directory of your choice ad then click on the “Convert HAR to Recorded Session” icon to the right of the file.

### Steps: <a href="#howtoconvertaharfileintoazebratesterscript-steps" id="howtoconvertaharfileintoazebratesterscript-steps"></a>

| <h4 id="howtoconvertaharfileintoazebratesterscript-uploadtheharfile">Upload the HAR File</h4><ul><li>Open "Project Navigator"</li><li>Upload a target HAR File to convert</li><li>Project Navigator will load the file</li><li>Click on the Conversion Icon to the right of the HAR File</li><li>Once you do this, you will get a confirmation to continue or abort the operation. Click on "yes" when you are asked to convert the HAR file to a ZebraTester session file (\*.prxdat)</li></ul> |                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| <h4 id="howtoconvertaharfileintoazebratesterscript-converttheharfile">Convert the HAR File</h4><ul><li>Note the Blue Prompt that this prxdat file has been saved.</li><li>Once the file has been converted to the prxdat (Recorded ZebraTester Session) format, you can then view it in the main window.</li></ul>                                                                                                                                                                               | <p></p><ul><li>Click the Project Navigator icon to the “Load Recorded Session”</li></ul> |
| <h4 id="howtoconvertaharfileintoazebratesterscript-viewtheconvertedharfile">View the Converted HAR File</h4><ul><li>Switch to the Main Menu</li><li>If needed, click the "Refresh Display" icon to view the converted HAR/recorded session.</li></ul>                                                                                                                                                                                                                                            |                                                                                          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apica.io/platform-docs/zebratester-scripting/zebratester-how-to-articles/how-to-convert-a-har-file-into-a-zebratester-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
