But the only thing I have in my If Controller (I only have one) is:
${WORKITEMSEQID} == -1
And the Error Goes away when I run it without that maxRowCount
On Thu, Jul 10, 2008 at 2:36 PM, sebb <[EMAIL PROTECTED]> wrote:
> On 10/07/2008, Michael McDonnell <[EMAIL PROTECTED]> wrote:
> > I have an HTTP Sampler, and if I have a sampler that has something in the
> > POST with the name of "maxRowCount", it causes this in the logs:
> >
> > 2008/07/10 14:05:13 ERROR - jmeter.control.IfController: missing ;
> before
> > statement (<cmd>#1) org.mozilla.javascript.EvaluatorException: missing ;
> > before statement (<cmd>#1)
> > at
>
> That's nothing to do with maxRowCount, it's an error in the If
> Controller condition.
>
> Probably trailing spaces.
>
> >
>
> org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:98)
> > at
> >
>
> org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:85)
> > at org.mozilla.javascript.Parser.addError(Parser.java:126)
> > at org.mozilla.javascript.Parser.reportError(Parser.java:132)
> > at org.mozilla.javascript.Parser.statementHelper(Parser.java:1175)
> > at org.mozilla.javascript.Parser.statement(Parser.java:623)
> > at org.mozilla.javascript.Parser.parse(Parser.java:355)
> > at org.mozilla.javascript.Parser.parse(Parser.java:293)
> > at org.mozilla.javascript.Context.compileImpl(Context.java:2238)
> > at org.mozilla.javascript.Context.compileString(Context.java:1284)
> > at org.mozilla.javascript.Context.compileString(Context.java:1273)
> > at org.mozilla.javascript.Context.evaluateString(Context.java:1129)
> > at
> >
>
> org.apache.jmeter.control.IfController.evaluateCondition(IfController.java:100)
> > at org.apache.jmeter.control.IfController.next(IfController.java:151)
> > at
> >
>
> org.apache.jmeter.control.GenericController.nextIsAController(GenericController.java:130)
> > at
> >
> org.apache.jmeter.control.GenericController.next(GenericController.java:100)
> > at
> org.apache.jmeter.control.LoopController.next(LoopController.java:91)
> > at org.apache.jmeter.threads.ThreadGroup.next(ThreadGroup.java:123)
> > at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:248)
> > at java.lang.Thread.run(Unknown Source)
> >
> > I took it out, and it ran, (of course, my sampler fails because its
> > dependent on that, but still...) then I put it back in, and it failed
> (both
> > manually and through the proxy recording).....
> >
> > Any suggestions?
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>