kinow / testlink-java-api

TestLink Java API
http://kinow.github.io/testlink-java-api/
MIT License
64 stars 88 forks source link

Unable to execute testlink api using external id #131

Closed viharilal closed 5 years ago

viharilal commented 5 years ago

Hi

api.getLastExecutionResult(testPlanId, testCaseId, testCaseExternalId);

If my testcase id is "TestQA-23721"

so the testCaseExternalId would be 23721.

If I pass 23721 as testCaseExternalId im getting below error, Could you please help me in resolving

Exception in thread "main" br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: (reportTCResult) - Test Case External ID (23721) does not exist! at br.eti.kinoshita.testlinkjavaapi.BaseService.checkResponseError(BaseService.java:105) at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:84) at br.eti.kinoshita.testlinkjavaapi.TestCaseService.reportTCResult(TestCaseService.java:611) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.reportTCResult(TestLinkAPI.java:1019) at Testing.Package.TestLink.main(TestLink.java:44)