Files
bruno/packages/bruno-tests/collection/echo/echo headers.bru
2025-05-08 21:51:21 +05:30

23 lines
384 B
Plaintext

meta {
name: echo headers
type: http
seq: 13
}
post {
url: {{echo-host}}
body: none
auth: inherit
}
headers {
Custom-Header-String: bruno
}
tests {
test("test headers",function() {
expect(res.getHeaders()).to.have.property("Custom-Header-String".toLowerCase())
expect(res.getHeaders()).to.have.property("Custom-Header-String".toLowerCase(), "bruno")
})
}