Interface test Tool SOAPUI Pro5.1.2 Basic use 20150920

Source: Internet
Author: User
Tags soapui

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.