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)