Not able to Get DevTest Metrics for Suites Executed through lisa-invoke

Document ID : KB000112639
Last Modified Date : 15/10/2018
Show Technical Document Details
Issue:
We used to get monthly suite executions when we used ANT to trigger the suites. Now that we are using Lisa-Invoke we are not able to capture how many suites were executed for a specific time period. 

We pull this report from the Enterprise Dashboard using the Export Usage Audit Data. Select time period.
Cause:
This is a timing issue.
 
Resolution:
This is a timing issue: 

You will see the Workstation column if the reports were executed from the Workstation, you will see a DevTest Portal column if executing from DevTest Portal. I am thinking Regression runner should show if executing from Jenkins. 

The caveat, it takes some time (by default i think it is 60 mins) when data is sent to Enterprise Dashboard. The columns are read from the Enterprise Dashboard database so if there are not data for Workstation ( or data are not send from registry(workstation) to dradis yet) then they wont show up on report. 

Regression Runner column only shows up if a report was run from a user with a role of Runtime User. 

Test invoke API can return suite information for suites executed by time period: 

https://docops.ca.com/devtest-solutions/10-3/en/using/using-the-apis/test-invoke-api#TestInvokeAPI-RetrieveSuiteReports 

The developer says of these counts: 

These counts are passed/aborted/failed tests in suites that were executed. 

To get statistics about how many suites were executed, 

http://localhost:1505/lisa-test-invoke/api/v1/suites/reports?startTime=2018-09-11T00:00:00-0700&endTime=2018-09-26T16:33:00-0000 

In report there is "count" field with total suites number.