Use a Response variable of Testcase to all other Testcases

Hello All,

I am getting the tokens from Login API and want to use that tokens in all the testcases. How can I achieve this scenario?

I was trying this thing Link, but I was not able to change the variable value after the API response.

Does anyone have any idea how can I achieve my scenario?