WebService interface test with SOAPUI tool for interface testing

Source: Internet
Author: User
Tags soapui wsdl

First, the interface is written using CXF, and the test tool uses SOAPUI 5.2.1

After the installation is an icon like this:

The test operation steps are as follows:

(1) First find cxf-WebService. XML configuration Information address in, in-browser access: http://127.0.0.1:8080/ssg?wsdl will generate a description of the document, directly to the user to connect to

<id= "SSG"  implementor= " Cn.exchange.cxf.DataExchangeWebServiceImpl "      address="HTTP://127.0.0.1:8080/SSG"  ></jaxws:endpoint>

(2) To test the interface using the SoapUI:

Note: Before testing, you must first open the interface project

① After the interface project is turned on, open the tool SoapUi, new (File→create Empty Project), as shown in:

② Right-click the Project Project-add WSDL, as shown in:

Open the page as follows:

③ then go to the following page: ( Modify: Should double-click "Request1")

Double-click "Request1" to see the following window:

④ in "?" Enter the relevant parameters, click Run, if the right blank does not appear the wrong information, the interface method can be used

The test failed as follows: (for different items, the information may vary, depending on the situation, this is not an absolute result)

Test success, such as: (for different items, may indicate that the information is different, depending on the situation, this is not an absolute result)

WebService interface test with SOAPUI tool for interface testing

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.