Hi Himanshu,
sorry the jmeter logs says below on clicking stop buttton.
2015/12/31 14:48:27 WARN - jmeter.util.JMeterUtils: Interrupted in thread
Thread Group 1-51 java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at java.awt.EventQueue.invokeAndWait(Unknown Source)
at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
at org.apache.jmeter.util.JMeterUtils.runSafe(JMeterUtils.java:1322)
at
org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add(ViewResultsFullVisualizer.java:134)
at
org.apache.jmeter.reporters.ResultCollector.sendToVisualizer(ResultCollector.java:595)
at
org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:571)
at
org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:84)
at
org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:796)
at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:456)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
at java.lang.Thread.run(Unknown Source)
For successfully finished threads, below is the line i can seein logs.
2015/12/31 14:38:51 INFO - jmeter.threads.JMeterThread: Thread is done:
Thread Group 1-53
2015/12/31 14:38:51 INFO - jmeter.threads.JMeterThread: Thread finished:
Thread Group 1-53
Thanks,
Vidhi.
Post by vidhi vinchhiHi Himanshu,
please below my answers insline.
1) Does it start if you change the ramp up time to be longer say 60 seconds?
Nope
2) Do you see any errors in jmeter.log?
Same error. Socket closed it shows.
3) Do the 7 working threads execute the requests fine? How fast
Send request fine if i see in View results tree listener.
I have one question, when jmeter says socket closed what does it mean out
1. Socket closed at server end so jmeter is not able to communicate any
more with server? Thats why it stucks in whichever state it is?
2. Socket closed at client end ( My system ) so that jmeter can not more
send/receive any requests? in this case, jmeter should end the execution
based on timeout value configured and should not stuck.
Thanks,
Vidhi.
Post by Himanshu Ghai1) Does it start if you change the ramp up time to be longer say 60 seconds?
2) Do you see any errors in jmeter.log?
3) Do the 7 working threads execute the requests fine? How fast
Himanshu
Post by vidhi vinchhiHi Himashu,
Thank you for your reply.
1. The run is stuck means, say i have started run for 60 users with ramp
up period of 1 sec, Jmeter shows 7/60 and no progress after that even if I
wait for 1 hr. When I click on Stop button, all the pending ( 7) requests
are shown socket closed.
Thanks,
Vidhi.
Post by Himanshu Ghaisocket closed after pressing stop button may be okay. What do you
mean when you say your run is stuck? are threads waiting on server
to respond
Himanshu
Post by vidhi vinchhiHi All,
I am trying to perform load test for a website of my project.
I am trying with 50 users with ramp up period of 1 sec.
The isssue is that, after some time, my jmeter run stucks, and 6 yo 7
thread remains unfinished. if I press stop button, The "View Results
Tree"
Post by vidhi vinchhilistener says
"Socket closed".
Can anybody help me to resolve this issue? Developer says every is
set to
Post by vidhi vinchhiunlimited on server side, then why Jmeter is reporting socket closed,
it
Post by vidhi vinchhishould report completed response with connection timeout. but it
stucks.
Post by vidhi vinchhiNote: i have already implemented what is mentioned for
httpclient4.retrycount=1
hc.parameters.file=hc.parameters
http.connection.stalecheck$Boolean=true
But did not help.
Can anybody help to resolve this?I am using Jmeter 2.13.
Thanks,
Vidhi.