Flow Set Run Analytics
The Flow Set Run Analytics service provides analytics for the flow sets run in Oracle Utilities Testing Accelerator by a specific user for a given period.
Endpoint
>/rest/analytics/user
Curl Command for Flow Run Analytics
curl -i -k -X GET -k 'https://<hostname>:<port>/rest/analytics/user/<username>/flowSetExecutionAnalytics/from/<fromDate>/to/<toDate>' -H 'authorization: Basic <Base64 encoded username & password>'
Parameters
• <hostname>: OUTA application host name
• <port>: OUTA application port
• <access token>: Authentication token from the step in pre-requisites above
• <username>: Name of the user who executed the flow(s)
• <fromDate>: The start date to query for analytics - format DD-MON-YY (example: 10-JAN-20)
• <toDate>: The end date to query for analytics - format DD-MON-YY (example: 20-JAN-20)
Example
Flow Run Analytics
curl -i -k -X GET -k https://my.server.com:8080/rest/analytics/user/admin/flowSetExecutionAnalytics/from/01-JAN-20/to/15-JAN-20 -H 'authorization: Basic bXJpbmFsOk9yYWNsZTEyMw=='
Once a flow set run is triggered, the service responds with a response as follows:
{"totalFlowSetsRanByUser":30,"totalFlowSetsRanByUserSuccess":29,"totalFlowSetsRanByUserFailure":1,"totalFlowSetsRanByUserRunning":0}