Newman running in Docker with large number of iterations fails at around 10K requests

Describe the bug
I created an alpine based docker image and installed latest version of node and newman there. This docker image is being used as a jenkins agent where i run my collections.
Everything works fine, except when i have a larger data set. When the number of requests reach somewhere around 10K, the newman process dies. I have no idea why.
I confirmed it in my Jenkins settings and also after some test runs, that it is not the Jenkins who is killing the process. Newman seems to give up. It is not time bound as i tried adding delays, it sometimes dies within 30 mins and sometimes in 10 hours, but always after processing around 10K requests.

To Reproduce
Steps to reproduce the behavior:

  1. Install latest version of newman on alpine
  2. Run any collection with some input data. Make sure eventually newman gets to call the API endpoint(s) well over 10K times.
  3. Newman fails after around 10K requests.

Expected behavior
Newman process must not die until it finishes all the given iterations.

App information (please complete the following information):

  • Newman Version - 4.5.4
  • OS: Alpine
1 Like