SOAPUI Study notes--use case field parameterization

Source: Internet
Author: User
Tags soapui

Simple manipulation of field parameterization

1. Add a testcase to the request

Add TestCase, which appears below:

2. In the case, there is only one request parameter. Run the next request to run successfully (ensure that the interface is in-pass)

3. Add parameters. See operation in figure. Properties are named arbitrarily. This is called "Properties" for the moment.

The effect after adding:

Add the parameters and add them using the first method. When added, enter the value of the parameter.

4. Reference parameters.

1) Double-click Demo-request 1 to enter the request XML page. Parameterize the Request field. Check the question mark, right-click, and follow the steps below.

2) The effect of the field being parameterized

5. When the request is run, the requested field is the value in the property

Other:

Parameterization can also be done by importing Excel, among other ways.

After parameterization, you can perform an assertion check on the use case (http://i.cnblogs.com/PostDone.aspx?postid=4274791&actiontip=%E4%BF%9D%E5%AD%98%E4%BF%AE% e6%94%b9%e6%88%90%e5%8a%9f)

SOAPUI Study notes--use case field parameterization

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.