Starting and stopping a test recording by using test driver
Use the TestDriver API to start a recording of a solution test run, and to stop a recording. You can review the completed recording to analyze the solution entities and events in Insight Inspector.
Before you begin
- Configure and start a development Insight Server such as cisDev. Insight Inspector is not intended for use with a production server.
- Deploy the solution that you want to test to the development server.
- Create a test client project by using the TestDriver API methods. See Creating automated test cases.
- To restrict Insight Inspector access to specific users or user roles, modify the iaSolutionDeveloper authorization role in the server.xml file. See the WebSphere® Application Server Liberty profile authorization documentation.
About this task
The size of a recording is limited to prevent degradation of server performance. A recording stops automatically when the recording size reaches the limit. The default size limit is approximately 3,500 invocations for each recording. The number of invocations is calculated by multiplying the event total by the number of agents that process each event. For example, if one event is processed by three agents, then the result is three invocations in the recording for the event.
<ia_runtime maxRecordingSize="5000"/>
where
the recording size is 5,000 invocations. You must restart the server
to apply the modified setting. Large recordings might adversely affect
server performance. In addition, scrolling and refreshing in Insight Inspector slows
down, and the browser might stop working.A recording must be stopped before you can see it in the Insight Inspector. Only the current solution recording is displayed in Insight Inspector.
Procedure
Results
Debug recording started. [SolutionVersion: AirportSolution,
Author: tester, Recording id: AirportSolution-0.37|2015-03-24T17:43:07.237-0400]
A
similar message in the log file shows that recording stopped.Recording stopped [solution name: AirportSolution, recording id:
[AirportSolution-0.37|2015-03-24T17:46:16.362-0400]