Using reportTestCaseResult for API TestLinkAPIClient

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Using reportTestCaseResult for API TestLinkAPIClient

Postby snellikeri » Fri Feb 19, 2016 12:47 am

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
snellikeri
TestLink user
 
Posts: 1
Joined: Sat Feb 13, 2016 3:56 pm

Re: Using reportTestCaseResult for API TestLinkAPIClient

Postby fman » Sat Feb 20, 2016 7:03 am

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: 3021
Joined: Tue Nov 15, 2005 7:19 am

Re: Using reportTestCaseResult for API TestLinkAPIClient

Postby fman » Sat Feb 20, 2016 7:08 am

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


Return to XML-RPC API



Who is online

Users browsing this forum: No registered users and 4 guests