Files
bruno/tests/proxy/system-pac/fixtures/collection/proxied.bru

22 lines
298 B
Plaintext

meta {
name: proxied
type: http
seq: 1
}
get {
url: http://localhost:19000/proxied
body: none
auth: none
}
assert {
res.status: eq 200
}
tests {
test("request was routed through system PAC proxy", function() {
expect(res.headers['x-proxied']).to.equal('test-proxy');
});
}