Page 1 of 1

Using reportTestCaseResult for API TestLinkAPIClient

PostPosted: Fri Feb 19, 2016 12:47 am
by snellikeri
I am trying to update the test case result in java (TestLink version 1.9.13) by calling the method reportTestCaseResult for class TestLinkAPIClient by making a call using URL as "servername/testlink/lib/api/xmlrpc/v1/xmlrpc.php"

I pass the following parameters: reportTestCaseResult(testProject, testPlan, testCase, build, notes, result)

Upon execution, I get the following exception:

testlink.api.java.client.TestLinkAPIException:
The xml-rpc call to TestLink API method tl.reportTCResult failed.
Result[0] = {code=200, message=(reportTCResult) - Parameter platformname OR platformid is required, but has not been provided}

Any help is appreciated. Thanks

Re: Using reportTestCaseResult for API TestLinkAPIClient

PostPosted: Sat Feb 20, 2016 7:03 am
by fman
What is not clear for you?
If you try to set result from gui what parameters do you set?
This is a question that you can answer yourself.
The test plan you are using has platform defined?
In addtion you do not provide enuogh details
To allow any people to reproduce same test.

Re: Using reportTestCaseResult for API TestLinkAPIClient

PostPosted: Sat Feb 20, 2016 7:08 am
by fman
While posting do yourself this question:
It will be possible for me provide any help or do not waste my time if a user of my application
do a question of this quality?