You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
Initialize client in JS with:
let restClient = VSS_Service.getCollectionClient(TM_Rest_Client.TestHttpClient2_3)
Call getTestResultsByQuery:
var q = { query: "Select * from TestResult where TestCaseId in (657,782,2325,29859,127131)"}
restClient .getTestResultsByQuery(q, 'Project', true,null,null,10)
Actual result when selecting extension:
POST https://.../_apis/test/Results/Query?includeResultDetails=true&%24top=10 401 (Unauthorized)
Notes:
If corresponding Rest Api request is sent from Postman everything is Ok.
And other corresponding methods related to this client works w/o any issue.
Thanks for assistance...
The text was updated successfully, but these errors were encountered:
Initialize client in JS with:
let restClient = VSS_Service.getCollectionClient(TM_Rest_Client.TestHttpClient2_3)
Call getTestResultsByQuery:
var q = { query: "Select * from TestResult where TestCaseId in (657,782,2325,29859,127131)"}
restClient .getTestResultsByQuery(q, 'Project', true,null,null,10)
Actual result when selecting extension:
POST https://.../_apis/test/Results/Query?includeResultDetails=true&%24top=10 401 (Unauthorized)
Notes:
If corresponding Rest Api request is sent from Postman everything is Ok.
And other corresponding methods related to this client works w/o any issue.
Thanks for assistance...
The text was updated successfully, but these errors were encountered: