
This function enables you to upload a Web service test scenario as an XML file, while at the same time generating a new Web service command.
Note that new Web service commands are inserted after the cursor position and existing eCATT commands are not split.
Once processing is completed successfully, the new WEBSERVICE commands are inserted in the ECATT script and their interfaces are parameterized according to the selection.
All new parameters are listed as a comment after each Web service command in the eCATT script editor.
Familiarize yourself with the rules for creating parameters before starting the upload.
To upload a Web service test scenario and, at the same time, generate new Web service commands, proceed as follows:
Call transaction SECATT and open the required test script.
Choose Pattern.
The Insert Pattern selection screen is displayed.
Select Enterprise Services as the group and WEBSERVICE (Upload) as the command.
The Web Services pane is then displayed.
Enter the file path of the XML test scenario file and assign a package and an order or task.
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 selected, 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.
Confirm your selection to start the upload process.
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.