|
|
|
@ -1,8 +1,16 @@ |
|
|
|
// Auto-generated by the postman-to-k6 converter
|
|
|
|
|
|
|
|
import { sleep } from"k6"; |
|
|
|
import "./libs/shim/core.js"; |
|
|
|
|
|
|
|
export let options = { maxRedirects: 4 }; |
|
|
|
export let options = { |
|
|
|
maxRedirects: 4, |
|
|
|
duration: "1m", |
|
|
|
vus: 10, |
|
|
|
thresholds: { |
|
|
|
http_req_duration: ["p(95)<500"] // 95 percent of response times must be below 500ms
|
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const Request = Symbol.for("request"); |
|
|
|
postman[Symbol.for("initial")]({ |
|
|
|
|