cancel
Showing results for 
Search instead for 
Did you mean: 

Adding parameter after an Oauth token in the authorization header

SOLVED
Highlighted
New 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 never had to add an additional parameter.  Any help or direction would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Staff

Re: Adding parameter after an Oauth token in the authorization header

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

View solution in original post

2 REPLIES 2
Staff

Re: Adding parameter after an Oauth token in the authorization header

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

View solution in original post

New Contributor

Re: Adding parameter after an Oauth token in the authorization header

 Thank you.   The suggestions were very helpful.  I think I will be able to work out my issues based on your suggestions. 

New Here?
Join us and watch the welcome video:
Final Interview in the Series
API_testing_mistake#7
Top Kudoed Authors