Unable to run the same request multiple times

Hello. sorry for the delayed reply. The scripts I used are the one from you from above and the one by @michal.robaszewski.j from here. I placed the scripts in the ‘pre-request Script’ section without any success.

The problem is that the server does not give any response, in Postman it looks like this

In this case I am wondering if there is a method to automatically send again the POST request.

I have a collection with several POST requests and I would like to run the collection’s requests without interruptions, yet when I get this issue the runner stops, it does not go to the next request; if I configured the runner with more Iterations, It will jump to the next Iteration which is not the desired behavior. The desired behavior is to retry the same request until I receive a response, any response.