Re: Not automatically refreshing authorization access token
I have a Team City job that:
- runs every 2 hours
- extracts the tokenID
- writes it to the automation DB table
When I run my projects, I have an initial script to
retrieve the tokenID into a Project variable for my test scripts
With this approach, I always have a valid tokenID available when I run my project locally
or for my company, my services scripts on Team City, the jobs can be run at anytime so from
this side I also will always have a valid tokenID available as well.
My tokenIDs are very long, so running the complete project works great where the DB value is extracted and used. From this way of running, if my custom property var is blank, somehow SoapUI uses the tokenID correctly but for reason does not store it like it should. Manually copying the valid tokenID into
custom property, the tokenID is kept. I believe it is a length issue that prevents storing the tokenID in my custom property var, for a Team City job project run as well as for a manual run of my project.