Error: Scripting
issue in Jmeter
JMeter is open
source tool for performance testing. It is very popular and powerful software.
While creating jmeter
script (.jmx) we faced lots of common issues. Today ia m going to share some
general or common error which I have faced during scriting:
Problem 1:
jmeter.threads.JMeterThread: Test failed!
java.lang.OutOfMemoryError: Java heap space
how to resolve:
1.
Increase
heap memory in jmeter.bat or jmeter.sh
Problem 2:
java.net.SocketException: Connection reset
how to resolve:
·
Add
the following properties in user.properties file which located under /bin
folder of installed JMeter
·
httpclient4.retrycount=1
·
hc.parameters.file=hc.parameters
·
Add
the next line to hc.parameters file (same location, JMeter's /bin folder)
·
http.connection.stalecheck$Boolean=true
·
Restart
JMeter.
I will add more
errors in next post.
Happy Testing!!!
Comments
Post a Comment