# Tests run not stable in collection run loop. (one time run, another time not get into the loop)

**URL:** <https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329>\
**Category:** Help Hub\
**Tags:** tests, collections, loop\
**Created:** [March 29, 2018, 9:54am UTC](https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329 "2018-03-29T09:54:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![o.haistruk](https://avatars.discourse-cdn.com/v4/letter/o/da6949/32.png) [@o.haistruk](https://community.postman.com/u/o.haistruk)\
**Post date:** [March 29, 2018, 9:54am UTC](https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329/1 "2018-03-29T09:54:50Z")

</div>

Hi! Can anybody help?

I put tests into the for loops and other conditions. And it works fine if I run this single request manually many times.  
But when I run it as a collection current request can run 1 time and stops (conditions make it run in a loop 100% not one time and before it stops all tests should be passed).  
Another time it runs several times and stops.  
The third time it runs several tests and several times more and stops.

Anyone have such problem? How to debug Collection run in any way except console.log?

---

<div class="post-metadata">

**Author:** ![o.haistruk](https://avatars.discourse-cdn.com/v4/letter/o/da6949/32.png) [@o.haistruk](https://community.postman.com/u/o.haistruk)\
**Post date:** [March 29, 2018, 11:41am UTC](https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329/2 "2018-03-29T11:41:17Z")

</div>

Sorry! My bad. How to close the topic and delete?

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [April 1, 2018, 6:05pm UTC](https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329/3 "2018-04-01T18:05:46Z")

</div>

Hi, I’ll close this topic since it’s resolved for you.

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [April 1, 2018, 6:05pm UTC](https://community.postman.com/t/tests-run-not-stable-in-collection-run-loop-one-time-run-another-time-not-get-into-the-loop/1329/4 "2018-04-01T18:05:50Z")

</div>

Closed on April 1, 2018, 6:05pm UTC


