Insert Assets (ATV)
A Userid asset within a test case can be utilized by a future Replay step. It is available to automatic logon scripts when used in coordination with a Region asset.
A Region asset allows automatic logon/logoff scripts to be utilized by a future replay step. In addition, if the region is a CICS region with Startup JCL specified, this step in the test case will check the availability of the CICS region and, if it is not available, submit the Startup JCL and wait for the region to become available. For this particular case, a return code of zero (0) indicates the region was available, a return code of one (1) indicates the region was not available but was successfully started using the Startup JCL.
For Performance Vehicle testing, if the Performance Vehicle starts the CICS region, it will attempt to stop the CICS region when the Performance Test is complete. This allows CICS region statistics to be used as part of the Pass/Fail criteria. To accomplish a CICS region stop, a Console Terminal must be installed in the CICS regions that the Performance Vehicle will use.
A Dataset asset prepares the dataset for use by the test case. Input datasets are recalled from migration if necessary. Output datasets are deleted and reallocated. Work datasets are deleted, reallocated, and restored from a backup.
A JCL asset is submitted, and its return code can be tested using the Pass/Fail option.
On the Test Case screen, type I next to an object to insert an asset. The Asset Selection screen is displayed in the following figure. See Test Assets for information about test assets.
Asset Selection screen------------------------------- Asset Selection -------------------------------
Option ===>
ATV name ATVMDOC1 Application being tested BMC AMI DEVX P/T V17R02
Test Case BATREPL Test Case Status . . . . Hold
Asset Types:
1 Userids Select a tester userid
2 Regions Select a test region
3 Datasets Select an asset dataset
4 JCL Members Select test JCL
Enter END command to return to the Test Case panel.Only the asset types that can be inserted into the selected test case appear in the list.
- Type a number for the desired asset type on the Option line and press Enter.
- 1. Userids: the Test Assets - Userids screen is displayed with a list of available user IDs from which you can select for this test case.
- 2. Regions: the Test Assets - Regions screen is displayed with a list of available regions from which you can select for this test case.
- 3. Datasets: the Test Assets - Datasets screen is displayed with a list of available datasets from which you can select for this test case.
- 4. JCL Members: the Test Assets - JCL screen is displayed with a list of available JCL members from which you can select for this test case.
After selecting an asset, you will return to the Test Case screen where your assets will now appear in the asset list. You can insert multiple assets by repeating this step until all of the necessary assets have been added to the test case.