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

Discussion and information for XML-RPC interface.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
xbeapri
TestLink user
Posts: 1
Joined: Thu May 29, 2014 5:27 am

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

Post by xbeapri »

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

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

Post by fman »

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