WebService interface test, interface testing using the SOAPUI tool

webservice interface test, use SoapUI tool for interface test

First, the interface uses cxf to write the interface, and the test tool uses SoapUI 5.2.1

After installation, there is an icon like this:

The test operation steps are as follows:

(1) First find cxfwebservice.xml configuration informationmedium address,Access in the browser:http://127.0.0.1:8080/ssg?wsdlA document description will be generated, which can be directly given to the user who wants to connect

<jaxws:endpoint id="ssg" implementor=" cn.exchange.cxf.DataExchangeWebServiceImpl" address ="http:/ /127.0.0.1:8080/ssg"> jaxws:endpoint >

(2)UsesoapUITest interface:

Note: Before testing, first open the interface project

①After the interface project is opened, openToolssoapUi, create a new (file→create empty project), as shown below:

right-click the projectproject——add wsdl, as shown in the figure below Show:

< /p>

Open the following picture Page:

③ Then enter the following page: (Edit: “request1” should be double-clicked)

Double-click “request1” and the following window appears:

④Enter the relevant parameters at the “?” , Click to run, if there is no error message in the blank on the right, the interface method can be used

The test fails, as shown below: (For different projects, the prompt information may be different, depending on the situation, this is not absolute Result)

The test is successful, as shown below : (For different projects, the prompt information may be different, depending on the situation, this is not an absolute result)

First, the interface uses cxf to write the interface, and the test tool uses SoapUI 5.2.1

After installation is this icon:

The test operation steps are as follows:

(1) First find cxfwebservice.xml configuration informationMedium address,Access in the browser:http://127.0.0.1:8080/ssg?wsdl will generate a document description, directly to the user who wants to connect

<jaxws:endpoint id< span style="margin:0px; padding:0px; color:rgb(0,0,255); line-height:1.5!important">="ssg" implementor="cn.exchange.cxf.DataExchangeWebServiceImpl" address="http://127.0.0.1:8080/ ssg"> jaxws:endpoint>

(2)UsesoapUITest interface:

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

①After the interface project is opened, openToolssoapUi, create a new (file→create empty project), as shown below:

right-click the projectproject——add wsdl, as shown below:

Open the page as shown below:

③Then enter the following page: (Modification: “request1” should be double-clicked) span>

Double-click “request1” and the following window will appear: p>

< /p>

④在”? “Enter the relevant parameters at the number and click Run. If there is no error message in the blank on the right, it means that the interface method can be used

The test fails, as shown below: (For different projects, there may be The difference depends on the situation, this is not an absolute result)

The test is successful, as shown in the following figure: (For different projects, the prompt information may be different, depending on the situation, this is not an absolute result )

First, the interface uses cxf to write the interface, and the test tool uses SoapUI 5.2.1

After installation is this icon:

The test operation steps are as follows:

(1) First find cxfwebservice.xml configuration informationChinese address,Access in the browser:http://127.0.0.1:8080/ssg?wsdl will generate a document description, directly to the user who wants to connect

<jaxws:endpoint id="ssg" implementor="cn.exchange.cxf.DataExchangeWebServiceImpl" address="http://127.0.0.1:8080 /ssg"> jaxws:endpoint>

(2)UsesoapUITest interface:

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

①After the interface project is opened, openToolssoapUi, create a new (file→create empty project), as shown below:

right-click the projectproject——add wsdl, as shown below:

< span style="margin:0px; padding:0px; font-family:Calibri">

Open the page as shown below:

③Then enter the following page: (Modification: “request1” should be double-clicked)

Double-click “request1” and the following window appears:

④ in the “?” Enter the relevant parameters in the place and click Run. If there is no error message in the blank on the right, it means that the interface method can be used.

The test fails, as shown below: (For different projects, the prompt information may be different, depending on the situation It depends, this is not an absolute result)

The test is successful, as shown in the figure below: (For different items, the prompt information may be different, depending on the situation, this is not an absolute result)

<jaxws:endpoint id="ssg" implementor="cn.exchange.cxf.DataExchangeWebServiceImpl" address="http://127.0.0.1:8080/ssg"> jaxws:endpoint> pre>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3507 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.