Forum Discussion
aaronpliu
Frequent Contributor
Looks like you need to get token from web page.
So you are able to create a common test case with http request to simulate web page action to capture required login information.
Then using above-mentioned scripts to create an auth profile and each REST step to reference it.
If you have direct method or API (i.e. /token) to retrieve access token with credential, then no need to capture login credential like web page.
Not sure which type of authentication you use?
Thanks,
/Aaron
SoapuiTeay
3 years agoOccasional Contributor
We have /token api but we need to pass Auth code in the request to this api which is generated once the login is successful.