ilpcw/ilp-rest-service/ilp-cw-api/[GET] droneDetails/drone 10 details.bru

29 lines
390 B
Text

meta {
name: drone 10 details
type: http
seq: 2
}
get {
url: {{API_BASE}}/droneDetails/10
body: none
auth: inherit
}
assert {
res.body.id: eq "10"
res.body.capability.capacity: eq 12.0
res.body.capability.heating: eq false
}
tests {
test("Status code is 200", function() {
expect(res.status).to.equal(200);
});
}
settings {
encodeUrl: true
timeout: 0
}