
This function enables you to upload Web service test scenarios as XML files to an existing Web service command interface, with test configuration variants being created during the upload.
After successful processing, the new test configuration variants are inserted in the corresponding test configuration and their interfaces are parameterized according to your selection.
Familiarize yourself with the rules for creating parameters before starting the upload.
To load a Web service test scenario to an existing Web service command interface and create test configuration variants, proceed as follows:
Call transaction SECATT, open the required test script, and double-click the Web service command interface you want to load the file to.
The command structure is displayed in the right pane.
Choose
.
The Upload Web Service Test Scenario Data window appears.
The Test Configuration field either contains the name of the test configuration that is already assigned to the test script, or a default value, if no test configuration is assigned. If necessary, change the entry for the test configuration.
Enter the path for the file to be uploaded or select the XML files.
The valid, uploadable data records of the XML file are displayed. The table columns have the following meaning (from left to right):
|
Abbreviation |
Full Name |
Meaning |
|---|---|---|
|
V |
Create TC variant |
If selected, a new test configuration variant is created. |
|
S |
Status |
Displays the status of the data record during upload and creation of variants. If the data record is complete, the status is green. If important data is missing, for instance the name, the status is red. If the status is red, you can select the record and choose Display Error to view the details. Each row with a green status can be selected to generate a variant. |
|
V |
Variant name |
The default value can be changed. If the same name is used, a numerical suffix is appended each time, for example, _123 (this means that the same name can only be assigned 999 times). |
|
B |
Description |
The description and administrative information (date, user, time) can be changed. |
|
A |
Selection of variants for execution |
Optional checkbox: If selected, the variant is flagged as 'to be executed' after upload to the test configuration. |
|
P |
XML_data |
Specifies the name of the XML test scenario file. |
|
R |
Record number |
Specifies the number of the data record in the XML test scenario file. You can also see which data records have not met the validity criteria and therefore are not displayed in the selection. |
To open the test configuration, choose Display Test Configuration. You can also display the input part of the XML data record; to do this, choose Display Input Part of XML Data.
Confirm your selection to start the upload process.
If you need to create a new test configuration, select a package and an order.
After the run, choose Display Test Configuration to call the Variants tab page of the test configuration, where you can view your uploaded variants and make changes, if necessary.
To check any errors, choose Display Error.