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

  • Автор темы Автор темы V Munich
  • Дата начала Дата начала

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?
 
Последнее редактирование:
Nope.
 
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.
 

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