1.9.5 - API calls for getting results
Posted: Mon Aug 25, 2014 4:09 pm
I am currently working on a project to build an overview of the Testlink results (Testlink v1.9.5).
After reading the documentation and looking at the PHP file I used the method "getLastExecutionResult" and tried to include the buildID to get the results for a specific build. But no matter which buildID the call uses only the last result is returned.
Is there a way to get the results per build with the API?
Example Calls with different buildIDs which return both only the last result:
and
After reading the documentation and looking at the PHP file I used the method "getLastExecutionResult" and tried to include the buildID to get the results for a specific build. But no matter which buildID the call uses only the last result is returned.
Is there a way to get the results per build with the API?
Example Calls with different buildIDs which return both only the last result:
Code: Select all
<methodCall><methodName>tl.getLastExecutionResult</methodName><params><param><value><struct><member><name>devKey</name><value><string>blabla</string></value></member><member><name>testcaseexternalid</name><value><string>PLAY-445</string></value></member><member><name>testplanid</name><value><string>74954</string></value></member><member><name>buildid</name><value><string> 567 </string></value></member></struct></value></param></params></methodCall>
Code: Select all
<methodCall><methodName>tl.getLastExecutionResult</methodName><params><param><value><struct><member><name>devKey</name><value><string>blabla</string></value></member><member><name>testcaseexternalid</name><value><string>PLAY-445</string></value></member><member><name>testplanid</name><value><string>74954</string></value></member><member><name>buildid</name><value><string> 3312 </string></value></member></struct></value></param></params></methodCall>