mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-28 23:24:05 +00:00
27 lines
383 B
Plaintext
27 lines
383 B
Plaintext
meta {
|
|
name: getVar
|
|
type: http
|
|
seq: 5
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
auth:awsv4 {
|
|
accessKeyId: a
|
|
secretAccessKey: b
|
|
sessionToken: c
|
|
service: d
|
|
region: e
|
|
profileName: f
|
|
}
|
|
|
|
tests {
|
|
test("should get var in scripts", function() {
|
|
const testSetVar = bru.getVar("testSetVar");
|
|
expect(testSetVar).to.equal("bruno-test-87267");
|
|
});
|
|
} |