Unplanned
Last Updated: 20 Dec 2016 08:05 by ADMIN
Leif
Created on: 16 Aug 2016 07:34
Type: Feature Request
1
SharePoint REST
I was planning to use the API tester to check if my REST calls to my SharePoint 2013 system are working correctly.
Unfortunately I get an "access defined" message from SharePoint, since Test Studio is not "logged in" as a user on SharePoint when performing the call.
How can I setup my project, to let Test Studio perform a login to SharePoint before executing the actual REST calls?
1 comment
ADMIN
Oleg
Posted on: 17 Aug 2016 14:02
Hi,

I am not aware with the specifics of authenticating against Sharepoint, but if you need to provide access token or cookie with your request, you can first acquire them with a request to your respective authentication service. Once received as a response from your authentication service, you can use a Set Variable step (http://docs.telerik.com/teststudio-apis/features/steps/set-variable) to save your access token or cookie as a variable. Later, you can use that variable as a value of an Authorization header or Cookie header to authenticate your calls. You can see more info on how you can reference variables from a http request from here: http://docs.telerik.com/teststudio-apis/features/variables#Referencing-Variables.