Azure Devops result is different from ReadyAPI test result
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Azure Devops result is different from ReadyAPI test result
while executing a job in azure devops for a test case , getting status code error 401 and job is getting failed , but when I am running the same test case in ReadyAPI directly its getting passed.
- Labels:
-
Function Tests
-
Integrations
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
401 is authentication/authorisation. What sort of authentication/authorisation scheme is your api using and how are you passing the authentication/authorisation creds to your apis test steps?
Cheers
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @richie
I am passing Auth via auth manager in readyapi steps and in devops I have followed this steps :
You can allow scripts and tasks to access System.AccessToken at the job level.
Navigate to the job
Under Additional options, check the Allow scripts to access the OAuth token box.
Then also I am getting the same issue , my scripts are getting failed via azure devops
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry, I cannot help here. I have never used Azure DevOps.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No worries
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey @Jainsoumya. Can we confirm that Azure Devops has access to the instance of ReadyAPI that is running the test? I've seen this issue happen before in cases where there is an unexpected firewall between Azure and ReadyAPI. Are you able to ping the Azure Devops instance from the ReadyAPI machine, and vice versa?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I am able to access ReadyAPI instance from AzureDevops
