Ask a Question

Set time for executing request

Nisse
New Contributor

Set time for executing request

Hi!

 

Any ideas on how I can set up 2 requests towards 2 different web services that executes at the same predefined time?

 

E.g. 2 POST calls with different contents (such as zip-files) sent to 2 web services with addresses. 

2 REPLIES 2
richie
Community Hero

Hey @Nisse,

Youre never gonna get the requests sent at exactly the same time (to the 1/1000th of a second) so how much do you need the requests to be sent/received at the same time?

Quick/easy way of doing this could be to create two test cases, each test case has 1 request in it. Then id execute the containing testsuite in parallel mode. This should execute the tests simultaneously

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
richie
Community Hero

Hey @Nisse,

Ive just reread your post. Does this execution have to be at a predetermined time? If "yes" there's probably a better way of doing it, but you could create a windows task to execute testRunner at a specific time.

Ta

Rich
if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta
cancel
Showing results for 
Search instead for 
Did you mean: