api call to retrieve pass/fail/blocked/not run test (metric)

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

api call to retrieve pass/fail/blocked/not run test (metric)

Postby xbeapri » Thu May 29, 2014 9:44 am

Dear all,

I am using existing java api calls to retrieve data from our test project.

When using the method: Map<String,Object> map = api.getExecCountersByBuild(planId);

for 'key'= table, I have some values: number of passed 'p', failed 'f', blocked 'b', and notrun 'n'. However depending on the project, the return values in 'table' are Strings/Integer or Objects...

Is there any documentation/example of values returned by this method?


Is there any easiest way to obtain the number of passed/failed/blocked and not run tests for a build in a test plan in java?

What I need is to obtain the main information that appears in "Metric dashboard".

Thank you very much,
xbeapri
TestLink user
 
Posts: 1
Joined: Thu May 29, 2014 5:27 am

Re: api call to retrieve pass/fail/blocked/not run test (met

Postby fman » Thu May 29, 2014 10:01 am

Forum does not cover issue with JAVA CLIENT is not part of this project.
All info about API as this moment is only what is written on php file that implements the XMLRPC server
fman
Member of TestLink Community
 
Posts: 3024
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