0

I am calling a rest controller on my localhost, passing in bunch of request headers. The call is made fine but due to processing timeout the advanced-rest-client timesout and doesn't show the result from the server. how can i increase the timeout so it can wait for server to complete the request and display the result? I would appreciate your hints on this.

Thanks, Sam

Sam K
  • 11
  • 1
  • 4
  • Is the server timing out or is it advances-rest-client? What type of server are you hitting? Do you have control of the server? – banderson Sep 23 '19 at 21:01
  • not the server, the advance-rest-client timesout. i'm looking for setting on the REST tool where to configure the timeout. – Sam K Sep 24 '19 at 14:18
  • You could try using Postman and see if that is more friendly on timeouts. How long before it times out? Also, you could try the CLI tool curl and make the request using that. Typically requests that take a long time happen in the background and you don't await a response. Also, you might be interested in learning about event driven architecture. – banderson Sep 24 '19 at 16:00

1 Answers1

0

You can adjust request timeout in application settings. In version 14 it is possible to adjust request timeout directly in the request editor.

Pawel Uchida-Psztyc
  • 3,735
  • 2
  • 20
  • 41
  • I have a default timeout left in the settings (45secs) and still the request times out immediately (it's a POST request); I do see the server processing the request normally. What can be the reason? BTW, when I turn on the request's own settings (it is set to 90secs timeout) - the timeout config IS taken correctly and no timeout seen. So it looks like the default timeout settings are not applied or something... – GullerYA Apr 10 '20 at 10:29