Skip to content

running same requests for n time? #1870

Answered by fabricereix
dibalikpohon asked this question in Ideas
Discussion options

You must be logged in to vote

we are going to add the repeat option #88, to repeat the same request n times

to inject different variables for each request, we could use the index of the request in the loop/repeat

Implicitly

DELETE http://localhost:8082/api/data/{{ids nth repeat_index}}
[Options]
repeat: 5

HTTP 200

or explicitly

DELETE http://localhost:8082/api/data/{{id}}
[Options]
for: id in ids

HTTP 200

I think I would prefer the explicit version. It may be a bit weird to have that in the [Option] section.
for sure, we will implement the simple repeat option.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dibalikpohon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants