Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Div | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Note | ||
---|---|---|
| ||
Before testing a service by the help of the SOAP Test Tool, the service has to be either started to run on the E2E Embedded xUML Runtime or deployed to the E2E Bridge and started to run there. |
Image Modified
This tool offers the possibility to edit SOAP requests of defined test cases that will be sent to the service. The returned SOAP responses can be viewed as well.
When starting a service in the Embedded xUML Runtime, the SOAP Test Tool imports the WSDL from the service repository and automatically creates a test case for each SOAP operation. The SOAP requests and responses will be stored on disk together with the test cases, so they are not lost when closing MagicDraw.
Image Modified Image Modified | The right panel contains a Request and a Response tab displaying the SOAP request and response in a tree-like way. |
Having run the test case, user can view the SOAP request and response log files.
Image Modified
Select request.log or response.log from the tree view and additional tabs will display in the right panel showing the corresponding log file.
The Tree Panel
The left panel contains a tree with entries representing the WSDL definition of the service.
Image Modified | The following items are displayed for each WSDL definition: |
The SOAP Test Tool features context menus. Click an item with the right mouse button to open its context menu.
Image Modified | The context menu of the WSDL definitions allows to
the WSDL. |
Image Modified | The context menu of the SOAP operation allows to create new test cases. It is possible to create multiple test cases for each operation to test the operation with different input values. |
Image Modified | The context menu of a test case allows to manipulate the test case:
Furthermore, if the operations accesses backends, these backends can be mocked so that they do not need to be available while testing. For more information on mocking backends see chapter Mocking of Backends. |
The gearwheel icon next to the test case name indicates the status of the test case.
Icon | Status of the Test Case |
---|---|
Image Modified | The test case not been run yet. |
Image Modified | The test case reports no errors. |
Image Modified | The test case reports errors. |
Panel | ||
---|---|---|
| ||
|
Panel | ||
---|---|---|
| ||
|