"JMeter" JMeter test HTTP interface

Source: Internet
Author: User

Download jmeter:http://jmeter.apache.org/download_jmeter.cgi on the Apache website

1. Run Bin/jmeter.bat, add thread Group

2. Add an HTTP request

Add cookies, request headers, authorization information, etc.

3. Add listener to view result information

The basic configuration is complete and you can set the specific request parameters to test the interface.

This setting reads the content from the file as a request parameter

Open Options-"Function Assistant dialog box, select Csvread, file content, split."

Copy the file path as a CSV target value.

Click Generate and the generated function is ready to use.

Finally, the thread group sets the number of cycles to execute:

Click Start to test.

To view the interface results:

At this point, the JMeter Basic Primer test is complete.

"JMeter" JMeter test HTTP interface

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.