Method: projects.histories.executions.steps.testCases.get

取得步驟的測試案例的詳細資訊。實驗測試案例API。仍在積極開發中。

可能傳回以下任何規範錯誤代碼:

  • PERMISSION_DENIED - 如果使用者無權寫入項目
  • INVALID_ARGUMENT - 如果請求格式錯誤
  • NOT_FOUND - 如果包含的測試案例不存在

HTTP請求

GET https://toolresults.googleapis.com/toolresults/v1beta3/projects/{projectId}/histories/{historyId}/executions/{executionId}/steps/{stepId}/testCases/{testCaseId}

URL 使用gRPC 轉碼語法。

路徑參數

參數
projectId

string

項目 ID。

必需的。

historyId

string

歷史記錄 ID。

必需的。

executionId

string

執行 ID

必需的。

stepId

string

步驟 ID。注意:此步驟必須包含 TestExecutionStep。

必需的。

testCaseId

string

測試用例 ID。

必需的。

請求正文

請求內文必須為空。

響應體

如果成功,回應正文將包含TestCase的實例。

授權範圍

需要以下 OAuth 範圍:

  • https://www.googleapis.com/auth/cloud-platform

有關詳細信息,請參閱身份驗證概述