Unanswered question

How to handle Authorization Bearer value for each request

When I start checking my script, I'm getting this error: WWW-Authenticate: Bearer error="invalid_token"

test T.
test T.

test T.

Level
0
1 / 100
point

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

This Bearer token is probably coming from a previous server response. Have you tried to extract it and reuse it in that header?

Also i saw that you managed the cookie values with NeoLoad variables. If it's server cookies it's not necessary to do that since NeoLoad will automatically take care of them. Actually your variables are not used if NeoLoad is configured to manage them.