mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-28 23:24:05 +00:00
32 lines
396 B
Plaintext
32 lines
396 B
Plaintext
meta {
|
|
name: getStatus
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
auth:awsv4 {
|
|
accessKeyId: a
|
|
secretAccessKey: b
|
|
sessionToken: c
|
|
service: d
|
|
region: e
|
|
profileName: f
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
res.body: eq pong
|
|
}
|
|
|
|
tests {
|
|
test("res.getStatus()", function() {
|
|
const status = res.getStatus()
|
|
expect(status).to.equal(200);
|
|
});
|
|
} |