Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection Runner doesnt show up test status for previous data sets, when collection is run for multiple data sets via scripts #2522

Open
2 tasks done
akhot09 opened this issue Jun 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@akhot09
Copy link

akhot09 commented Jun 27, 2024

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

I am using Bruno Desktop Version : v1.19.0
When i am running collection having set of API requests using Collection Runner feature with data file by writing js scripts feature in Pre/Post request script tabs (as suggested by Aliaic in discussions : #2313) having multiple sets of data (like iteration run), the collection runner doesnt show up test status for previous data sets where as it shows test status against each of API call only for 'nth' data set (last data set) in data file.

Please find below screen shot for the same:
image

Please let me know if any more information is needed.
Thanks!

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

@akhot09 akhot09 added the bug Something isn't working label Jun 27, 2024
@BruAlcaraz
Copy link

I am facing the same issue on my end:
image
image

I have also noticed that if I use the 'bru.setNextRequest("re-queue tests");' in the test script it will not work it only work if it is in the Post Response script even though the documentation says that it would work on either test or post response scripts:
image

@akhot09
Copy link
Author

akhot09 commented Jul 2, 2024

@BruAlcaraz - I have used setNextRequest() in Post-Request Script of last API - "APIReq-Post4" only but still i am able to see same issue as depicted in above screen shot.

@BruAlcaraz
Copy link

@akhot09 I have created a PR #2551 with a fix for this issue. Lets hope that it gets approved by the maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants