[PR #4307] [MERGED] feat: support importing HAR ( Http Archive Format ) files #4742

Closed
opened 2026-03-17 02:15:07 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4307
Author: @amk-dev
Created: 8/28/2024
Status: Merged
Merged: 8/29/2024
Merged by: @nivedin

Base: nextHead: feat/har-import


📝 Commits (3)

  • 18e1011 feat: import har files to hoppscotch
  • f134a14 chore: fix some edge cases
  • d06cb91 chore: exclude query params from the generated request endpoint

📊 Changes

4 files changed (+287 additions, -0 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+2 -0)
📝 packages/hoppscotch-common/src/components/collections/ImportExport.vue (+34 -0)
packages/hoppscotch-common/src/helpers/import-export/import/har.ts (+250 -0)
📝 packages/hoppscotch-common/src/helpers/import-export/import/importers.ts (+1 -0)

📄 Description

Fixes HFE-550

This PR adds the ability to import HAR files into hoppscotch.

Note: if you need example HAR files for testing try exporting any network log from your chrome devtools. or you can find some examples here. https://github.com/readmeio/har-examples. keep in mind that they're exported from js files, you'll have to remove the module.exports to make them a normal json file.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4307 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 8/28/2024 **Status:** ✅ Merged **Merged:** 8/29/2024 **Merged by:** [@nivedin](https://github.com/nivedin) **Base:** `next` ← **Head:** `feat/har-import` --- ### 📝 Commits (3) - [`18e1011`](https://github.com/hoppscotch/hoppscotch/commit/18e10113fe34d1f53df653af62e32834483e184c) feat: import har files to hoppscotch - [`f134a14`](https://github.com/hoppscotch/hoppscotch/commit/f134a14439cde68675ee2100ed6126661d69d9d3) chore: fix some edge cases - [`d06cb91`](https://github.com/hoppscotch/hoppscotch/commit/d06cb91b672008ffa155f891c14fe0f88c6aee6b) chore: exclude query params from the generated request endpoint ### 📊 Changes **4 files changed** (+287 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+2 -0) 📝 `packages/hoppscotch-common/src/components/collections/ImportExport.vue` (+34 -0) ➕ `packages/hoppscotch-common/src/helpers/import-export/import/har.ts` (+250 -0) 📝 `packages/hoppscotch-common/src/helpers/import-export/import/importers.ts` (+1 -0) </details> ### 📄 Description Fixes HFE-550 This PR adds the ability to import HAR files into hoppscotch. Note: if you need example HAR files for testing try exporting any network log from your chrome devtools. or you can find some examples here. [https://github.com/readmeio/har-examples](https://github.com/readmeio/har-examples). keep in mind that they're exported from js files, you'll have to remove the `module.exports` to make them a normal `json` file. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:15:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4742
No description provided.