I am testing an API which has access token . Access token is service token, so irrespective of how many users , only one access token will be created. So i want to create only one access token .
how can i achieve it.
Currently i have two scenarios class , one for accessToken and actualApi. In the simulation class , i use
accessToken followed by actualApi in the SetUp method.
Even though I am able to generate access_token , i am not able to pass that to
accessToken to actual API here.