Skip to content
RED SAG Skills
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' })
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions