Download an execution report using a REST API call
Learn how to automate the process of downloading a report containing a summarized list of your executions filtered by Job Name and their results (also called execution report) in PDF via REST API.
For more information, see Formatted PDF reports.
Limitation
The downloaded Summary PDF report can contain a summary of up to 1000 tests.
Step-by-step guide
-
Use the following HTTP GET command to download the execution report:
https://<myCloud>.reporting.perfectomobile.com/export/api/v1/test-executions/pdf
-
Add a parameter with a value of your choice:
-
jobName[0]
-
jobNumber[0]
-
startExecutionTime[0] (in milliseconds)
-
endExecutionTime[0] (in milliseconds)
-
tags[0]
Tip: You might need Epoch Converter: https://www.epochconverter.com/ -
-
Add the following header parameters to the request:
Name
Value
PERFECTO_AUTHORIZATION
<Your personal security token>
To learn more, see Generate a security token.
-
Run the command. You should receive a result.
-
Download the output as PDF:
-
Open the file and verify the result.
For additional assistance, contact Perfecto Support.