mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-09 07:28:24 +01:00
14 lines
290 B
Plaintext
14 lines
290 B
Plaintext
|
script:pre-request {
|
||
|
console.log("collection pre");
|
||
|
}
|
||
|
|
||
|
script:post-response {
|
||
|
{
|
||
|
console.log("collection post");
|
||
|
const sequence = bru.getVar('sequence') || [];
|
||
|
sequence.push(1);
|
||
|
bru.setVar('sequence', sequence);
|
||
|
console.log("sequence", bru.getVar('sequence'));
|
||
|
}
|
||
|
}
|