SoapUI use notes, soapui use notes
1. Build a project
Right-click Project --> New SOAP Project after installation
Enter the name and webservice Service address (example: http://www.webxml.com.cn/webservices/ChinaTVprogramWebService.asmx? Wsdl)
You will see the directory tree with ChinaTV as the root node
2. Run a single service
You can expand a service, double-click Request 1, and click execute in the pop-up box. The corresponding response is displayed.
Where? Number indicates the required Parameter
3. Build a test sequence example
Input sequence name
In the ChinaTV directory tree, right-click the Request and add it to the test column (a part of the test sequence you just created)
Select the created TestSuite-ChinaTV (the name can be changed later)
4. Add checkpoints
Click Request1 and click the + icon in the pop-up box.
Enter the Central TV in the content to check whether the checkpoint is valid.
5. Organize the test sequence
Add four service interface services to the test sequence according to the above method.
And adjust the sequence of the step by moving step up or moving step down.
Add a transfer between two steps to select the result data (response) from the previous step as the request parameter)
Set in the pop-up Property Transfer
For the Code definition in the above Transfer source script, refer
For the Code definition in the above Transfer target script, refer
The other two Transfer instances are created similarly.
A complete test sequence is organized
Double-click Test case1
The entire test sequence flow is finished when you see the green color. The log records the information of each step.