Files
mtusi2026lab2/bruno/health/health-live.bru
T
2026-10-09 15:48:03 +03:00

27 lines
530 B
Plaintext

meta {
name: Health live
type: http
seq: 1
}
get {
url: {{baseUrl}}/health/live
body: none
auth: none
}
docs {
Liveness процесса. Зависимости не проверяются: если API жив, ответ 200.
}
tests {
test("status 200", function() {
expect(res.status).to.equal(200);
});
test("X-Request-Id присутствует", function() {
expect(res.headers["x-request-id"]).to.be.a("string");
expect(res.headers["x-request-id"].length).to.be.greaterThan(0);
});
}