'How to increase Postman Client request timeout

I am requesting an API from postman and getting response after 2 minutes, which is fine because the business logic is complex. But the problem is that postman is giving

502 Bad Gateway

After that, I checked the business logic and found that it successfully executed without any error.

So my concern is how to increase the request time.



Solution 1:[1]

What version of postman do you use? In version 4.1.3 I have XHR Timeout(ms) which means :

  • Set how long the app should wait for a response before saying that the server isn't responding.

Settings -> general ->XHR Timeout(ms) enter image description here

Solution 2:[2]

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

enter image description here

Solution 3:[3]

XHR Timeout(ms)

Set how long the app should wait for a response before saying that the server isn't responding.

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 abyversin
Solution 2 Stefano
Solution 3 P S M