SOAPUI Testing the HTTP protocol

Source: Internet
Author: User
Tags soapui

At present, most of the sites are using HTTP SOAPUI, how to operate it?

Many of the internet is using Google to do the example, because Google normal way can not access, so the following will use Baidu website to do examples

1: Open the browser input Baidu URL in the library input SOAPUI

2: Click Baidu for a moment

In Google Chrome debug mode (press F12), you can see a screen similar to the picture shown in the network

The first one is the request of our Baidu

Click on the first request, then pull the block below

Here we can see the specific request information

Request Url:http://wenku.baidu.com/search?word=soapui&org=0

The query parameter from here is WOAPUI

Now we're going to import this URL into soapui.

File-->newrestservice

The following screen appears

Enter URL

Http://wenku.baidu.com/search?word=SOAPUI&org=0

Press ok

It is found here that automatically interprets our input URL parameters as parameters on the from form

Click Run Test Single step request is OK

On the right can see the specific response information, note that the XML will appear garbled, here we for the convenience of viewing, switch to HTML page check

Single-step request verification OK, we can build a test suite.

Right-click on the request and select Add TestCase

Enter test suite name

Enter test Case name

Click OK

When the request is added to the use case, we can set the assertion

The subsequent operation is the same as the webserver operation

We can set the parameterization, like the above soapui we can go to selenium

Reprint to: http://mp.weixin.qq.com/s?__biz=MjM5OTI2MTQ3OA==&mid=210125128&idx=2&sn= 326b730a969a5c268c3fac85882251cf&scene=1&srcid=0913yeigtc7zhtkuvvqsjsnv#rd

SOAPUI Testing the HTTP protocol

Related Article

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.