Is there a way to execute more than one task at the same time?

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8
I have a template that does several POST requests. Normally each request takes 1 second to execute. If I have 20 POST requests, it will normally take 20 seconds to do them, because they executed one at each time.

Is there a way to speed up this process and execute all of the POST requests at the same time?
 
Последнее редактирование:

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Nope.
 

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18
I have a template that does several POST requests. Normally each request takes 1 second to execute. If I have 20 POST requests, it will normally take 20 seconds to do them, because they executed one at each time.

Is there a way to speed up this process and execute all of the POST requests at the same time?
Maybe you can add only 1 post request in your template. Take all values as variables read from a file.
Run 20 threads in parallel one each for 1 line in the file.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)