Jmter Interface website Stress test tool usage record

Source: Internet
Author: User

1. First download JMeter official address: HTTP://JMETER.APACHE.ORG/2. Install jmeter unzip the downloaded file, The following directories are generated: Open the Jmeter.bat file under the Bin folder and enter the program's main interface form Jmeter.log is the log file. Idea: You need to configure your Java environment. 3.jmter Create a basic test first check test plan = "right" = "add =" threades (user) = "thread group, after the selection will appear the thread's settings interface, set the name, number of threads, start time, cycle this said." 4. Create a request to create a thread group after the thread group and then right click = "Add =" Sampler=>http request to create a request address on the HTTP request page needs to configure the request address, the request path (path is the current IP routing address), And the parameters that the request takes (this item can not be filled out) This time we created a basic test, but now we are not running to see the results. 5. Add result viewer The result viewer is added by selecting either a thread or an HTTP request can right-click = "Add =" listener = Aggregate report. Note: The listener is divided into several examples: graphical results: Presented as a chart. View result tree: Each request specific URL, corresponding data and other tables to see the results: in tabular form to count the throughput of each request, the number of instances, the corresponding time and so on. The above is a basic creation test thread. But for simultaneous multiple interfaces can be manually input. 6. Multiple requests randomly in the dismal options bar = "Options" and "Function" dialog box appears following interface then select _STRINGFROMT and then create a text file inside enter multiple URL address wrap input, then click Add in the location of the value to enter the path of text click Generate, Generate the following characters in the copy and paste function string position: Then paste the contents into the HTTP request path. 7. Recording function The recording function is available for complex request URLs for the entire site. Create a thread and then add the configuration originals to the thread =http request default values. On the HTTP request Defaults page, just configure the request IP and click on workbench = "Right" = "add = + =" HTTP proxy, need to configure port number, target recording controller. The exclusion mode and the grouping can be set and not set (to prevent interference). Click Start when the configuration is complete. This time recording starts, but cannot detect because the agent is not set. Set up proxy: Open ie=> settings =>internet options = = link = = LAN settings, check the red line content and configure, note that the port number should be the same as the JMeter settings or not detected. Save the settings. At this point, the Web site that needs to be tested is opened in IE, and the actions you make willThe detection is recorded in the JMETR. 8. Noun explanation Sample: How many threads are running in this test scenario;  average: Average response time;   median: Median response time in statistical sense;   90% Line: 90% in all threads The thread response time is less than the value of XX;   min: Minimum response time;  max: Maximum response time;  error: Error rate; throughput-throughput in Requests/second, Requests/minute, Requests/hour "to measure  9. Remote NULL operation Jmter sometimes memory overflow, although it can be jmeter. BAT inside the parameters to set, but sometimes it is not possible, all can be used in a distributed way of multiple computer-controlled pressure measurement. The first thing to configure the Jmeter.properties file modification configuration is to add the IP address of the remote call: After the setup is complete, it is running, and the remote running in the boot will have an IP host just added. Note: The jmeter-server.bat needs to be run by the control machine. The control side pops up the following effect, the managed end service is turned on successfully. The main control side can run the test thread on the secondary machine.

Jmter Interface website Stress test tool usage record

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.