【问题标题】:Is there any way in ALM REST how to access test parameters?ALM REST 中有什么方法可以访问测试参数吗?
【发布时间】:2013-03-11 17:01:08
【问题描述】:
我正在开发一个应用程序,它应该从 ALM 中的测试实例中检索测试参数,在测试中提交它们,然后在 ALM 中更新状态。问题是我不知道如何从 REST API 访问这些参数。
与我一样接近的是 /qcbin/rest/domains/{domain}/projects/{project}/test-configs/ 中的测试配置,但这不包含我需要的数据。
【问题讨论】:
标签:
rest
testing
configuration
parameters
alm
【解决方案1】:
稍后再回答,但希望有一天它会有所帮助。
http://{{SERVERNAME}}/qcbin/rest/domains/{{DOMAIN}}/projects/{{PROJECT}}/test-parameters?fields=*&query=%7Bparent-id%5B{{ test_id}}%5D%7D
这将返回带有参数数据的 XML 或 JSON(取决于 Accept: 标头)