Contributions
Re: Not automatically refreshing authorization access token
To clarify, would be great if this auto token refresh feature worked when using the 'Client Credentials Grant' method of getting the token. I can make an step that gets access token from our authorization server and put into a testsuite custom property. All the request steps will then use this token for their Authorization headers. This is alot simpler.3KViews0likes5CommentsRe: Not automatically refreshing authorization access token
Ok, then this auto refresh feature is not going to work in this use case. I do not need to go to a page and refresh a token with javascript. Lets say I have 50 rest api requests in a test suite and each requires an access token. Before I run the suite I have to go into each step and click on that get token button to get a new token. This is highly inefficient If I have 50 steps in a suite. Would be awesome if there was an auto refresh feature that upon soup ui start will know tokens are expired and automatically retrieve tokens per api request step. After that point keep track if tokens need to be refreshed after set period of time.2.9KViews0likes6CommentsRe: Not automatically refreshing authorization access token
I am using OAuth 2 - Client Credentials Grant. I have the settings correct and is retrieving the token. There is no javascript. Not authenticating on any page. I simply want the getting of a new token on every test for now, because I just want to see if that auto refresh feature even works. I have seen some of the post regarding this. For now I just want an explanation exactly how this feature works. The option says Refresh Access Token: Automatic and I set the expire to 1 second. I am to conclude that when token expires it will automatically get a new token without me having me to click on get token. This does not seem to be happening. Is this how it is supposed to work? I could not find a really clear explanation on the documentation. Maybe you can point me to a place where I can understand this feature.3KViews0likes8CommentsNot automatically refreshing authorization access token
I have a test that retrieves authorization access token and I set it to automatically refresh after 1 second. Meaning I want it to to get access token for every time it is run. It is not refreshing the token. I just see an error sign saying token has expired. It is not auto refreshing. What is going on?Solved3.3KViews0likes10CommentsUsing property expansion in header param does not work
I have set a custom property 'token' at the project level and would like to use that value in a header param. I am putting this into a header param value field: ${#projectname#token} It is not grabbing that custom property value I set at the project level. Doing something wrong?Solved1.5KViews0likes4Comments