vscode-restclient icon indicating copy to clipboard operation
vscode-restclient copied to clipboard

Send all requests in a file

Open st-schneider opened this issue 4 years ago • 15 comments

If I have multiple requests in a file and they have request/response variables. It would be nice if I could run all the request in sequence so that all get executed based on the same initial request.

st-schneider avatar Nov 13 '19 10:11 st-schneider

@bm-stschneider do you mean just run all the requests in the correct order and display all the responses

Huachao avatar Nov 13 '19 15:11 Huachao

pretty much yes but also with possible request variables

st-schneider avatar Nov 14 '19 12:11 st-schneider

Gave a thumbs up, but also want to comment that I would love this feature as well. Would also like to be able to use it as part of CI script as mentioned in https://github.com/Huachao/vscode-restclient/pull/472.

AZ2Tonez avatar Jan 15 '20 18:01 AZ2Tonez

Thanks @AZ2Tonez,

BTW, I want to clarify that my pull request was mostly a proof of concept, and not intended to be merged as is.

But I hoped that my pull request can be a starting point to talk about this feature. If maybe @Huachao can tell us what he thinks about this topic, I can help coding things in an acceptable way.

saurus avatar Jan 17 '20 20:01 saurus

Would love this feature as well. I only discovered this extension today and I've already got a need for such a feature. Using request variables too

swhillance-mphn avatar Jan 22 '20 04:01 swhillance-mphn

This really would be nice: run selected or run all in the file. For example now I'm testing the REST API using the client and just need to run all and recheck the results.

0x49D1 avatar May 01 '20 14:05 0x49D1

+1 for this feature

boboz2 avatar Jun 17 '20 15:06 boboz2

+1

Kiyozz avatar Jun 17 '20 16:06 Kiyozz

I really like the REST client to test my Requests, but adding this feature will make me close my postman application completely.

visschersm avatar Jun 23 '20 06:06 visschersm

+1

zhmq0124v avatar Jun 23 '20 15:06 zhmq0124v

was this implemented?

ricmrodrigues avatar Jun 30 '20 12:06 ricmrodrigues

was this implemented?

@ricmrodrigues No, it wasn't.

Huachao avatar Jul 01 '20 01:07 Huachao

@Huachao any interest in a PR?

chadbr avatar Oct 29 '20 22:10 chadbr

+1

jplonghi avatar Apr 27 '21 20:04 jplonghi

https://github.com/api1st/httprun is a Windows/Linux command-line tool for executing the .http files that vscode-restclient uses.

api1st avatar Apr 11 '22 09:04 api1st