[PR #2257] [MERGED] feat: added execution duration and updated collection-metrics #3691

Closed
opened 2026-03-17 01:17:08 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2257
Author: @devblin
Created: 4/12/2022
Status: Merged
Merged: 4/18/2022
Merged by: @AndrewBastin

Base: mainHead: feat/hopp-cli-duration


📝 Commits (3)

  • 057f482 feat: added execution duration and updated collection-metrics
  • e8145ee refactor: updated with requested changes
  • 713910e refactor: updated failing -> failed and passing -> passed

📊 Changes

10 files changed (+399 additions, -73 deletions)

View changed files

📝 packages/hoppscotch-cli/src/interfaces/response.ts (+5 -4)
📝 packages/hoppscotch-cli/src/types/request.ts (+1 -0)
📝 packages/hoppscotch-cli/src/types/response.ts (+59 -5)
📝 packages/hoppscotch-cli/src/utils/collections.ts (+87 -8)
📝 packages/hoppscotch-cli/src/utils/constants.ts (+5 -0)
📝 packages/hoppscotch-cli/src/utils/display.ts (+109 -25)
📝 packages/hoppscotch-cli/src/utils/getters.ts (+18 -0)
📝 packages/hoppscotch-cli/src/utils/pre-request.ts (+21 -0)
📝 packages/hoppscotch-cli/src/utils/request.ts (+44 -5)
📝 packages/hoppscotch-cli/src/utils/test.ts (+50 -26)

📄 Description

Description

The PR includes features mentioned below.

  • Each request's execution duration in seconds.
  • Each test-script's execution duration in seconds.
  • Total execution duration for all requests and test-scripts respectively.
  • Total passing and failing requests, test-scripts, pre-request-scripts.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 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/2257 **Author:** [@devblin](https://github.com/devblin) **Created:** 4/12/2022 **Status:** ✅ Merged **Merged:** 4/18/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `feat/hopp-cli-duration` --- ### 📝 Commits (3) - [`057f482`](https://github.com/hoppscotch/hoppscotch/commit/057f482310810964ab1ca93b49b9fd086a8fb9ef) feat: added execution duration and updated collection-metrics - [`e8145ee`](https://github.com/hoppscotch/hoppscotch/commit/e8145eebc81c7e9c166e866abf9d4c24694d6eec) refactor: updated with requested changes - [`713910e`](https://github.com/hoppscotch/hoppscotch/commit/713910e0002ec564a53070ad20227ac71bf7d72e) refactor: updated failing -> failed and passing -> passed ### 📊 Changes **10 files changed** (+399 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-cli/src/interfaces/response.ts` (+5 -4) 📝 `packages/hoppscotch-cli/src/types/request.ts` (+1 -0) 📝 `packages/hoppscotch-cli/src/types/response.ts` (+59 -5) 📝 `packages/hoppscotch-cli/src/utils/collections.ts` (+87 -8) 📝 `packages/hoppscotch-cli/src/utils/constants.ts` (+5 -0) 📝 `packages/hoppscotch-cli/src/utils/display.ts` (+109 -25) 📝 `packages/hoppscotch-cli/src/utils/getters.ts` (+18 -0) 📝 `packages/hoppscotch-cli/src/utils/pre-request.ts` (+21 -0) 📝 `packages/hoppscotch-cli/src/utils/request.ts` (+44 -5) 📝 `packages/hoppscotch-cli/src/utils/test.ts` (+50 -26) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> ### Description The PR includes features mentioned below. - Each request's execution duration in seconds. - Each test-script's execution duration in seconds. - Total execution duration for all requests and test-scripts respectively. - Total passing and failing requests, test-scripts, pre-request-scripts. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [ ] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [ ] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behavior, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:17:08 +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#3691
No description provided.