# Infinite loop in runner when using setNexRequest method

**URL:** <https://community.postman.com/t/infinite-loop-in-runner-when-using-setnexrequest-method/12537>\
**Category:** Help Hub\
**Tags:** tests, collections, runner\
**Created:** [May 11, 2020, 6:05am UTC](https://community.postman.com/t/infinite-loop-in-runner-when-using-setnexrequest-method/12537 "2020-05-11T06:05:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anna.tirshenko](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@anna.tirshenko](https://community.postman.com/u/anna.tirshenko)\
**Post date:** [May 11, 2020, 6:05am UTC](https://community.postman.com/t/infinite-loop-in-runner-when-using-setnexrequest-method/12537/1 "2020-05-11T06:05:29Z")

</div>

Hey there.

I’m always having this problem when I use steNextRequet method in my tests.

I have X collection. The X collection includes A, B, C , D , E , F requests.

My flow of running collection should be like this:

1. A
2. B.
3. C
4. A (with different test assertions)
5. D
6. E.
7. F

My action: I set next request in tests of C request.

Problem: when I run the collection, It executes with these sequence.

1. A
2. B
3. C
4. A.
5. C
6. A
7. C

```auto
I expect that after executing A again it should pass to the next requet in the folder D and continue with its flow as it is in the collection. 
Please help 
Thnaks
```
