[scenario] name = "workflow-setup" protocol = "http" target = "http://127.0.0.1:18082" wasm = "./workflow-health.wasm" [execution] mode = "constant-vus" vus = 1 duration = "2s" warmup = "1s" [[setup.requests]] name = "bootstrap" method = "GET" path = "/login" store_body_as = "setup.LOGIN_BODY" capture_body_max_bytes = 64 [http.defaults] use_tls = false cookie_jar = false max_steps_per_iteration = 4 [[http.requests]] id = 1 name = "login" method = "GET" path = "/login" [[http.requests]] id = 2 name = "me" method = "GET" path = "/me" headers = { authorization = "Bearer ${iter.TOKEN}" } [[thresholds]] metric = "http.error_rate" op = "<=" value = "0.01"