You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by rmiller <ro...@cobancorporation.com> on 2006/11/30 00:47:32 UTC

Re: Error in Jmeter log file when running against Weblogic 8.1

I have encountered the same problem but it is not solved by checking the
"clear cookies on each iteration" checkbox. 

Like Choudhury I can run the script without error on Tomcat but I get the
503 errors on WebLogic 8.1. 

My script is very simple; it logs into the front page of the site, and then
logs out. It runs normally for the first 10 or 20 seconds, then the server
CPU utilization goes to 100% for about 10 seconds, and then drops to zero,
along with the JMeter controller CPU, for 5 to 10 seconds (this is where it
is generating 503 errors), and then recovers for a period of time before
stalling again. This pattern is repeated throughout the duration of the
test. There is nothing in the WebLogic server logs or the applications logs
to indicate the source of the problem.

Any ideas of what to do?

Regards,
Ron Miller



Choudhury wrote:
> 
> Well Dont know what caused the problem but the problem was solved when I 
> checked "clear cookies on each iteration" checkbox in the Cookie Manager 
> element which is at the top level of the testplan. What does the following 
>  error in Jmeter.log file suggest :> 2006/09/06 19:02:43 ERROR - 
> jmeter.functions.JavaScript: Error processing
>> Javascript SyntaxError: syntax error (<cmd>; line 1)...Any idea s ?
> 
> Regards,
> 
> Subhrajyoti 
> Mobile: +919830079545
> Mail: choudhury@labware.com
> Web: www.labware.com
> 
> LabWare LIMS Solutions - Results Count
> 
> 
> 
> "Peter Lin" <wo...@gmail.com> 
> 09/06/2006 08:21 PM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
> 
> 
> To
> "JMeter Users List" <jm...@jakarta.apache.org>
> cc
> 
> Subject
> Re: Error in Jmeter log file when running against Weblogic 8.1
> 
> 
> 
> 
> 
> 
> looking at the log, it appears weblogic is closing the connection, which 
> is
> causing jmeter to show an inputstream error.
> 
> if it was a problem with jmeter sending the request, it would be an
> outputstream.
> 
> peter
> 
> 
> On 9/6/06, Choudhury@labware.com <Ch...@labware.com> wrote:
>>
>> 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: choudhury@labware.com
>> Web: www.labware.com
>>
>> LabWare LIMS Solutions - Results Count
>>
>>
>>
>> sebb <se...@gmail.com>
>> 09/06/2006 05:28 PM
>> Please respond to
>> "JMeter Users List" <jm...@jakarta.apache.org>
>>
>>
>> To
>> "JMeter Users List" <jm...@jakarta.apache.org>
>> 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, Choudhury@labware.com <Ch...@labware.com> 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: choudhury@labware.com
>> > Web: www.labware.com
>> >
>> > LabWare LIMS Solutions - Results Count
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-in-Jmeter-log-file-when-running-against-Weblogic-8.1-tf2225898.html#a7610690
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


RE: Error in Jmeter log file when running against Weblogic 8.1

Posted by Ga...@mail.ing.nl.
For testing regex I'd really recommend http://rexv.org/ - it is a great
online regex evaluation engine with support for different regex systems
and modifiers.
Cheers!
Gantcho

-----Original Message-----
From: rmiller [mailto:ron.miller@cobancorporation.com] 
Sent: Thursday, November 30, 2006 12:48 AM
To: jmeter-user@jakarta.apache.org
Subject: Re: Error in Jmeter log file when running against Weblogic 8.1



I have encountered the same problem but it is not solved by checking the
"clear cookies on each iteration" checkbox. 

Like Choudhury I can run the script without error on Tomcat but I get
the 503 errors on WebLogic 8.1. 

My script is very simple; it logs into the front page of the site, and
then logs out. It runs normally for the first 10 or 20 seconds, then the
server CPU utilization goes to 100% for about 10 seconds, and then drops
to zero, along with the JMeter controller CPU, for 5 to 10 seconds (this
is where it is generating 503 errors), and then recovers for a period of
time before stalling again. This pattern is repeated throughout the
duration of the test. There is nothing in the WebLogic server logs or
the applications logs to indicate the source of the problem.

Any ideas of what to do?

Regards,
Ron Miller



Choudhury wrote:
> 
> Well Dont know what caused the problem but the problem was solved when

> I
> checked "clear cookies on each iteration" checkbox in the Cookie
Manager 
> element which is at the top level of the testplan. What does the
following 
>  error in Jmeter.log file suggest :> 2006/09/06 19:02:43 ERROR - 
> jmeter.functions.JavaScript: Error processing
>> Javascript SyntaxError: syntax error (<cmd>; line 1)...Any idea s ?
> 
> Regards,
> 
> Subhrajyoti
> Mobile: +919830079545
> Mail: choudhury@labware.com
> Web: www.labware.com
> 
> LabWare LIMS Solutions - Results Count
> 
> 
> 
> "Peter Lin" <wo...@gmail.com>
> 09/06/2006 08:21 PM
> Please respond to
> "JMeter Users List" <jm...@jakarta.apache.org>
> 
> 
> To
> "JMeter Users List" <jm...@jakarta.apache.org>
> cc
> 
> Subject
> Re: Error in Jmeter log file when running against Weblogic 8.1
> 
> 
> 
> 
> 
> 
> looking at the log, it appears weblogic is closing the connection, 
> which
> is
> causing jmeter to show an inputstream error.
> 
> if it was a problem with jmeter sending the request, it would be an 
> outputstream.
> 
> peter
> 
> 
> On 9/6/06, Choudhury@labware.com <Ch...@labware.com> wrote:
>>
>> 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:5
> 97)
>>         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: choudhury@labware.com
>> Web: www.labware.com
>>
>> LabWare LIMS Solutions - Results Count
>>
>>
>>
>> sebb <se...@gmail.com>
>> 09/06/2006 05:28 PM
>> Please respond to
>> "JMeter Users List" <jm...@jakarta.apache.org>
>>
>>
>> To
>> "JMeter Users List" <jm...@jakarta.apache.org>
>> 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, Choudhury@labware.com <Ch...@labware.com> 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: choudhury@labware.com
>> > Web: www.labware.com
>> >
>> > LabWare LIMS Solutions - Results Count
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>>
>>
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Error-in-Jmeter-log-file-when-running-against-Webl
ogic-8.1-tf2225898.html#a7610690
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org