csharpe
9 years agoNew Contributor
Adding parameter after an Oauth token in the authorization header
I need to pass an additional parameter value after the Oauth2 token in the authorization header. I'm not sure how to do this. I have used Oauth2 in SOAPUI NG pro before (credentials grant) but have n...
- 9 years ago
For OAuth you can still parameterize an additional HEADER component as shown here - http://readyapi.smartbear.com/structure/requests/rest/parameters/header
Another global option you could do was implement events - http://readyapi.smartbear.com/readyapi/events/start
Here's the sample code for adding a custom header to all outgoing messages - https://www.soapui.org/scripting-properties/tips-tricks.html#12-Add-custom-HTTP-header-to-requests