Flow Run Analytics

The Flow Run Analytics service provides analytics for the flows 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>/flowExecutionAnalytics/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://<hostname>:<port>/rest/analytics/user/admin/flowExecutionAnalytics/from/01-JAN-20/to/15-JAN-20 -H 'authorization: basic 62593bbd-b057-4f38-8a3e-5915d4ab559f'
 

Once a flow set run is triggered, the service responds with a response as follows.

{"totalFlowsRanByUser":50,"totalFlowsRanByUserSuccess":48,"totalFlowsRanByUserFailure":2,"totalFlowsRanByUserRunning":0}'