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