Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Get Users.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
meta {
name: Get Users
type: http
seq: 1
}

get {
url: https://reqres.in/api/users
body: none
}

headers {
Content-Type: application/json
}

assert {
res.status: 200
}

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


26 changes: 26 additions & 0 deletions User/Get Users.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
meta {
name: Get Users
type: http
seq: 1
}

get {
url: https://reqres.in/api/users
body: none
}

headers {
Content-Type: application/json
}

assert {
res.status: 200
}

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