Hi Team,
I am new to POSTMAN and i have been facing error “Error: read ECONNRESET” while running the collection through Collection runner and New man
This issue is existing for request that are having response more than 4 seconds, and that too not every time. While running the request in manual way by clicking Send it is giving valid response
The request which shows error “Error: read ECONNRESET”, may not show the error again. It is intermittent issue… But its pointing towards stability issue in collection runner and newman
Hey
@sonutitus
Is there a reason that you have the 2
setTimeout
functions in the script?
Does the connection timeout after a certain amount of time?
What’s the response time of the request that passes compared to the same request the is intermittently failing?
Hi
@danny-dainton
,
Thank you for the quick response.
The reason I tried using timeout is because this ECONNRESET issue, so the timeout would actually wait for the response
1st Timeout is used to wait 2 seconds after getting the response and the second time out 1 second is used to wait before storing the response to variable.
But timeout itself was just workaround i tried to achieve to solve the ECONNRESET issue, but was not successful
The response time passes : anything below 3 seconds are working
Is there issue resolved already? I encountered this issue as well.
I have 2 requests in the collection,
if I run requests one by one by clicking “Send” button, both requests succeeded.
if I run the collection using collection runner, I get “Error: read ECONNRESET” for the 2nd request every time,