doudui1850 2017-04-11 06:51
浏览 109
已采纳

使用PHP从HP ALM导出所有缺陷

How can I export all defects with certain status from HP ALM using a PHP script?

  • 写回答

1条回答 默认 最新

  • dongnai5905 2017-04-11 14:23
    关注

    If you are using REST API of HP QC, then command you should send during your session is something like:

    GET https://qc-SERVER/qcbin/rest/domains/DOMAIN/projects/PROJECT/defects?query={status[open]}
    

    In this case you will get all the defect in status OPEN. If you remove the query part, then it is possible to get all the defects under QC. If your projects has plenty of defects, then you should think to specify:

    page-size=%d&start-index=%d
    

    where %d are numbers to set how big can be the xml coming back (usually MAX=2000) and at which index you want to start.

    Hope this solve your query! Have a nice day.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害