Uploading with Simultaneous Generation of New eCATT Objects

Use

This function enables you to upload a Web service test scenario as an XML file, while at the same time creating a test script and, if required, the corresponding test configuration.

Before uploading, you can specify how existing parameterization is to be handled. You can also select which import and export parameters are to be generated.

Once processing has been completed successfully, the existing WEBSERVICE command interface is changed according to the selection criteria. All new parameters are listed as a comment after the WEBSERVICE command in the eCATT script editor.

Prerequisites

Familiarize yourself with the rules for creating parameters before starting the upload.

Procedure

To upload a Web service test scenario and, at the same time, create new eCATT objects (test script and test configuration), proceed as follows:

  1. Call transaction SECATT, enter the name of the test script you want to create or overwrite, and choose Start of the navigation pathECATT Object Next navigation step Additional Functions Next navigation step Upload Web Service Test Scenario DataEnd of the navigation path.

    The selection screen Upload Web Service Test Scenario Data appears.

  2. Enter the following required data: test script, version, title, system data container, component, package, and path of the XML test scenario file to be uploaded. If you also want to create a test configuration, choose the Create with Test Configuration option once you have entered the required data correctly. Additional fields appear on the screen, where you enter the name and title of the test configuration.

  3. Confirm your entries.

    The uploadable data records of the XML file are displayed as a table in the Web Services pane. The table columns have the following meaning (from left to right):

    Abbreviation

    Full Name

    Meaning

    W

    Create WEBSERVICE command

    If activated, a new Web service command interface is generated.

    S

    Status

    Displays the status of the data record.

    If the data record is complete, the status is green. If important data is missing, for instance the Web service name, the status is red.

    Each line with a green status can be selected to generate the command interface.

    Im

    Create import parameter

    Optional checkbox: If selected, import parameters are created.

    Va

    Create variables (IMP) for check

    Optional checkbox: If selected, variables for checking are created in the import section.

    E

    Create export parameter

    Optional checkbox: If selected, export parameters are created.

    Va

    Create variables (EXP) for check

    Optional checkbox: If selected, variables for checking are created in the export section.

     

    Web service name

    You cannot change the Web service name.

     

    Web service operation name

    You cannot change the Web service operation name.

    W

    WSDL URL for Web service definition

    Can be adapted, for example to remove a reference to a particular system.

    K

    Command interface

    Can be adapted. Note that the name can only occur once in the script.

    You can use the Flag Selected Rows/Columns and Delete Flag in Selected Rows/Columns radio buttons to set or deselect several flags at once.

  4. Confirm your selection to start the upload process.

Result

After execution, the log is displayed immediately in the eCATT script editor as commented text. It is structured as follows:

  • The first rows contain administrative information: upload time, user, file path.

  • Below this, the data record table from point 3 is displayed in simplified form.

    You can use this to check which selections you made before execution.

  • Below this, any error messages are displayed for each data record.

  • At the bottom, all new parameters are listed.

You can also find the new parameters in the XML structure of each Web service command interface.