SunVTS 5.0 User's Guide

Recording and Replaying a Test Session

You can use the Record and Replay feature to record a SunVTS test session. Only one test session recording is saved at a time.

The events are recorded in a file called /var/opt/SUNWvts/vts_replay_file.

Once a test session is recorded, you can use the recorded events to drive the SunVTS kernel so it reproduces the recorded sequence of events at a later time.


Note -

The Record and Replay feature closely reproduces the sequence of events, but it cannot reproduce the time periods of these events because the execution times vary from one run to another.



Note -

Do not edit the /var/opt/SUNWvts/vts_replay_file.


To Record and Replay a Test Session
  1. Configure SunVTS for the test session that you want to run.

    See "To Configure SunVTS for a Test Session".

  2. Select Commands->Start testing with record from the Menu bar.

    The test session runs, and the events are recorded. When testing stops, the recorded session is available to replay.

  3. Select Commands->Replay to replay the test session.

    The kernel reruns the same tests, with the same configuration that you specified in Step 1.


    Note -

    During the replay, the kernel is actually rerunning the tests, not just re-displaying the recorded session.