Unable to run requests grouped in Collection Runner

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)

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

And the following is the Collection Runner setup

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 ?

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

Thanks for your reply @dannydainton .

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.

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

@dannydainton Here’s the code in the Test Section for the first request

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

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?

@dannydainton 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

@dannydainton

  • 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.