Loading applications

The loader input file provides an interface to load and activate programs and files on the z/TPF system and to run automated tests that are associated with those programs.

Before you begin

About this task

The Load and Activate option is available for a selected loader input file. This option uses REST services on the z/TPF system to take the following actions:
  1. Deactivate the loadset.
  2. Delete the loadset.
  3. Issue the loadtpf command.
  4. Load and activate the loadset.
The Load, Activate, and Test option is available for a selected loader input file. This option uses REST services on the z/TPF system to take the following actions:
  1. Deactivate the loadset.
  2. Delete the loadset.
  3. Issue the loadtpf command.
  4. Load and activate the loadset.
  5. For each of the automated tests that were associated with each program or a test plan file, run or add those test cases in the Automated Test Framework view.

If the selected loadset is not found on the z/TPF system to be deactivated or deleted, Load and Activate or Load, Activate, and Test processing continues.

Procedure

  1. In the TPF Development perspective, take one of the following actions:
    • In the Project Explorer view, right-click a loader input file, click Loader Input File Actions, and click Load and Activate or Load, Activate, and Test.
    • Open a loader input file in the Loader Input File Editor, right-click anywhere in the Loader Input File Editor, and click Load and Activate or Load, Activate, and Test.
  2. In the opened window, complete the following steps:
    1. In the Loader output file directory drop-down list, select or enter a value.
      The default selection is the /tmp directory on the z/TPF system. The directory on the z/TPF system must have read and write permissions.
    2. From the TPF system list, select the system where you want to load and activate the loadset.
      If you selected Load, Activate, and Test in step 1, the selected z/TPF system is also where the test cases will be run.
  3. If you selected Load, Activate, and Test in step 1, take one of the following actions. Otherwise, skip this step.
    • To run the test cases in the programs that are being loaded and activated, click Testcases in programs being loaded.
    • To run test cases in a test plan file, click Test plan, and specify a test plan file. The file must have the .ATFplan.json file extension. For more information about how to create a test plan, see Importing and exporting test cases.
  4. If you selected Load, Activate, and Test in step 1, take one of the following actions. Otherwise, skip this step.
    • To automatically run the test cases in the Automated Test Framework view after the loadset is loaded and activated, click Run.
    • To add the test cases to the Automated Test Framework view after the loadset is loaded and activated, click Add.

      To run those test cases, you must go to the Automated Test Framework view, manually select the test cases, and click Run.

  5. Click OK.

Results

  • The progress is displayed in the TPF Toolkit console.
  • If you selected Load, Activate, and Test, the Automated Test Framework view is brought into focus after the loadset is loaded and activated.