0

How to send token with this request?

  1. I send POST request with the body: https://joxi.ru/MAjyLKZHj7lXN2
  2. I created Regular Expression Extractor to take a token: https://joxi.ru/LmGLPxGHwdPL32
  3. Then I put this token to the next POST request: https://joxi.ru/Y2L3PVBh7GPJGm
  4. After I run my test it fails: At LOGIN a take a token: https://joxi.ru/E2pjOoXi7eLMnr

BUT another request fails: https://joxi.ru/Vm6O80lf4ql8N2

1 Answer 1

0

After your Log_in thread group, the token is already stored in the BEARER variable.

You can access it on the Header Manager:

enter image description here

(Change key for BEARER and it should work)

Also be careful with typos, the name of the Header key is Authotization.

2
  • Thank's, very grateful for the help
    – Dmitry_Mir
    Commented Jul 17, 2019 at 11:06
  • Most welcome Dmitry. If the answer was solved your issue, could you mark it as accepted? It really helps to keep the people engaged in the site. Commented Jul 17, 2019 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.