Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Directory (?) [-] Knowledge Portal Jetty simulation service-side custom Response message for interface testing httpblogcsdnnetruss44articledetails52247455 a Send HTTP request message Knowledge Portal: SOAPUI Analog server-side custom response messages for interface testing: http://blog.csdn.net/russ44/article/details/52230355 Jetty Analog server-side custom response messages for interface testing: HTTP ://blog.csdn.net/russ44/article/details/52247455 send an HTTP request message
1, open the SOAPUI.
2. Create a new project with the following examples:
Clicking OK will show this item on the left side of the Soapui interface, as shown in the figure:
2. Create Test Cases:
A, new use case Group, select this project right-click, create a new use case group, as shown below:
When a use case group is created, you can see the view to Login_test in the Testhah project.
b, create a test case, check the test group name right-click the new test case, as shown below:
Check to see if a new build is good:
C. Create test steps:
Note: Select the HTTP test Request here, I am currently testing the interface is HTTP, what type of interface can own Baidu, or not clear what type of interface is tested with the development to confirm
Click OK to enter the interface running interface:
Note: The result of the execution indicates that token was not found, it is necessary to confirm with development, what parameters are required for login, add parameters again and execute: