Hi Sebz, I got this error while trying jakarta.apache.org/index.html recording. with heap size to 1024 was alread set but still go the error.
BTW i got it going with the lap IP address but not with 127.0.0.1 or localhost. Is there anything wrong. thanx Vishwanath sebb <[email protected]> 01/19/2009 07:13 PM Please respond to "JMeter Users List" <[email protected]> To JMeter Users List <[email protected]> cc Subject Re: Error while recording test On 19/01/2009, [email protected] <[email protected]> wrote: > Hi, > > I am new user of Jakarta JMeter. I was trying to record a test to build a > test script. I tried the excercise given in ' > jmeter_proxy_step_by_step.pdf' but it does not build a test script. Does the problem happen for all recordings, or only when recording some sites? E.g. can you record and play back a simple test plan to access http://jakarta.apache.org/jmeter/ ? > The JMeter console shows the error : Any help will be apprectiated : > > Exception in thread "Thread-141" java.lang.OutOfMemoryError: Java heap > space > Exception in thread "Thread-144" java.lang.OutOfMemoryError: Java heap > space That may be due to the Proxy errors below, but you could try changing the following line in jmeter.bat set HEAP=-Xms256m -Xmx256m to set HEAP=-Xms1024m -Xmx1024m or set HEAP=-Xms2024m -Xmx2048m > > The following log appears in JMeter.log > > 2009/01/19 18:36:27 INFO - jmeter.util.JMeterUtils: Setting Locale to > en_US > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Loading user properties from: > D:\codes\JMeter\jakarta-jmeter-2.3.2\bin\user.properties > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Loading system properties from: > D:\codes\JMeter\jakarta-jmeter-2.3.2\bin\system.properties > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Copyright (c) 1998-2008 The > Apache Software Foundation > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Version 2.3.2 r665936 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: java.version=1.5.0_05 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) > Client VM > 2009/01/19 18:36:27 INFO - jmeter.JMeter: os.name=Windows XP > 2009/01/19 18:36:27 INFO - jmeter.JMeter: os.arch=x86 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: os.version=5.1 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: file.encoding=Cp1252 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Default Locale=English (United > States) > 2009/01/19 18:36:27 INFO - jmeter.JMeter: JMeter Locale=English (United > States) > 2009/01/19 18:36:27 INFO - jmeter.JMeter: > JMeterHome=D:\codes\JMeter\jakarta-jmeter-2.3.2 > 2009/01/19 18:36:27 INFO - jmeter.JMeter: user.dir > =D:\codes\JMeter\jakarta-jmeter-2.3.2\bin > 2009/01/19 18:36:27 INFO - jmeter.JMeter: PWD > =D:\codes\JMeter\jakarta-jmeter-2.3.2\bin > 2009/01/19 18:36:27 INFO - jmeter.JMeter: IP: 192.168.1.121 Name: vish > FullName: vish.Labware.India > 2009/01/19 18:36:27 INFO - jmeter.JMeter: Loaded icon properties from > org/apache/jmeter/images/icon.properties > 2009/01/19 18:36:28 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must contain the string: '.functions.' > 2009/01/19 18:36:28 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must not contain the string: '.gui.' > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Cannot find .className property for htmlParser, using default > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/html is > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xhtml+xml is > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xml is > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/xml is > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/vnd.wap.wml is > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > 2009/01/19 18:36:29 INFO - jmeter.gui.util.MenuFactory: Skipping > org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > 2009/01/19 18:36:29 INFO - jmeter.gui.util.MenuFactory: Skipping > org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui > 2009/01/19 18:36:29 INFO - jmeter.protocol.http.sampler.HTTPSampler: > Maximum connection retries = 10 > 2009/01/19 18:36:30 WARN - jmeter.gui.util.MenuFactory: Missing jar? > Could not create org.apache.jmeter.visualizers.MailerVisualizer. > java.lang.NoClassDefFoundError: javax/mail/MessagingException > 2009/01/19 18:36:30 INFO - jmeter.samplers.SampleResult: Note: Sample > TimeStamps are START times > 2009/01/19 18:36:30 INFO - jmeter.samplers.SampleResult: > sampleresult.default.encoding is set to ISO-8859-1 > 2009/01/19 18:36:41 INFO - jmeter.services.FileServer: Default > base=D:\codes\JMeter\jakarta-jmeter-2.3.2\bin > 2009/01/19 18:36:41 INFO - jmeter.gui.action.Load: Loading file: > D:\codes\JMeter\jakarta-jmeter-2.3.2\bin\Test2.jmx > 2009/01/19 18:36:41 INFO - jmeter.services.FileServer: Set new > base=D:\codes\JMeter\jakarta-jmeter-2.3.2\bin > 2009/01/19 18:36:41 INFO - jmeter.save.SaveService: Testplan (JMX) > version: 2.2. Testlog (JTL) version: 2.2 > 2009/01/19 18:36:41 INFO - jmeter.save.SaveService: Using SaveService > properties file encoding UTF-8 > 2009/01/19 18:36:41 INFO - jmeter.save.SaveService: Using SaveService > properties file version 661482 > 2009/01/19 18:36:41 INFO - jmeter.save.SaveService: Using SaveService > properties version 2.1 > 2009/01/19 18:36:41 INFO - jmeter.save.SaveService: All converter > versions present and correct > 2009/01/19 18:36:42 INFO - jmeter.services.FileServer: Set new > base=D:\codes\JMeter\jakarta-jmeter-2.3.2\bin > 2009/01/19 18:39:17 INFO - jmeter.protocol.http.proxy.Proxy: Proxy will > remove the headers: If-Modified-Since,If-None-Match > 2009/01/19 18:39:17 INFO - jmeter.protocol.http.proxy.Daemon: Proxy: OK > 2009/01/19 18:39:17 INFO - jmeter.protocol.http.proxy.Daemon: Creating > Daemon Socket... on port 9090 > 2009/01/19 18:39:18 INFO - jmeter.protocol.http.proxy.Daemon: Proxy up > and running! > 2009/01/19 18:40:17 INFO - jmeter.protocol.http.proxy.FormCharSetFinder: > Using htmlparser version: 2.0 (Release Build Sep 17, 2006) > 2009/01/19 18:41:13 ERROR - jmeter.protocol.http.proxy.Proxy: > java.net.SocketException: Connection reset by peer: socket write error That means the server disconnected. Check the previous response to see if there are any errors reported by the server. Check the server log if you can. > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.flush(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:281) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:41:13 ERROR - jmeter.protocol.http.proxy.Proxy: Exception > when processing sample java.net.SocketException: Connection reset by peer: > socket write error > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.flush(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:281) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:41:13 WARN - jmeter.protocol.http.proxy.Proxy: Exception > while writing error java.net.SocketException: Socket is closed > at java.net.Socket.getOutputStream(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeErrorToClient(Proxy.java:361) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:228) > > 2009/01/19 18:45:38 INFO - jmeter.protocol.http.proxy.Daemon: Proxy > Server stopped > 2009/01/19 18:46:03 ERROR - jmeter.protocol.http.proxy.Proxy: > java.net.SocketException: Connection reset by peer: socket write error > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.io.FilterOutputStream.write(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:280) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:46:03 ERROR - jmeter.protocol.http.proxy.Proxy: Exception > when processing sample java.net.SocketException: Connection reset by peer: > socket write error > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.io.FilterOutputStream.write(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:280) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:46:03 WARN - jmeter.protocol.http.proxy.Proxy: Exception > while writing error java.net.SocketException: Socket is closed > at java.net.Socket.getOutputStream(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeErrorToClient(Proxy.java:361) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:228) > > 2009/01/19 18:46:35 INFO - jmeter.protocol.http.proxy.Daemon: Proxy: OK > 2009/01/19 18:46:35 INFO - jmeter.protocol.http.proxy.Daemon: Creating > Daemon Socket... on port 9090 > 2009/01/19 18:46:35 INFO - jmeter.protocol.http.proxy.Daemon: Proxy up > and running! > 2009/01/19 18:47:50 ERROR - jmeter.protocol.http.proxy.Proxy: > java.net.SocketException: Connection reset by peer: socket write error > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.io.FilterOutputStream.write(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:280) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:47:50 ERROR - jmeter.protocol.http.proxy.Proxy: Exception > when processing sample java.net.SocketException: Connection reset by peer: > socket write error > at java.net.SocketOutputStream.socketWrite0(Native Method) > at java.net.SocketOutputStream.socketWrite(Unknown Source) > at java.net.SocketOutputStream.write(Unknown Source) > at java.io.BufferedOutputStream.flushBuffer(Unknown Source) > at java.io.BufferedOutputStream.write(Unknown Source) > at java.io.FilterOutputStream.write(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:280) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:217) > > 2009/01/19 18:47:50 WARN - jmeter.protocol.http.proxy.Proxy: Exception > while writing error java.net.SocketException: Socket is closed > at java.net.Socket.getOutputStream(Unknown Source) > at > org.apache.jmeter.protocol.http.proxy.Proxy.writeErrorToClient(Proxy.java:361) > at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:228) > > > > Waiting for reply. > > Vishwanath Washimkar > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

