Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running multiple iterations of request using data from file #2303

Open
1 task
CrispyDrone opened this issue Jan 8, 2024 · 0 comments
Open
1 task

Running multiple iterations of request using data from file #2303

CrispyDrone opened this issue Jan 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CrispyDrone
Copy link

Problem to solve

I would like to be able to have hurl run a single request (or a collection of multiple request) multiple times in a row with unique data taken from a file on each iteration.

Proposal

Support specifying a data file when invoking hurl.

Additional context and resources

There's already a feature where you can specify a --variable-file, however to be able to achieve what I want I would need to create multiple variable files, and write a bash script that would read a different one on each hurl invocation. I imagine this also wouldn't be very good performance wise when trying to run 100's to 1000's of iterations.

Postman's collection runner has this feature, and I like to use it to subject an endpoint to various cases. See https://learning.postman.com/docs/collections/running-collections/working-with-data-files/.

Tasks to complete

  • ...
@CrispyDrone CrispyDrone added the enhancement New feature or request label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant