medium10 pts · first answer countsperformance-testingk6scripting
Discarding bodies but needing a token
Your k6 options set discardResponseBodies: true to save memory, but the login response body contains a token you must read. What is the cleanest fix?
const res = http.post(loginUrl, creds, { responseType: 'text' })Discussion 0
Join free to post in the discussion.