Files
bruno/packages/bruno-tests/collection/scripting/api/bru/getProcessEnv.bru
2024-08-12 12:27:32 +05:30

27 lines
363 B
Plaintext

meta {
name: getProcessEnv
type: http
seq: 6
}
get {
url: {{host}}/ping
body: none
auth: none
}
auth:awsv4 {
accessKeyId: a
secretAccessKey: b
sessionToken: c
service: d
region: e
profileName: f
}
tests {
test("bru.getProcessEnv()", function() {
const v = bru.getProcessEnv("PROC_ENV_VAR");
expect(v).to.equal("woof");
});
}