getTestCasesForTestPlan() does not return testSuiteId

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

getTestCasesForTestPlan() does not return testSuiteId

Postby dokaspar » Tue Dec 18, 2012 1:15 pm


I'm using the testlink-java-api-1.9.4-0 and trying to retrieve all TestCases for a given testplanID:
Code: Select all
TestCase[] cases = cliconn.getTestCasesForTestPlan(testplanID, null, null, null, null, null, null, null, null, null, TestCaseDetails.FULL);

However, whatever TestCaseDetails I pick (e.g., FULL, SIMPLE, or even null), I get the same results with the testSuiteId=null:
Code: Select all
TestCase [id=70219, name=null, testSuiteId=null, testProjectId=null, authorLogin=null, summary=null, steps=[], preconditions=null, testImportance=null, executionType=1, executionOrder=0, order=null, internalId=null, fullExternalId=35, checkDuplicatedName=null, actionOnDuplicatedName=null, versionId=70220, version=1, parentId=null, customFields=[], executionStatus=p]

In the previous version that I used (1.9.0), a valid testSuiteId was returned.
Is this a bug or am I missing something here?

TestLink user
Posts: 4
Joined: Mon Nov 19, 2012 3:52 pm

Re: getTestCasesForTestPlan() does not return testSuiteId

Postby fman » Tue Dec 18, 2012 3:22 pm

Please follow this simple guideline

In addition do all your checks ONLY using clients (PHP) provided with TL, before trying to report an issue (NOT HERE but on mantis) we do not provide the java api you are using and do not know it => can not said if you are using wrong parameters in call
Member of TestLink Community
Posts: 3010
Joined: Tue Nov 15, 2005 7:19 am

Return to XML-RPC API

Who is online

Users browsing this forum: No registered users and 2 guests