# Unable to run requests grouped in Collection Runner

**URL:** <https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044>\
**Category:** Help Hub\
**Tags:** tests, collections\
**Created:** [December 14, 2022, 4:24am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044 "2022-12-14T04:24:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 4:24am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/1 "2022-12-14T04:24:48Z")

</div>

Hi, I have two requests which I need to run in sequence.

This is the pre-Request scripts for the 1st request called PurchaseInitiation (POST)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/8/0/803a4be69a134cb2eaa7dd763e4c0c07882c171b.png)

This is the pre-Request scripts for the 2nd request called purchaseconfirmatin (POST)

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/a/d/ad7552ea7c352c727f617ca2fe21b136a6fbc345.png)

And the following is the Collection Runner setup

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/1/51ad084aadc049db1f2d4afd196eb17ddc0fe8fd.png)

When I click on “Run PinStore” button, it only execute PurchaseInitiation request but not purchaseconfirmatin request. May I know is there anything I missed out ?

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 14, 2022, 4:50am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/2 "2022-12-14T04:50:50Z")

</div>

What code do you have in the first requests `Tests` section? Do either of the requests have unsaved changes?

---

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 4:58am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/3 "2022-12-14T04:58:53Z")

</div>

Thanks for your reply @danny-dainton .

If I understand your question correctly, the code is as per the request script in the PurchaseInitiation attached. Correct me if I misunderstood your question.

For your second question, there are no unsaved changes in both requests.

Do let me know if you need further info.

---

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 5:00am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/4 "2022-12-14T05:00:19Z")

</div>

@danny-dainton Oh I get what you mean by the test in the first section. Hang on, I’ll go get the screenshot

---

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 5:02am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/5 "2022-12-14T05:02:28Z")

</div>

@danny-dainton Here’s the code in the Test Section for the first request

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/9/59f6f4328395fd7f9cd6b0b1d387a0aa61aabdc3.png)

And this is the code in the Test section of second script

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/c/5/c555cbf4f38b64c9a6ee5172a29d3c626021ce46.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [December 14, 2022, 11:52am UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/6 "2022-12-14T11:52:52Z")

</div>

It’s difficult to know what’s happening just by looking at a few cropped static images on the app.

- Do you have an environment set?
- Are the individual requests saved (No orange dots in the tabs)
- What’s the response from the first request?
- Can you share the image of the summary results?
- Have you tried opening another Runner tab and dragging the Collection with the requests in the center window and running again?

---

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 3:35pm UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/7 "2022-12-14T15:35:43Z")

</div>

@danny-dainton I tried to paste all the screenshots, but the comments box allow only 3 screenshots/media per comment box.

Let me get a video screenshot instead

---

<div class="post-metadata">

**Author:** ![qatester1978](https://avatars.discourse-cdn.com/v4/letter/q/a87d85/32.png) [@qatester1978](https://community.postman.com/u/qatester1978)\
**Post date:** [December 14, 2022, 4:25pm UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/8 "2022-12-14T16:25:35Z")

</div>

@danny-dainton

- Do you have an environment set?

- Are the individual requests saved (No orange dots in the tabs)  
**The above are checked without any issues.**

- Have you tried opening another Runner tab and dragging the Collection with the requests in the center window and running again  
**Tried this step. The first time I tried running it, it failed. Then I re-create again and run it, it works !**

But I need to to find out what actually happens. BUt at least it is working for now. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [August 2, 2023, 3:04pm UTC](https://community.postman.com/t/unable-to-run-requests-grouped-in-collection-runner/42044/9 "2023-08-02T15:04:16Z")

</div>

Closed on August 2, 2023, 3:04pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
