On 08/12/2009, Ronan Klyne <[email protected]> wrote: > Hi all, > > I've just started seeing a JavaScript error in jmeter.log when I try to > start a test. > > I use JavaScript in many parts of my test script, and I have looked at the > recently changed ones for obvious errors - none found. > > The error is only hinted at by this traceback: > > 2009/12/08 14:35:42 ERROR - > jmeter.engine.StandardJMeterEngine: Uncaught exception: > org.mozilla.javascript.EvaluatorException: missing ) after > argument list (<cmd>#1) > at > 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.mustMatchToken(Parser.java:218) > at > org.mozilla.javascript.Parser.argumentList(Parser.java:1599) > at > org.mozilla.javascript.Parser.memberExprTail(Parser.java:1729) > at > org.mozilla.javascript.Parser.memberExpr(Parser.java:1644) > at > org.mozilla.javascript.Parser.unaryExpr(Parser.java:1507) > at > org.mozilla.javascript.Parser.mulExpr(Parser.java:1445) > at > org.mozilla.javascript.Parser.addExpr(Parser.java:1417) > at > org.mozilla.javascript.Parser.shiftExpr(Parser.java:1397) > at > org.mozilla.javascript.Parser.relExpr(Parser.java:1371) > at > org.mozilla.javascript.Parser.eqExpr(Parser.java:1327) > at > org.mozilla.javascript.Parser.bitAndExpr(Parser.java:1316) > at > org.mozilla.javascript.Parser.bitXorExpr(Parser.java:1305) > at > org.mozilla.javascript.Parser.bitOrExpr(Parser.java:1294) > at > org.mozilla.javascript.Parser.andExpr(Parser.java:1282) > at > org.mozilla.javascript.Parser.orExpr(Parser.java:1270) > at > org.mozilla.javascript.Parser.condExpr(Parser.java:1253) > at > org.mozilla.javascript.Parser.assignExpr(Parser.java:1235) > at > org.mozilla.javascript.Parser.expr(Parser.java:1224) > at > org.mozilla.javascript.Parser.statementHelper(Parser.java:1155) > 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.functions.JavaScript.execute(JavaScript.java:89)
The above line indicates a problem with a Javascript function. > at > org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:143) > at > org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:112) > at > org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:89) > at > org.apache.jmeter.testelement.property.AbstractProperty.getIntValue(AbstractProperty.java:118) > at > org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsInt(AbstractTestElement.java:183) > at > org.apache.jmeter.threads.ThreadGroup.getRampUp(ThreadGroup.java:242) The above line is probably the location of the call. Thread Group - Ramp Up. > at > org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:447) > at java.lang.Thread.run(Unknown Source) > > > I can't work out which test element I need to look at - some pointers would > be veyr much appreciated here... > > Thanks, > > Ronan > > > --------------------------------------------------------------------- > 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]

