QuickStart Web Interface Automation Testing---a simple attempt (i)

Source: Internet
Author: User

Many times we learn, the biggest difficulty is what, is the enthusiasm of the light, three points of heat, so we have to see their own stage results, and the faster the better.

Without further ado, let's get up first and make the simplest.

A simple scenario, a simple tool, a data entry, a simple interface, a simple call, a simple verification of the output

Scenario One: Querying the interface of a city's weather

A simple tool: JMeter (uh.. This I personally feel simple, if you have to feel more simple, you can also use the other)

One data entry: Guangzhou city

A simple interface: www.weather.com.cn

A simple call: The Get method

One simple verification: view Results

Open up.

Tool Loading:

1. Download the JDK (JMeter to run must be installed)

2. Match environment variables

3. Download JMeter

Official website: http://jmeter.apache.org

After decompression, run "Bin/jmeter.bat"

Jmeter is supported in Chinese, after starting Jmeter, click Options, Choose Language to select the language

4. The following, from the blog Park small tank, I copied over

First step: Create a new thread Group

You must create a new thread group, all tasks for jmeter must be handled by the thread, and all tasks must be created below the thread group.

Step Two: Create a new HTTP Request

Not finished ....

QuickStart Web Interface Automation Testing---a simple attempt (i)

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.