Forum Discussion

Novari-QA's avatar
Novari-QA
Frequent Contributor
7 years ago

OAuth Access Token and Data Correlation issue

We are currently having an issue with Data Correlation. We have set up a rule to handle the Access Token from our OAuth process and it doesn't seem to be working correctly.

Our issue is that the Token is being cached when recording. The access token, if cached will only work until it expires. Once the token expires, then the scenario becomes invalid and I would have to re-record all of my scenarios. 

What I need is a method to have the access token parameter refreshed based on each virtual user. I do not want this data to be cached. 

I believe Data Correlation is what I am looking for.

TLDR; How do we prevent parameters from caching their data based off of the recordings, how do we utilize run time parameters?