After token is put into the global variable, how can it be tried out by other test cases

I have the same problem. Can you tell me how you solved it?

My operation is

  1. Object Repository:

Auth-> get token and set in GlobalVaryable

Createuser-> use token,creater user.

This is how createUser refers to the global variable

I wrote these two interfaces into a test case.And add the use case to a test suites

The contents of the test case are as follows:

The execution result: