Create a Simple ATV (ATV)
Listed below are the general steps you need to follow to create a small scale ATV for your own use including building and running some test cases to get familiar with the ATV Manager’s capabilities. For specific information on how to perform the steps listed below, see to the following sections in this space.
- Define an ATV master index file using member HSATVJCL in the Performance Test INSTALL dataset.
- Create a Performance Test User Profile, using option 0, (or use your current profile, if you have one). This will be used to load the ATV profile when you first create an ATV.
Creating a profile is described in the Advanced Configuration Guide. - Set your ATV Master Index file parameter in that Performance Test User profile. Make sure there is a valid job card in that profile also. You can set other Test Vehicle defaults in the Performance Test profile if you wish.
- Start Performance Test for VTAM and select function 4, Performance Test ATV Manager - Automated Testing Vehicle Manager.
Use PF1 or the HELP command to view the help panels here and throughout the ATV Manager. - Use the CREATE command to create an ATV.
This foreground process will build an ATV database file, asset file, script file and profile file. (Use your own profile or the profile created above as a model for the ATV Manager to copy.) See Create-an-Automated-Testing-Vehicle-ATV for details. - Open your new vehicle.
- Select Test Script. Import one of your simple Performance Test scripts that you know will play.
- Select Test Case. Create a new test case and then use the "O" line command to open this test case.
- Use the “R” line command to insert a replay (a replay will invoke a Performance Test unattended replay during an ATV test run).
This will show a list of scripts that have been imported into this ATV. - Use the “S” line command to select your script.
- Replay session settings are now displayed. The Domain Destination, Logmode, and logon data are pre-filled with information retrieved from the script during Import. Set Compare option to 1 Stop on any compare check.
Because replays use batch Performance Test, the “Stop on” compare options do not stop the replay. They do set the return code. This return code can be tested using the Pass/Fail test setting on the replay step. - Back out to the Test Case List screen and use the “R” line command to run this test case.
- Back out to the Automated Testing Vehicle menu and use the 7 Reports option to view the run report list. Use the “S” line command to select your run report.
- Explore expanding your ATV as follows:
- Setting PASS/FAIL conditions to your test cases.
- Adding other assets to your vehicle and test cases.
- Adding E-mail addresses at the vehicle and/or test case level.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*