SoapUI use notes, soapui use notes

Source: Internet
Author: User
Tags soapui

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.

 

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.