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

bru command line treatment of "collection.bru" as a request in a collection #129

Open
dxxd116 opened this issue Sep 24, 2024 · 0 comments
Open

Comments

@dxxd116
Copy link

dxxd116 commented Sep 24, 2024

bru command will treat "collection.bru" as a request in a collection while it is actually a setting file for a request collection.
That results in a request is sent according to the specifications in the "collection.bru" file, which will fail eventually as there is no url settings inside it.

sample "collection.bru"

test("Response status code is 200", function () {
    expect(res.getStatus()).to.equal(200);
});


test("Response time is less than 10s", function () {
  expect(res.getResponseTime()).to.be.below(10000);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant