I've tracked the issue down to the presence of the HTTP URL Re-writing
Modifier (which I forgot to model in my earlier e-mails).  Without it, all
JDBC requests are processed; with it, only the first one is.  However,
without it the second HTTP request fails because the jsessionid from the
first request is not added.  Should I report this as a bug?  Is there
another way to add the jsessionid to the second HTTP request? It's not a
parameter, so I can't use that approach.

Thanks again,
Shelli

-----Original Message-----
From: Shelli D. Orton [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 12:58 PM
To: 'JMeter Users List'
Subject: RE: Request Not Executing

Sorry, missed the jmeter.log thing the first time around.  I do have a
couple of exceptions, but not sure what to make of them.  Here's the entire
log for the test run:

2006/04/25 12:55:34 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US

2006/04/25 12:55:34 INFO  - jmeter.JMeter: Version 2.1.1 
2006/04/25 12:55:34 INFO  - jmeter.JMeter: java.version=1.4.2_09 
2006/04/25 12:55:34 INFO  - jmeter.JMeter: Locale=English (United States) 
2006/04/25 12:55:34 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
Apache Software Foundation 
2006/04/25 12:55:34 INFO  - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties 
2006/04/25 12:55:36 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log
sampler bean info 
2006/04/25 12:55:36 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser,
org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser,
org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] 
2006/04/25 12:55:36 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access
log samper bean info init 
2006/04/25 12:55:36 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are END times 
2006/04/25 12:55:36 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1 
2006/04/25 12:56:00 INFO  - jmeter.gui.action.Load: Loading file:
C:\Stuff\JMeterTests\PETest.jmx 
2006/04/25 12:56:00 INFO  - jmeter.protocol.http.sampler.HTTPSampler2:
httpsampler2.basicauth=false 
2006/04/25 12:56:00 INFO  - jmeter.save.SaveService: Using SaveService
properties file 1.7 
2006/04/25 12:56:00 INFO  - jmeter.save.SaveService: All converter versions
present and correct 
2006/04/25 12:56:03 INFO  - jmeter.engine.StandardJMeterEngine: Running the
test! 
2006/04/25 12:56:03 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local) 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1
threads for group PE Test. Ramp up = 0. 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Test will
stop on error 
2006/04/25 12:56:04 WARN  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties) 
2006/04/25 12:56:04 INFO  - jmeter.threads.JMeterThread: Thread PE Test 1-1
started 
2006/04/25 12:56:04 ERROR - jmeter.threads.JMeterThread:
java.lang.ClassCastException
        at
org.apache.jmeter.protocol.http.modifier.URLRewritingModifier.process(URLRew
ritingModifier.java:118)
        at
org.apache.jmeter.threads.TestCompiler.runPreProcessors(TestCompiler.java:12
3)
        at
org.apache.jmeter.threads.TestCompiler.configureSampler(TestCompiler.java:11
0)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:236)
        at java.lang.Thread.run(Unknown Source)

2006/04/25 12:56:04 ERROR - jmeter.control.IfController: missing ; before
statement SyntaxError: missing ; before statement (<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.wellTerminated(Parser.java:357)
        at org.mozilla.javascript.Parser.statementHelper(Parser.java:841)
        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.control.IfController.evaluateCondition(IfController.java:9
5)
        at
org.apache.jmeter.control.IfController.next(IfController.java:146)
        at
org.apache.jmeter.control.GenericController.nextIsAController(GenericControl
ler.java:132)
        at
org.apache.jmeter.control.GenericController.next(GenericController.java:102)
        at
org.apache.jmeter.control.IfController.next(IfController.java:148)
        at
org.apache.jmeter.control.GenericController.nextIsAController(GenericControl
ler.java:132)
        at
org.apache.jmeter.control.GenericController.next(GenericController.java:102)
        at
org.apache.jmeter.control.GenericController.nextIsAController(GenericControl
ler.java:132)
        at
org.apache.jmeter.control.GenericController.next(GenericController.java:102)
        at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:233)
        at java.lang.Thread.run(Unknown Source)

2006/04/25 12:56:04 INFO  - jmeter.threads.JMeterThread: Stop Test detected
by thread PE Test 1-1 
2006/04/25 12:56:04 INFO  - jmeter.threads.JMeterThread: Thread PE Test 1-1
is done 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
test 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
test listeners of end of test 
2006/04/25 12:56:04 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local) 
2006/04/25 12:56:04 INFO  - jmeter.engine.StandardJMeterEngine: Test has
ended 

-----Original Message-----
From: sebb [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 12:01 PM
To: JMeter Users List
Subject: Re: Request Not Executing

On 25/04/06, Shelli D. Orton <[EMAIL PROTECTED]> wrote:
> I've removed all references to the HTTP stuff in the test plan so that it
> looked like this:
>
> Thread Group
>  |
>  |__ JDB Connection Configuration
>  |
>  |__ View Results Tree
>  |
>  |__ Simple Controller
>     |
>     |__ JDBC Request (make sure consumer exists in db)
>     |
>     |__ If Controller (if consumer exists)
>         |
>         |__ JDBC Request (check for valid subscription)
>             |
>             |__ If Controller (if subscription exists)
>                 |
>                 |__ JDBC Request (remove subscription)
>
> And that works fine (i.e. all 3 JDBC requests are executed).  So, I don't
> think it's how the if controller is set up. I've only dabbled in JMeter
> before and this is my first plan that uses JDBC requests.  I was wondering
> if it's the combination of the two types of requests within the same
thread
> group that was causing the issues.  Maybe JMeter isn't meant to have
"mixed"
> test plans?
>

You can mix as many different samplers as you like.

There must be some other problem - did you check jmeter.log ?

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to