【问题标题】:VSTS Test result update API is not workingVSTS 测试结果更新 API 不起作用
【发布时间】:2018-03-01 15:11:58
【问题描述】:

嗨,我正在使用 VSTS 测试管理 APIS 来更新测试结果。

第一个 iam 使用 {collection name}/{projectname}/_apis/test/runs/{result id}/results?api-version=2.0-preview

带有 JSON 值

[{"testResult":{"id":100000},"testCase":{"id":417},"priority":1,"outcome":"Failed","testPoint":{"id":51},"state":"Completed ","associatedWorkItems":[452]}]

突然一切正常,它会更新测试结果,但工作项错误与测试结果无关。

当我使用 3.0 预览版时

[{"id":100000,"outcome":"Failed","state":"Completed ","associatedBugs":[199,200]}]

还是不行

我用错了什么。

【问题讨论】:

    标签: azure-devops azure-devops-rest-api


    【解决方案1】:

    似乎results REST API 和results (1.0) REST API 都无法通过更新测试运行的测试结果来链接错误。

    我已举报Update test results for a test run REST API can not link bugs,您可以跟进。

    【讨论】:

    • 我也面临同样的问题。在上述报告的问题上看不到任何进展。你有没有找到任何解决方案让它工作?
    猜你喜欢
    • 2019-01-11
    • 2018-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-08-29
    相关资源
    最近更新 更多