QC API JAR to connect using java

陌路散爱 提交于 2019-12-25 17:03:17

问题


I'm trying to integrate QC (also known as ALM) using java/servlets/springs and I've tried the following jar to do it, however I'm not able to establish the connection.

1) "com4j" - which is quite old and is also mentioned on this forum as well, however the latest QC or ALM doesn't gets connected using this jar

QC Connection from Java using Com4

Your help would be greatly appreciated.


回答1:


QC version 10.0 or < 10.0 do not support rest api, also latest version of QC including 11, 11.5 and 12 do not support all of its operations through rest such as design-step create/update/read or tractability links.

OTA api is pure .net based com classes which you can register on windows machine and use c# or vb to expose functionality such as create,update,read operations for various objects (Defect/req/test) via wcf/web services. Inturn in java you just need to call the web service which is exposed by yourself.

There is one issue with OTAClient api, due to which it crashes the dll because of memory allocation problems. Its hard to deal with it in 64x environment. Best approach is to expose functionality through developed web services using iis as iis have auto recovery approach to make it up and running in case dll crashes.

Let me know if you have further questions on this.



来源:https://stackoverflow.com/questions/35748755/qc-api-jar-to-connect-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!