Description of problem: Currently there is no way for the client tools to access information about test case runs counts for a specific test run, e.g. 5 PASSED, 3 FAILED, etc, other than iterating over all CaseRun objects and count based on their status. This is taking too long for me, I have nearly 1000 case runs (and growing) and trying to extract some stats out of it. On the server side there is tcms.core.utils.counter.CaseRunStatusCounter class which also appears to be counting by iterating over all objects. This is not optimal. Please improve it and export the new improved method to the XMLRPC client.
Hi any update here? I've executed my stats script against RHEL 5.10 test plans and for about 10K test case runs it takes around 3hrs to complete.