mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#5310
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/5662
Author: @Manohar-ford
Created: 12/4/2025
Status: ❌ Closed
Base:
main← Head:collection-runner📝 Commits (2)
22487b3feat: add support for iterations and validation in collection runnercd26755feat: add data-driven testing support with CSV/JSON file uploads and dataset management📊 Changes
8 files changed (+613 additions, -73 deletions)
View changed files
📝
packages/hoppscotch-common/locales/en.json(+16 -0)📝
packages/hoppscotch-common/src/components/http/test/RunnerModal.vue(+319 -7)📝
packages/hoppscotch-common/src/components/importExport/Base.vue(+0 -2)📝
packages/hoppscotch-common/src/components/share/Modal.vue(+0 -1)📝
packages/hoppscotch-common/src/helpers/RequestRunner.ts(+43 -12)➕
packages/hoppscotch-common/src/helpers/import-export/dataset/parser.ts(+66 -0)📝
packages/hoppscotch-common/src/helpers/rest/document.ts(+7 -0)📝
packages/hoppscotch-common/src/services/test-runner/test-runner.service.ts(+162 -51)📄 Description
Closes #5324
Closes #5163
Description
This Pull Request introduces significant enhancements to the Hoppscotch Collection Runner, enabling users to execute collections with simple iterations and drive request parameters using external data files. This allows for robust data-driven testing and automation of repetitive tasks, directly addressing user demands for more powerful collection execution capabilities.
What's Changed
This PR implements two major features within the Collection Runner: Simple Iteration and Data Feed (CSV/JSON).
1. Collection Runner - Simple Iteration
Ntimes, providing a straightforward way to repeat tests or actions.2. Collection Runner - Data Feed (CSV/JSON)
usernamewould be accessible as{{username}}in requests during that iteration.Integration and UI/UX
Notes to Reviewers
Motivation
This feature directly responds to the community's need for advanced testing capabilities, as highlighted in issues [feature]: Support setting number of iterations in Collection Runner UI #5324 and [feature]: Collection runner via GUI with ability to import files and choose which requests should be run #5163. It allows Hoppscotch to compete more effectively with other API clients in terms of automated testing and data-driven workflows.
Testing Strategy
Edge Cases Considered
Future Enhancements (Out of Scope for this PR)
Backward Compatibility
This feature is fully backward compatible. Existing collection runs without iteration counts or data files will function as before.
Security Considerations
Data files are processed client-side. Users are responsible for the content of their uploaded files. No new external network requests are made as part of the data parsing.
Checklist
Summary by cubic
Adds iterations and CSV/JSON data feed to the Collection Runner to enable repeatable and data-driven runs. Closes #5324 and #5163.
Written for commit
cd26755a6f. Summary will update automatically on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.