2023-10-07 22:27:30 +02:00
|
|
|
meta {
|
|
|
|
type: collection
|
|
|
|
}
|
|
|
|
|
|
|
|
headers {
|
|
|
|
content-type: application/json
|
|
|
|
Authorization: Bearer 123
|
|
|
|
~transaction-id: {{transactionId}}
|
|
|
|
}
|
|
|
|
|
|
|
|
auth {
|
|
|
|
mode: none
|
|
|
|
}
|
|
|
|
|
|
|
|
auth:basic {
|
|
|
|
username: john
|
|
|
|
password: secret
|
|
|
|
}
|
|
|
|
|
2024-09-23 14:16:31 +02:00
|
|
|
auth:wsse {
|
|
|
|
username: john
|
|
|
|
password: secret
|
|
|
|
}
|
|
|
|
|
2023-10-07 22:27:30 +02:00
|
|
|
auth:bearer {
|
|
|
|
token: 123
|
|
|
|
}
|
|
|
|
|
2023-10-28 16:59:50 +02:00
|
|
|
auth:digest {
|
|
|
|
username: john
|
|
|
|
password: secret
|
|
|
|
}
|
|
|
|
|
2023-10-07 22:27:30 +02:00
|
|
|
vars:pre-request {
|
|
|
|
departingDate: 2020-01-01
|
|
|
|
~returningDate: 2020-01-02
|
|
|
|
}
|
|
|
|
|
|
|
|
vars:post-response {
|
|
|
|
~transactionId: $res.body.transactionId
|
|
|
|
}
|
|
|
|
|
|
|
|
script:pre-request {
|
|
|
|
console.log("In Collection pre Request Script");
|
|
|
|
}
|
|
|
|
|
|
|
|
script:post-response {
|
|
|
|
console.log("In Collection post Request Script");
|
|
|
|
}
|
|
|
|
|
|
|
|
docs {
|
|
|
|
This request needs auth token to be set in the headers.
|
|
|
|
}
|