Sebb,
The exception doesnt happen with one thread only. I have
checked it out. Sometimes i also get an exception message in the Response
Data pane of View Results Tree Listener....The text suggests something
like this :
java.net.SocketException: Connection reset at
java.net.SocketInputStream.read(Unknown Source) at
java.io.BufferedInputStream.read1(Unknown Source) at
java.io.BufferedInputStream.read(Unknown Source) at
sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source) at
sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source) at
sun.net.www.http.ChunkedInputStream.read(Unknown Source) at
java.io.FilterInputStream.read(Unknown Source) at
java.io.BufferedInputStream.read1(Unknown Source) at
java.io.BufferedInputStream.read(Unknown Source) at
java.io.FilterInputStream.read(Unknown Source) at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse(HTTPSampler.java:235)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:449)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at
java.lang.Thread.run(Unknown Source)..
At the same time when i saw the Jmeter Log file i saw the following error
in that:
2006/09/06 19:02:43 ERROR - jmeter.functions.JavaScript: Error processing
Javascript SyntaxError: syntax error (<cmd>; line 1)
at
org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:597)
at
org.mozilla.javascript.TokenStream.reportSyntaxError(TokenStream.java:1324)
at org.mozilla.javascript.Parser.reportError(Parser.java:73)
at org.mozilla.javascript.Parser.primaryExpr(Parser.java:1411)
at org.mozilla.javascript.Parser.memberExpr(Parser.java:1201)
at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1115)
at org.mozilla.javascript.Parser.mulExpr(Parser.java:1062)
at org.mozilla.javascript.Parser.addExpr(Parser.java:1045)
at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1032)
at org.mozilla.javascript.Parser.relExpr(Parser.java:1024)
at org.mozilla.javascript.Parser.eqExpr(Parser.java:1002)
at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:991)
at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:980)
at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:969)
at org.mozilla.javascript.Parser.andExpr(Parser.java:957)
at org.mozilla.javascript.Parser.orExpr(Parser.java:945)
at org.mozilla.javascript.Parser.condExpr(Parser.java:928)
at org.mozilla.javascript.Parser.assignExpr(Parser.java:909)
at org.mozilla.javascript.Parser.expr(Parser.java:898)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:577)
at org.mozilla.javascript.Parser.statement(Parser.java:387)
at org.mozilla.javascript.Parser.statements(Parser.java:315)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:773)
at org.mozilla.javascript.Parser.statement(Parser.java:387)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:593)
at org.mozilla.javascript.Parser.statement(Parser.java:387)
at org.mozilla.javascript.Parser.parse(Parser.java:128)
at org.mozilla.javascript.Context.compile(Context.java:1995)
at org.mozilla.javascript.Context.compile(Context.java:1948)
at org.mozilla.javascript.Context.compileReader(Context.java:899)
at org.mozilla.javascript.Context.evaluateReader(Context.java:817)
at org.mozilla.javascript.Context.evaluateString(Context.java:784)
at
org.apache.jmeter.functions.JavaScript.execute(JavaScript.java:81)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:125)
at
org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:93)
at
org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:85)
at
org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsString(AbstractTestElement.java:195)
at org.apache.jmeter.config.Argument.getValue(Argument.java:121)
at
org.apache.jmeter.protocol.http.util.HTTPArgument.getEncodedValue(HTTPArgument.java:142)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getQueryString(HTTPSamplerBase.java:430)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:157)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:422)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
at java.lang.Thread.run(Unknown Source)
The Application server doesnt crash when the above error occurs.But i
start getting red-marked samplers in View Results tree Listener. However
when I checked the "Clear Cookies on each Iteration" checkbox that error
disappeared. What was the error and why did it go away ?Do you think it
has any corelation with the previously mentioned
jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException error?
Regards,
Subhrajyoti
Mobile: +919830079545
Mail: [EMAIL PROTECTED]
Web: www.labware.com
LabWare LIMS Solutions - Results Count
sebb <[EMAIL PROTECTED]>
09/06/2006 05:28 PM
Please respond to
"JMeter Users List" <[email protected]>
To
"JMeter Users List" <[email protected]>
cc
Subject
Re: Error in Jmeter log file when running against Weblogic 8.1
The IOException suggests that the web-logic server is having some
problem and is disconnecting JMeter. Try running with one thread, and
see if that works OK.
Check the web-logic server logs
On 06/09/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi ,
> I am running a particular Jmeter script first against
> Tomcat5.0.19 and second against Weblogic 8.1. The script has been
written
> to simulate 30 users with ramp up period of 10 seconds and loopcount=1.
I
> don't get any error in Jmeter.log file when I run the script against
> Tomcat server. But i start getting "ERROR -
> jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException" when i
run
> the same against WebLogic8.1. What might be the problem ?Do I have to
do
> something different for WebLogic?
>
> Regards,
>
> Subhrajyoti
> Mobile: +919830079545
> Mail: [EMAIL PROTECTED]
> Web: www.labware.com
>
> LabWare LIMS Solutions - Results Count
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]