Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0B969A03 for ; Tue, 22 Nov 2011 11:36:48 +0000 (UTC) Received: (qmail 90993 invoked by uid 500); 22 Nov 2011 11:36:48 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 90942 invoked by uid 500); 22 Nov 2011 11:36:47 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 90933 invoked by uid 500); 22 Nov 2011 11:36:47 -0000 Delivered-To: apmail-jakarta-jmeter-user@jakarta.apache.org Received: (qmail 90930 invoked by uid 99); 22 Nov 2011 11:36:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 11:36:47 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of cmolatch@comcast.net) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2011 11:36:39 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RSoe9-0007G2-Qw for jmeter-user@jakarta.apache.org; Tue, 22 Nov 2011 03:36:17 -0800 Date: Tue, 22 Nov 2011 03:36:17 -0800 (PST) From: testerinCO To: jmeter-user@jakarta.apache.org Message-ID: <1321961777827-5013291.post@n5.nabble.com> Subject: Changing the property of the __time function for YMDHMD MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello I modified the time.YMDHMD property to the following: time.YMDHMD="yyyy-MM-dd'T'HH:mm:ss.SSSZ" I tried different character escape options, but I always get the same error when trying to run it. Base: Cannot find .className property for htmlParser, using default 2011/11/22 04:26:12 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 2011/11/22 04:26:12 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is 2011/11/22 04:26:12 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is 2011/11/22 04:26:12 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 2011/11/22 04:26:12 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2011/11/22 04:26:13 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 2011/11/22 04:26:13 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui 2011/11/22 04:26:13 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are END times 2011/11/22 04:26:13 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2011/11/22 04:26:13 INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 2011/11/22 04:26:28 INFO - jmeter.services.FileServer: Default base='C:\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin' 2011/11/22 04:26:28 INFO - jmeter.gui.action.Load: Loading file: C:\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin\testdate.jmx 2011/11/22 04:26:28 INFO - jmeter.services.FileServer: Set new base 'C:\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin' 2011/11/22 04:26:28 INFO - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2 2011/11/22 04:26:28 INFO - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8 2011/11/22 04:26:28 INFO - jmeter.save.SaveService: Using SaveService properties file version 1050447 2011/11/22 04:26:28 INFO - jmeter.save.SaveService: Using SaveService properties version 2.1 2011/11/22 04:26:28 INFO - jmeter.save.SaveService: All converter versions present and correct 2011/11/22 04:26:29 INFO - jmeter.services.FileServer: Set new base='C:\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin' 2011/11/22 04:26:31 INFO - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version 2011/11/22 04:26:31 INFO - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false 2011/11/22 04:26:31 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2011/11/22 04:26:31 ERROR - jmeter.engine.StandardJMeterEngine: Error occurred compiling the tree: java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(Unknown Source) at java.text.SimpleDateFormat.initialize(Unknown Source) at java.text.SimpleDateFormat.(Unknown Source) at java.text.SimpleDateFormat.(Unknown Source) at org.apache.jmeter.functions.TimeFunction.execute(TimeFunction.java:87) at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:143) at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:116) at org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:90) at org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsString(AbstractTestElement.java:248) at org.apache.jmeter.config.Argument.getValue(Argument.java:115) at org.apache.jmeter.config.Arguments.getArgumentsAsMap(Arguments.java:93) at org.apache.jmeter.engine.PreCompiler.addNode(PreCompiler.java:93) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:987) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:987) at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969) at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:319) at java.lang.Thread.run(Unknown Source) 2011/11/22 04:28:23 INFO - jmeter.services.FileServer: Set new base='C:\jakarta-jmeter-2.5\jakarta-jmeter-2.5\bin' 2011/11/22 04:28:23 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2011/11/22 04:28:23 ERROR - jmeter.engine.StandardJMeterEngine: Error occurred compiling the tree: java.lang.IllegalArgumentException: Illegal pattern character 'Y' at java.text.SimpleDateFormat.compile(Unknown Source) at java.text.SimpleDateFormat.initialize(Unknown Source) at java.text.SimpleDateFormat.(Unknown Source) at java.text.SimpleDateFormat.(Unknown Source) at org.apache.jmeter.functions.TimeFunction.execute(TimeFunction.java:87) at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:143) at org.apache.jmeter.engine.util.CompoundVariable.execute(CompoundVariable.java:116) at org.apache.jmeter.testelement.property.FunctionProperty.getStringValue(FunctionProperty.java:90) at org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsString(AbstractTestElement.java:248) at org.apache.jmeter.config.Argument.getValue(Argument.java:115) at org.apache.jmeter.config.Arguments.getArgumentsAsMap(Arguments.java:93) at org.apache.jmeter.engine.PreCompiler.addNode(PreCompiler.java:93) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:987) at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:987) at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969) at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:319) at java.lang.Thread.run(Unknown Source) Any help is appreciated. -- View this message in context: http://jmeter.512774.n5.nabble.com/Changing-the-property-of-the-time-function-for-YMDHMD-tp5013291p5013291.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org