SOAPUI is the interface test tool, recently because to do interface testing, using the next, now and everyone share under:
Tool installation is very simple, do not say, directly said to use, first of all do not say, according to the operation side, we take the weather forecast webserver to demonstrate;
Mainly includes: New project, add test suite, test case, modify parameter, run, add assertion
1. Open tool: Double plus picture open tool
2, click Project, right click on the mouse, a common project, according to their own project needs to choose whether it is soap, or RET, we choose SOAP (NEW Soap Project)
3, fill in the project name, enter the WSDL address, other default can, click "OK"
4. Popup Progress
5, create a successful, here can see there are two interfaces, Getcitesbycountry and Gestweather, we explain the back of a
6, double-click the Gestweather interface, we can see that the interface has two parameters
7. Select Request, right-click, Add to TestCase
8. Fill in the test suite name, test case name
9, you can see the use cases we added, double-click steps under the steps
10. Enter the value of the parameter and click Run to see the value returned by the run
11, set the assertion, we add a simple, select contains
12, add the value of location, click "OK"
13, modify the name of the assertion, select the assertion, right-click the mouse, rename
14. Enter a name and click "OK"
15, click Run again, if the return result has an asserted value, then the green display means pass, otherwise red display, indicating failure
Interface test Tool SOAPUI Pro5.1.2 Basic use 20150920