Using authentication token from separate web service
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using authentication token from separate web service
Apologies if this was answered before, My quick search did not seem to cover this.
I am needing to perform a security test using Secure on a webservice. Unfortunately, the process to authenticate to the webservice is to supply the authentication credentials to a different authentication webservice in order to obtain a token. This one time use token is then used to access the service that I need to test.
I was hoping that there would be a way to use SoapUI NG (1.5.0) to obtain the token and somehow pass it to Secure. Or is there a way that I can use secure to access the authentication service, obtain the token, then use the token to test the other service.
Any information would be quite helpful.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Gelkins,
Theoretically, you can do the following:
- In SoapUI NG, get the response containing your token.
- Save its value to a project property (via the Property Transfer operation).
- Use this property in Secure.
Tanya Yatskovskaya
SmartBear Community and Education Manager
