This is a migrated thread and some comments may be shown as answers.

'The request was aborted: The request was canceled.'

1 Answer 439 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
Veteran
Iron
William asked on 21 Apr 2021, 06:59 AM

Hi Team,

I am getting error while executing Rest API for authentication. This works fine on fiddler but does not work on Telerik Test studio API. Please help! 

I have attached a code and screenshot. 

Error: 

'The request was aborted: The request was canceled.'

Thank you so much in advance.

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 22 Apr 2021, 12:58 PM

Hello William,

I am sorry to hear you are having troubles with setting up the API project and will be happy to assist you with this. 

I reviewed the provided sample project and it seems that the http request steps are missing the authorization. I am not sure if you need to use the basic or OAuth, but both are listed in the referred article. I guess that once the Authorization header is added in the request, it will be executed as expected. 

Please, give this a try and let me know if it works for you.

Thank you for your cooperation in advance.

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Tags
General Discussions
Asked by
William
Top achievements
Rank 1
Veteran
Iron
Answers by
Elena
Telerik team
Share this question
or