How can I quickly replace the Authorization token within the HTTP Header for all my API Calls?

Hi All,

I’m new to the API testing category.
I’ve setup an Object Repositry for API via the following steps…

  1. Right Click on Object Reposity
  2. From the Option Menu >> Click on Import from Swagger
  3. Typed in URL
  4. Click OK

Currently, for every API Call I need to change the Authorization Token manually and it’s very frustrating.
Is there a way of to pick up the token automatically or set it in a data file?

Any help will be appreciated.

Thanks in advance.

Hi mkleyn

Instead of using the hard code value, you can extract the Token from login API and assign it to another API header.