You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Mytho Logic <ma...@gmail.com> on 2009/09/09 13:15:59 UTC
Exception while running 280 concurrent threads in jmeter
Hi,
I am new in Jmeter and facing problem while load testing my web application.
I am using jmeter version 2.3.2 for my project.
I have created a test plan of using 3 thread groups and 280 concurrent
threads.
-----
-Test plan
- synchronize Timer (set 280 threads)
- Thread Group (users = 90, ramp-up periord = 0)
a. this thread group hs 12 sample requests
- Thread Group (users = 90, ramp-up periord = 0)
a. this thread group hs 12 sample requests
- Thread Group (users = 90, ramp-up periord = 0)
a. this thread group hs 12 sample requests
- View Results tree
- View Results in table
- Aggregate reports
-----
The aggregate reports says –
Label
# Samples
Average
Median
90% Line
Min
Max
Error %
Throughput
KB/sec
TG:Home Page
280
1398
1152
3448
126
3677
0
76.02498
2401.469
TG:Products Page
280
7872
7254
15087
991
17770
0.15
15.73564
1318.31
TG:showSmallProductImage1
280
804
833
1362
50
3439
0
81.39535
136.6393
TG:showSmallProductImage2
280
786
675
1450
42
1458
0
187.4163
366.0475
TG:showSmallProductImage3
280
841
977
1512
58
1548
0
179.1427
411.1184
TG:showSmallProductImage4
280
1023
931
1647
147
3442
0
81.15942
234.5222
TG:showSmallProductImage5
280
849
875
1489
39
1627
0
170.3163
394.0228
TG:showSmallProductImage6
280
840
874
1454
22
1636
0
169.0821
275.2538
TG:showSmallProductImage7
280
828
800
1497
44
1636
0
168.9801
390.9315
TG:showSmallProductImage8
280
943
938
1641
16
1770
0
156.3372
451.7597
TG:showSmallProductImage9
280
951
1077
1621
20
3245
0
86.26001
131.7487
TG:Product Detail Page
280
1269
1108
2202
205
4407
0
63.37709
1914.001
TOTAL
3360
1534
993
2156
16
17770
0.0125
66.12351
909.5012
The aggregate reports show 15% (marked in red) failure for label “Products
Page”. I checked the ‘Response Data’ for label ‘Products Page’ in ‘View
Results Tree’ and found the following exception –
java.net.ConnectException: Connection refused: connect at
java.net.PlainSocketImpl.socketConnect(Native Method) at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at
java.net.Socket.connect(Socket.java:519) at
java.net.Socket.connect(Socket.java:469) at
sun.net.NetworkClient.doConnect(NetworkClient.java:157) at
sun.net.www.http.HttpClient.openServer(HttpClient.java:382) at
sun.net.www.http.HttpClient.openServer(HttpClient.java:494) at
sun.net.www.http.HttpClient.(HttpClient.java:231) at
sun.net.www.http.HttpClient.New(HttpClient.java:304) at
sun.net.www.http.HttpClient.New(HttpClient.java:316) at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:817)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:769)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:694)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:431)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1021)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:1007)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290) at
java.lang.Thread.run(Thread.java:595)
Questions-
1. What is this exception means and how can I resolve my problem?
2. I need to do load test my web application for 2500 Concurrent
users. Currently what I’m doing is this is the correct approach?
If not, please help me.
This is an urgent requirement for my project.
Thanks
Maumita