HelloWorld test Tool jmeter_ test object Language Nodejs_python_struts2_jersey

Source: Internet
Author: User

Test tool:apache-jmeter-2.12

Test objects: HelloWorld Web small case with Nodejs, Python, Struts2, Jersey, respectively

First, the local computer configuration and pre-test computer memory use as follows:

One, the following various implementation ways of HelloWorld:

1.nodeJS

2. Python

3.struts2

4.jersey


First, the following is the jmeter configuration, each helloworld test configuration is the same, do not repeat.


One, the following is the test aggregation report

The Stress test results are as follows through the four threads,the three cycles.

The meaning of the chart is described below:

Label: description is the request type, such as Http,FTP , and so on.  

#Samples: The number of samples in the graph report, the total number of samples sent to the server.  

Average: The average of the graph report, which is the total elapsed time divided by the number of requests sent to the server.  

Median: The middle value in the graphical report, which is the number representing the time, half of the server response time is below that value and the other half is above the value. 90%line : it means 90% The response time of the request is smaller than the resulting value.  

Min: is the number representing the time , which is the shortest time the server responds.

Max: Is the number representing the time , which is the maximum time the server responds.  

error%: The percentage of errors requested.  

Throughput: This is the throughput in the graph report, which is the number of requests processed per unit of time for the server, and note that it is seconds or minutes. kb/sec: is the number of bytes requested per second

90%line: means that The response time of the 90% request is smaller than the resulting value.

1. Nodejs

2. Struts2


3. Jersey


4. Python results are as follows, using a third-party Bottle Framework, perhaps a problem with the code implementation, or a problem with the framework, a 40.04% error has occurred, And the overall level is low.



This assessment was done only by ordinary office machines. The results show that theNodejs Advantage is obvious in the maximum request response time.

Five, through 30 threads, infinite cycle, 20 minutes pressure test

The results are as follows:

1. Nodejs



2. Struts2



3. Jersey



4. The results of Python are as follows, using a third-party Bottle Framework, perhaps a problem with the code implementation, or a problem with the framework, a 17% error, and a low overall level.



The results of the five-minute measurement, such as the Nodejs, are very advantageous in response speed. Since this test does not have any complexity of the code, please be careful with the reference.


HelloWorld test Tool jmeter_ test object Language Nodejs_python_struts2_jersey

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.