Increasing the request timeout

540 views
Skip to first unread message

gaurav gehlot

unread,
Jan 24, 2014, 12:57:53 AM1/24/14
to rest-a...@googlegroups.com
I am trying to use restassured in one my test classes. The requests sent by this class take quite long (> 45 seconds) to finish. But in such a case I think REST-Assured times out and I get 504 gateway timeout error. I tried to increase the timeout if http client but it does not seem to be working. Can anyone please tell me what is the correct way of increasing the timeout.

Thanks,
gg

Johan Haleby

unread,
Jan 24, 2014, 2:55:32 AM1/24/14
to rest-a...@googlegroups.com
I think this sounds like a server issue. Read up on the 504 error (for example here). Servers return 504 if an upstream server fails to response in time.

/Johan


--
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/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages