Contributions
Is there any way to increase the timeout for OAuth2 access token retrieval with built-in Auth tab?
Hi all, I am trying to figure out a way to increase the timeout for OAuth2 access token retrieval in SoapUI. I have set up some OAuth2 profiles using SoapUI's Auth tab and have created a short automation script to automate that retrieval. Functionally, the automation script works well. However, it takes so long for the login page to load, that SoapUI "times out" on the token retrieval and then cancels the outgoing request that needed to get the token. Looking in the SoapUI logs, this is what I see: Thu Jan 18 12:02:59 MST 2018:INFO:The access token has expired, trying to retrieve a new one with JavaScript automation. Thu Jan 18 12:03:05 MST 2018:WARN:OAuth2 access token retrieval timed out after 5000 ms Thu Jan 18 12:03:05 MST 2018:ERROR:Exception in request: java.lang.RuntimeException: Unable to refresh expired access token. Thu Jan 18 12:03:05 MST 2018:ERROR:An error occurred [Unable to refresh expired access token.], see error log for details So, it would appear that my issue could be resolved if I could just figure out how to increase the timeout. Has anyone figured out a way to do this? Thanks!1.8KViews0likes1Comment