feat: lab2 done

This commit is contained in:
2026-10-09 15:48:03 +03:00
parent f743ee10a2
commit 575f8ee386
104 changed files with 7038 additions and 1099 deletions
+30
View File
@@ -0,0 +1,30 @@
meta {
name: Metrics reset
type: http
seq: 2
}
post {
url: {{baseUrl}}/internal/metrics/reset
body: none
auth: none
}
headers {
Authorization: Bearer {{metricsToken}}
}
docs {
Обнуляет счётчики процесса API (используется бенчмарком трека 1, чтобы
считать дельту по повторности). На PostgreSQL и Redis не влияет.
}
tests {
test("200 ok", function() {
expect(res.status).to.equal(200);
});
test("status ok", function() {
expect(res.body.status).to.equal("ok");
});
}