How to increase Postman client request timeout

I request the API from the postman and get a response after 2 minutes, which is fine because the business logic is complex. But the problem is that the postman gives

502 bad gateway

After that, I checked the business logic and found that it completed successfully without errors.

So, I am worried about how to increase the request time.

+15
source share
3 answers

What version of postman are you using? In version 4.1.3 , I have XHR Timeout (ms), which means:

  • Specify how long the application should wait for a response before saying that the server is not responding.

Settings → General → XHR Timeout (ms) enter image description here

+25
source

For the new version of the POSTMAN client, go to Settings -> General → Request timeout in ms (0 for infinity)

enter image description here

+7
source
XHR Timeout(ms) 

Specify how long the application should wait for a response before saying that the server is not responding.

Go to settings -> general -> XHR Timeout (ms) set it to 120000

+1
source

Source: https://habr.com/ru/post/1246229/


All Articles