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

execute request in parallel using the Runner #4198

Closed
vbikash opened this Issue Feb 15, 2018 · 7 comments

Comments

Projects
None yet
3 participants
@vbikash

vbikash commented Feb 15, 2018

Is there any option to run a request in parallel(with x thread) using the Runner ?

@sivcan

This comment has been minimized.

Member

sivcan commented Feb 16, 2018

@vbikash - Runner as of now does synchronous execution of requests in a run.
You can run multiple runs on a folder or collection in parallel with different configurations (suppose environment, persist variables, delay etc.)

@sivcan sivcan self-assigned this Feb 16, 2018

@vbikash

This comment has been minimized.

vbikash commented Feb 16, 2018

@sivcan in the collection runner i see "iteration" and "delay" which is basically consecutive request not in parallel. am i missing any other option?

@sivcan

This comment has been minimized.

Member

sivcan commented Feb 17, 2018

@vbikash - You can run multiple run's of a collection / folder in parallel.
Just keep selecting the targets and keep running them.
That's what the runner supports right now.
You probably knew this, if not then this will help you.

image

@sivcan

This comment has been minimized.

Member

sivcan commented Feb 22, 2018

@vbikash - I hope this solved your problem.
If you need any further assistance, let me know.

@sivcan sivcan closed this Feb 22, 2018

@aynacisevda

This comment has been minimized.

aynacisevda commented Nov 9, 2018

Hi sivcan,

I could not multiple run's of a collection / folder in parallel.
potman
What is the problem,could you help me please?
Could you give some details about the parallel execution steps?
Postman for Windows
Version 6.5.2

@sivcan

This comment has been minimized.

Member

sivcan commented Nov 9, 2018

Hi @aynacisevda,
As explained above here: #4198 (comment)
You cannot have runner execute the requests of a collection in parallel during a SINGLE RUN.
Runner always executes 1 REQUEST PER RUN at any given point of time.

However,
You can run multiple 'runs' of each collection parallely.
As mentioned here #4198 (comment)
You can start a run, click on 'Collection Runner' and hit 'Run' again and again.
That'll be the only way out right now through UI.
So these will be parallel 'runs', that is possible.

Also, another solution would be to use Newman
You can actually run multiple instances of newman.

Since newman run's are executed asynchronously, you can run mutliple instance's of runs of a collection or folder faster using code.

@aynacisevda

This comment has been minimized.

aynacisevda commented Nov 12, 2018

Thanks for your help Sivcan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment