-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ignore requests error #1918
Comments
i have a similar request. Basically, i KNOW that an API will fail for x number of times before it begins working. it retries until it begins working, then the collection continues running. is there any ETA for the same? |
+1 for this feature request. We have a use case where the pre-request script retries the request to an endpoint for 'x' number of times until the server is up/ready and continues running the rest of the collection. This is from following the advice on this post: https://community.postman.com/t/retry-a-failing-request/5934 However, at the end of the collection run, newman returns the result as a failure if a request failed even though a retry was successful and no test cases actually failed. Is there a way to ignore such an error? |
any update |
+1 for this feature request. We have a use case where request to an endpoint sometimes fail with a timeout/ network hiccups (it's very rare) and we have a logic in place to retry it after a few seconds. Even if one of retries succeed, at the end of the collection run newman returns the result as a failure if a request failed even though a retry was successful and no test cases actually failed. It would be nice to have a flag that would allow the exit code to be 0. Something like |
Any update? |
Any update on this new feature please? |
Feature request: postmanlabs#1918 Introduced a new command line argument named supressRequestErrors to newman cli. The new argument will receive a array of domain names to be ignored of their errors (DNS lookup errors). The Run Summary instance will suppress the errors if the errored url / domain is supplied by the user in this argument.
Hello, |
Hello, Can someone review the PR and merge it please? Thanks, |
Having Newman fail the final result because of requests falling on some network issues is a real dealbreaker. Could the maintainer please review @rvijayarajan PR? Releasing a version with a flag that marks request network hiccups as non-breaking is greatly anticipated. |
Hi! |
Version and environment information:
newman -v
): 4.4.0We had issue "retry in case of failure" was suggested to solve it programmatically, but newman fails anyway because of request error, even if we retry it successfully. Is it possible somehow to ignore requests error?
The text was updated successfully, but these errors were encountered: