In our Web API authorization we make use of the bearer token. Is it possible to use the bearer token in Telerik Test Studio too, or is this a new feature request?
5 comments
ADMIN
Oleg
Posted on:10 Feb 2017 16:21
Hi all,
Authorization support with Basic and OAuth 2.0 authentication is now added to the R1 2017 release. You can see more info in the documentation: http://docs.telerik.com/teststudio-apis/features/steps/http-request#Authorization.
Let us know if you have further feedback.
Kim
Posted on:20 Jul 2016 13:40
That works great for us. Thank you
ADMIN
Valeri Hristov
Posted on:18 Jul 2016 13:34
I would recommend obtaining the token in the first executed Test Case (e.g. setup test run) in the project and saving it in a Project-level (global) variable using a Set Variable Step. Then you could reference the created variable in the HTTP Request Steps that need to authenticate.
Kim
Posted on:18 Jul 2016 13:21
We have a Bearer token that is valid for 1 hour. If we add it in the HTTP Request Step we need to change the token every hour in every test. Is there a better way for that?
ADMIN
Valeri Hristov
Posted on:18 Jul 2016 13:08
We don't have dedicated UI for adding Authorization header for OAuth 2.0, but you could use the Headers tab in the HTTP Request Step to add the header...