diff --git a/tests/benchmarks/http.js b/tests/benchmarks/http.js index 1b340b1887..a41b4778df 100644 --- a/tests/benchmarks/http.js +++ b/tests/benchmarks/http.js @@ -209,6 +209,10 @@ function setupUsers(projectId, count) { }, headers, [201], 'setup.account.session'); users.push({ sessionHeaders: { ...headers, Cookie: cookieHeader(session) } }); + + // Drop the auto-stored session cookie so the next user can sign in; + // setup() runs in a single iteration, so the jar is not reset for us. + http.cookieJar().clear(ENDPOINT); } return users;