Remediate Scripts (ATV)


Remediation allows you to specify the action to take to remove any unwanted mismatches from the Performance Test scripts that comprise the selected ATV test case. When executed, the base test case scripts are updated to include the specified remediation. Remediation actions can be specified globally, for each mismatch individually, or for each combined mismatch. Remediation is valid only for regression testing, not performance testing.

Important

Remediation is only available for regression vehicles. See the online help for a description of all of the fields and commands available on the remediation screens.

  1. On the Test Case screen, type REM (Remediate) on the Command line and press Enter. The Remediation Member List screen is displayed in the following figure.
    Remediation Member List screen

      ----------------- Remediation Member List ----------------- Row 00001 of 00001
      Command ===>                                                  Scroll ===> CSR

      Select replay result member for script remediation,
      then press ENTER or END to return.

      Line Command: (S)elect

         Name     Prompt          Size    Created           Changed            ID
        REPLAY1
        **End**

    On this screen you can select a replay result member for script remediation.

  2. Type S (Select) next to the desired member and press Enter. The ATV - Performance Test Remediation screen is displayed in the following figure.
    ATV - Performance Test Remediation screen

      ---------------------- ATV - Performance Test Remediation --------- Row 1 of 2
      Command ===>                                                  Scroll ===> CSR

      Enter the GO command to execute the remediation instructions for the mismatches
      listed. For test case outputs enter either BROwse to see the comparison log
      the Base line command to view the original Performance Test script, or the New
      line command to see the new or dubbed Performance Test script. The Toggle
      command switches between showing the full mismatch set and a list of unique
      mismatches.

       Script . . . . : REPLAY1      Default Remediation Action : A  (Asis/Dub/Mask)

      Line commands are: (A)sis,(B)ase,(C)log,(D)ub,(M)ask,(N)ew or (V)iew.

      S C   Base    Dub/New  Screen  Row Col Len      Actual         Expected
      * * ******** ******** ******** *** *** *** **************** ****************
          ASTDCONF ASTDCONF 0000001  1   1   13  Hiperstation     ------------
          ASTDCONF ASTDCONF 0000001  1   14  14  -------------    -------------
      ******************************* Bottom of data ********************************


    Above figure shows a list of the mismatches recorded in the comparison log for the selected execution of the ATV test case. Each mismatching field is listed either separately for each occurrence or combined into one entry. You can use the Toggle command to switch between the display modes.

    In the Full Mismatch List, mismatching fields on any Performance Test test case script’s <OUTPUT> screens are listed individually for each occurrence. In the Combined/Unique Mismatch List, if a screen is displayed multiple times, they are consolidated into a single mismatch entry. In this way, a single remediation action can cover all mismatches for that field.

    The Actual and Expected field content shown for combined mismatches are taken from the first mismatch found for this field.

    Important

    Mismatches are listed only if the Actual and Expected comparison log screen pairs record the same screen (for example, output fields have the same start position and are of the same length, and the two screens either have the same number of output fields or all of the output fields on one of the screens are contained within the other screen.

  3. Select the desired remediation action line command.


      • The default action is (A)sis, which will not modify the base/expected scripts.
      • (D)ub copies the content of mismatching fields in the new/actual scripts into the corresponding base/expected script fields and overlaying the previous field content.
      • (M)ask applies Performance Test ignore column masking to mismatching fields in the base/expected scripts. Ignore masking lines are inserted into the script immediately under the <OUTPUT> screen line containing the mismatching fields.

    Important

    The Default Remediation Action field shows the global or default remediation action for mismatching fields where no remediation was specified. Entering a remediation action in the S column specifies the remediation action for a specific mismatch.

  4. Other line commands allow you to indicate your remediation action or view the mismatch and associated scripts and comparison log. Type the desired line command and press EnterEND, or CANCEL. You can use different line commands on different lines.
    • (B)ase views the original script named in this mismatch entry, using the ISPF View command, starting at the beginning of the script.
    • (C)log views the comparison log, positioned at the Actual screen from which this mismatch was extracted.
    • (N)ew views the new or dubbed script named in this mismatch entry, via the ISPF View command, starting at the beginning of the script.
    • (V)iew views the mismatch detail in a pop-up window. This window provides more space to show the mismatching contents of the actual and expected fields.
  5. Enter GO on the command line to execute the remediation base/expected script using the combination of the individual and combined/global remediation actions specified.
    You can also use BROwse to view the comparison log as shown in the following figure. This is just an example of a comparison log. Your log will be different.
    Remediation Comparison Log

        File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help
      -------------------------------------------------------------------------------
      VIEW       VP.ATV.HS172REG.Z282777.OUTPUT(LOG1) - 01.00    Columns 00001 00072
      Command ===>                                                  Scroll ===> CSR
      ****** ***************************** Top of Data ******************************
      ==MSG> -Warning- The UNDO command is not available until you change
      ==MSG>           your edit profile using the command RECOVERY ON.
      000001 1                                                             BMC
      000002 0TRANSACTION COMPARISON LOG                    TERMINAL ID: CW130001 TPF
      000003 0ACTUAL RECEIVED SCREEN #:0000001   SCRIPT: NAV2ATVA   DATASET: VP.ATV.H
      000004    ----+----1----+----2----+----3----+----4----+----5----+----6----+----
      000005  |  IKJ56700A ENTER USERID -
      000006 +  *IKJ56700A ENTER USERID -*  
      000007  |
      000008  |
      000009  |   
      000010  |   
      000011  |
      000012  |  
      000013  |
      000014  |
      000015  |   
      000016  |       
      000017  |
  6. After you finish reviewing your log, use END until you return to the Test Case screen.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*