Collection-Tests are accumulating in the runner for requests when using bru.setNextRequest() #3748
Closed
2 tasks done
Labels
bug
Something isn't working
I have checked the following:
Describe the bug
When using Collection-Tests in the Runner and the same request is sent more than once with bru.setNextRequest() the Collection-Tests are performed an additional time for each previous use of that request.
(Putting the Test in the Test-section of the request, this doesn't occur)
.bru file to reproduce the bug
Use any Endpoint with the following in the Tests-section of the Collection:
bru.setNextRequest("Temp1") await bru.sleep(1000) test("Status is valid", function() { expect(res.status).to.be.oneOf([200,201]); });
Adapt the bru.setNextRequest() according to your used Endpoint.
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: