The Audit Log contains information about the events that occurred in TestEngine, for example, server starting, creation of users, deletion of jobs and so on. For such actions, TestEngine records a timestamp, the name of the user who initiated the action, and the event data.
To view the Audit Log, you can either use the web interface of TestEngine or send a request to the TestEngine API using curl, ReadyAPI or any other similar tool.
|Note:||Only administrators can view the Audit Log.|
Use the following operation:
A date and time in the
YYYY-MM-DDThh:mm:ssZ format. If it is specified, only the log entries created after this date and time will be retrieved.
A date and time in the
YYYY-MM-DDThh:mm:ssZ format. If it is specified, only the log entries created before this date and time will be retrieved.
The sorting order of log entries. Possible values:
ASC (for the ascending chronological order),
DESC (for the descending chronological order).
This parameter is optional. If it is not specified, the results will be presented in the descending chronological order.
Use the following command line:
In this example:
Create a project by using the TestEngine API definition. See Creating Project From OpenAPI/Swagger Definition to learn how to do that.
Tip: You can also create the needed request from scratch.
Select the GET request to the /api/v1/auditlog resource:
Enter the username in the Value field of the userName parameter:
Enter the timeframe for which you want to get the Audit Log:
Open the Auth panel.
Select the Basic (Built-in) authorization type.
Tip: If you use the same credentials in several requests, use authorization profiles.
Specify admin credentials and select the Authenticate pre-emptively option:
Send the request:
The response will list the Audit Log entries related to the user for the specified period of time:
Using Web UI
Go to the home page of TestEngine:http://<testengine-host>:<port>/
For example, if TestEngine is installed on your local machine and you run it on the default port, use the following link:
Select Audit Log from the user menu:
To filter log entries, use the Search field:
To sort log entries, click on the header of any column.
The address and port of your TestEngine installation.