Async operations with rest-assured

2,344 views
Skip to first unread message

Eugen Paraschiv

unread,
Mar 18, 2012, 7:48:46 AM3/18/12
to rest-a...@googlegroups.com
Hi,
Is there any way to executed async requests with rest-assured, by using a future or a callback, or some other similar mechanism?
Thanks.

Johan Haleby

unread,
Mar 18, 2012, 2:11:02 PM3/18/12
to rest-a...@googlegroups.com
Hi,

Atm there's no such feature. Feel free to help out!

Regards,
/Johan

Anil Shekhar

unread,
Jun 17, 2016, 1:34:53 PM6/17/16
to REST assured
Hi Johan,

I am new to Rest-Assured. It's really an amazing framework. I was wondering if in the latest version is there a support of async post operation?

Regards
Anil

Johan Haleby

unread,
Jun 17, 2016, 1:46:34 PM6/17/16
to rest-a...@googlegroups.com
No only, the mockmvc module (that is spring specific) supports async requests.

--
You received this message because you are subscribed to the Google Groups "REST assured" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rest-assured...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matt Adamson

unread,
Jun 18, 2016, 10:05:11 AM6/18/16
to REST assured
What's the intention behind this though? If you run your REST assured tests through frameworks such as TestNG they will run in parallel if required eg to test concurrency.

Anil Shekhar

unread,
Jun 19, 2016, 3:23:44 PM6/19/16
to REST assured
Thanks Johan.

I did include this jar ..

<dependency>
   <groupId>io.rest-assured</groupId>
   <artifactId>spring-mock-mvc</artifactId>
   <version>3.0.0</version>
</dependency>

Also I did refer to your examples in 

But for some reason "async()" is not found ...eclipse

Thanks and appreciate your help.
Anil

Johan Haleby

unread,
Jun 19, 2016, 3:34:46 PM6/19/16
to rest-a...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages