Using reportTestCaseResult for API TestLinkAPIClient

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
snellikeri
TestLink user
Posts: 1
Joined: Sat Feb 13, 2016 3:56 pm

Using reportTestCaseResult for API TestLinkAPIClient

Post 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
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Using reportTestCaseResult for API TestLinkAPIClient

Post 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.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: Using reportTestCaseResult for API TestLinkAPIClient

Post 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?
Post Reply