Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 88852 invoked from network); 2 Aug 2005 13:34:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2005 13:34:40 -0000 Received: (qmail 34915 invoked by uid 500); 2 Aug 2005 13:34:28 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 34842 invoked by uid 500); 2 Aug 2005 13:34:25 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 34692 invoked by uid 99); 2 Aug 2005 13:34:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 06:34:24 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=NORMAL_HTTP_TO_IP,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of woolfel@gmail.com designates 64.233.170.202 as permitted sender) Received: from [64.233.170.202] (HELO rproxy.gmail.com) (64.233.170.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 06:34:15 -0700 Received: by rproxy.gmail.com with SMTP id r35so1503212rna for ; Tue, 02 Aug 2005 06:34:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KOd/wVS+d06fHwZfztseVPi1yN73hbvRy7870RatO/d7kLZpOb+fp7w/pN0Yv+ttDPlId2F+tTrvgo4PYtDMh1aX34TkeOJgl4oQCRSNazQWU/zqVocx+MgAYO1qT+3Jb2RIz3ug4dpp5YBQ9gN0qSSqHZDt01TKrwRNVqQLdV8= Received: by 10.38.10.41 with SMTP id 41mr1443838rnj; Tue, 02 Aug 2005 06:34:23 -0700 (PDT) Received: by 10.38.86.39 with HTTP; Tue, 2 Aug 2005 06:34:22 -0700 (PDT) Message-ID: <27e674a90508020634d6ff996@mail.gmail.com> Date: Tue, 2 Aug 2005 09:34:22 -0400 From: Peter Lin Reply-To: Peter Lin To: JMeter Users List , sebb Subject: Re: csv and xml logs In-Reply-To: <25aac9fc050802040926687982@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <82dc60e005051807493ca13de@mail.gmail.com> <25aac9fc050518112157c942c1@mail.gmail.com> <42E4F0A7.9070100@mobilecohesion.com> <82dc60e005072507041ef31d5@mail.gmail.com> <42E4F24B.9080801@mobilecohesion.com> <25aac9fc050802040926687982@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I managed to fix one of the two remaining issues bronagh reported. the remaining is related to using user variables with functions. that one is rather hard to debug, so I think it's best to include in the next release and not in 2.1. I can always provide a patched version to bronagh if I manage to figure exactly what the bug is. peter On 8/2/05, sebb wrote: > Is this fix not in 2.1RC1? >=20 > S. > On 25/07/05, Bronagh McElduff wrote= : > > Unfortunately, the version I am using has a specific fix I require for > > testing web services. > > > > Yuval wrote: > > > > >Did you try to run it with ver 2.03? > > > > > >On 7/25/05, Bronagh McElduff wro= te: > > > > > > > > >>Hi, > > >> > > >>I am experiencing the same problem when using the Web service sampler= . > > >>Despite setting the variable: > > >>jmeter.save.saveservice.output_format=3Dcsv > > >> > > >>The results file produced is always in XML. > > >>I am using JMeter version 2.1.20050531 > > >> > > >>I have attached my configuration file, in case there is something I h= ave > > >>not set correctly. > > >> > > >>Thanks in advance, > > >>Bronagh > > >> > > >> > > >>sebb wrote: > > >> > > >> > > >> > > >>>Which version of JMeter are you using? > > >>> > > >>>The properties work OK in most versions of JMeter. > > >>> > > >>>S. > > >>>On 5/18/05, Yuval wrote: > > >>> > > >>> > > >>> > > >>> > > >>>>Hi, > > >>>>I'm trying to work with the TCP sampler. > > >>>>When I tried to change the log format from xml to csv in the > > >>>>jmeter.properties it had no affect. > > >>>>After digging in the code I found out that the xml is set to true a= t the > > >>>> > > >>>> > > >>jmx > > >> > > >> > > >>>>file (the test plan). > > >>>>Only after changing it to false it created me csv files. > > >>>>Are the log settings at the jmeter.properties have any affect on th= e TCP > > >>>>sampler? > > >>>>Thanks, > > >>>>Y. > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>> > > >>>--------------------------------------------------------------------= - > > >>>To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > >>>For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > >>> > > >>> > > >>> > > >>> > > >>> > > >> > > >> > > >>#####################################################################= ########### > > >># Apache JMeter Property file > > >> > > >>#####################################################################= ########### > > >> > > >>## $Id: jmeter.properties,v 1.114 2005/02/09 21:11:55 mstover1 Exp $ > > >>## Copyright 2001-2004 The Apache Software Foundation > > >>## > > >>## Licensed under the Apache License, Version 2.0 (the "License"); > > >>## you may not use this file except in compliance with the License. > > >>## You may obtain a copy of the License at > > >>## > > >>## http://www.apache.org/licenses/LICENSE-2.0 > > >>## > > >>## Unless required by applicable law or agreed to in writing, softwar= e > > >>## distributed under the License is distributed on an "AS IS" BASIS, > > >>## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or > > >>implied. > > >>## See the License for the specific language governing permissions an= d > > >>## limitations under the License. > > >> > > >> > > >>#Preferred GUI language. Comment out to use the JVM default locale's > > >>language. > > >>#language=3Dde > > >> > > >># Netscape HTTP Cookie file > > >>cookies=3Dcookies > > >> > > >># Authorization > > >>authorization=3Dauthorization > > >> > > >>#Working directory > > >>user.dir=3D. > > >> > > >># XML Reader(Parser) - Must implement SAX 2 specs > > >>xml.parser=3Dorg.apache.xerces.parsers.SAXParser > > >> > > >>#Classname of the ssl provider to be used (to enable testing of https > > >>urls) > > >>#And the package name where Stream Handlers can be found > > >>#These provided defaults can be uncommented, and they will work if yo= u are > > >>using > > >>#Sun's JSSE implementation. > > >> > > >>ssl.provider=3Dcom.sun.net.ssl.internal.ssl.Provider > > >>#ssl.provider=3Diaik.security.jsse.provider.IAIKJSSEProvider > > >>ssl.pkgs=3Dcom.sun.net.ssl.internal.www.protocol > > >> > > >>#The location of the truststore (trusted certificates) and keystore (= if > > >>other than the default. > > >>#you can uncomment this and change the path to the correct location. > > >>#javax.net.ssl.trustStore=3D/path/to/cacerts > > >>#javax.net.ssl.keyStore=3D/path/to/keystore > > >> > > >>#The password to your keystore > > >>#javax.net.ssl.keyStorePassword=3Dpassword > > >> > > >>#Alternative protocol of the ssl provider for IAIK JCE + iSaSiLk > > >>#You can also override IAIK specific Providers as well. > > >> > > >>#ssl.pkgs=3Diaik.protocol > > >>#ssl.provider=3Dcom.mycompany.security.provider.SmartProvider > > >>#iaik.provider=3Dcom.mycompany.security.provider.SmartSSLProvider > > >> > > >>#Flag for whether to output debug messages to System.err > > >>#To enable it, set the value to "all" Note, for it to work with > > >>#JSSE, it needs to be done from the Java command (i.e. - > > >>Djavax.net.debug=3Dall) > > >>javax.net.debug=3Dall > > >> > > >>#Classname of the Swing default UI > > >>#Installed Look and Feel classes on Windows are: > > >># Metal =3D javax.swing.plaf.metal.MetalLookAndFeel > > >># Motif =3D com.sun.java.swing.plaf.motif.MotifLookAndFeel > > >># Windows =3D com.sun.java.swing.plaf.windows.WindowsLookAndFeel > > >>jmeter.laf=3Djavax.swing.plaf.metal.MetalLookAndFeel > > >> > > >>#icons -> moved to program code > > >>#timer.tree.icon=3Dtimer.gif > > >>#listener.tree.icon=3Dear.gif > > >>#bench.tree.icon=3Dclipboard.gif > > >>#thread.tree.icon=3Dthread.gif > > >>#control.tree.icon=3Dknob.gif > > >>#plan.tree.icon=3Dbeaker.gif > > >>#config.tree.icon=3Dleafnode.gif > > >> > > >># Remote Hosts - comma delimited > > >>remote_hosts=3D127.0.0.1 > > >>#remote_hosts:localhost:1099,localhost:2010 > > >> > > >># RMI port to be used by the server > > >>#server_port=3D1099 > > >> > > >>#Components to not display in JMeter GUI > > >>not_in_menu=3DRemote Method Configuration,JNDI Configuration,JNDI Loo= kup > > >>Configuration,JNDI Request,Default Controller, > > >>org.apache.jmeter.control.DynamicController, > > >>org.apache.jmeter.protocol.http.control.Cookie, > > >>org.apache.jmeter.protocol.http.control.Authorization, > > >>org.apache.jmeter.config.LoginConfig,Header, > > >>org.apache.jmeter.protocol.http.config.MultipartUrlConfig > > >> > > >> > > >>#--------------------------------------------------------------------= ------- > > >># Logging Configuration > > >> > > >>#--------------------------------------------------------------------= ------- > > >> > > >># Note: JMeter uses Avalon LogKit > > >> > > >># Logging Format > > >># see > > >>http://avalon.apache.org/logkit/api/org/apache/log/format/PatternForm= atter.html > > >># > > >># Default format: > > >>#log_format=3D%{time:yyyy/MM/dd HH:mm:ss} %5.5{priority} - %{category= }: > > >>%{message} %{throwable} > > >># \n is automatically added to the end of the string > > >># > > >># Predefined formats in the JMeter LoggingManager: > > >>#log_format_type=3Ddefault > > >>#log_format_type=3Dthread_prefix > > >>#log_format_type=3Dthread_suffix > > >># default is as above > > >># thread_prefix adds the thread name as a prefix to the category > > >># thread_suffix adds the thread name as a suffix to the category > > >># Note that thread name is not included by default, as it requires ex= tra > > >>processing. > > >># > > >># To change the logging format, define either log_format_type or > > >>log_format > > >># If both are defined, the type takes precedence > > >># Note that these properties cannot be defined using the -J or -D JMe= ter > > >># command-line flags, as the format will have already been determined= by > > >>then > > >># However, they can be defined as JVM properties > > >> > > >>#Logging levels for the logging categories in JMeter. Correct values = are > > >>FATAL_ERROR, ERROR, WARN, INFO, and DEBUG > > >># To set the log level for a package or individual class, use: > > >># log_level.[package_name].[classname]=3D[PRIORITY_LEVEL] > > >># But omit "org.apache" from the package name. The classname is optio= nal. > > >>Further examples below. > > >> > > >>log_level.jmeter=3DINFO > > >>log_level.jmeter.junit=3DDEBUG > > >>#log_level.jmeter.control=3DDEBUG > > >>#log_level.jmeter.testbeans=3DDEBUG > > >>#log_level.jmeter.engine=3DDEBUG > > >>#log_level.jmeter.threads=3DDEBUG > > >>#log_level.jmeter.gui=3DWARN > > >>#log_level.jmeter.testelement=3DDEBUG > > >>#log_level.jmeter.util=3DWARN > > >>#log_level.jmeter.util.classfinder=3DWARN > > >>#log_level.jmeter.test=3DDEBUG > > >>#log_level.jmeter.protocol.http=3DDEBUG > > >>#log_level.jmeter.protocol.ftp=3DWARN > > >>#log_level.jmeter.protocol.jdbc=3DDEBUG > > >>#log_level.jmeter.protocol.java=3DWARN > > >>#log_level.jmeter.testelements.property=3DDEBUG > > >>log_level.jorphan=3DINFO > > >> > > >> > > >>#Log file for log messages. > > >># You can specify a different log file for different categories via: > > >># log_file.[category]=3D[filename] > > >># category is equivalent to the package/class names described above > > >> > > >># Combined log file (for jmeter and jorphan) > > >>log_file=3Djmeter.log > > >># To redirect logging to standard output, try the following: > > >># (it will probably report an error, but output will be to stdout) > > >>#log_file=3D > > >> > > >># Or define separate logs if required: > > >>#log_file.jorphan=3Djorphan.log > > >>#log_file.jmeter=3Djmeter.log > > >> > > >> > > >>#--------------------------------------------------------------------= ------- > > >># HTTPClient configuration > > >> > > >>#--------------------------------------------------------------------= ------- > > >> > > >># set the socket timeout > > >>#httpclient.timeout=3D0 > > >> > > >># Set the http version (defaults to 1.1) > > >>#httpclient.version=3D1.0 > > >> > > >># Sample logging levels for HttpClient > > >># Note that full category names are used, i.e. must include the org.a= pache > > >>. > > >># Info level produces no output: > > >>#log_level.org.apache.commons.logging=3Ddebug > > >># Might be useful: > > >>#org.apache.commons.httpclient.Authenticator=3Dtrace > > >> > > >># wire debug produces a lot of output; consider using separate file: > > >>#log_level.httpclient.wire=3Ddebug > > >>#log_file.httpclient=3Dhttpclient.log > > >> > > >># Further logging configuration > > >># Excalibur logging provides the facility to configure logging using > > >># configuration files written in XML. This allows for such features a= s > > >># log file rotation which are not supported directly by JMeter. > > >># > > >># If such a file specified, it will be applied to the current logging > > >># hierarchy when that has been created. > > >># > > >>#log_config=3Dlogkit.xml > > >> > > >> > > >>#--------------------------------------------------------------------= ------- > > >># Results file configuration > > >> > > >>#--------------------------------------------------------------------= ------- > > >> > > >># This section helps determine how result data will be saved. > > >># The commented out values are the defaults. > > >> > > >># legitimate values: xml, csv, db. Only xml and csv are currently > > >>supported. > > >>jmeter.save.saveservice.output_format=3Dcsv > > >> > > >> > > >># true when field should be saved; false otherwise > > >> > > >>#assertion_results_failure_message only affects CSV output > > >>#jmeter.save.saveservice.assertion_results_failure_message=3Dtrue > > >>#jmeter.save.saveservice.data_type=3Dtrue > > >>#jmeter.save.saveservice.label=3Dtrue > > >>#jmeter.save.saveservice.response_code=3Dtrue > > >>#jmeter.save.saveservice.response_data=3Dfalse > > >>#jmeter.save.saveservice.response_message=3Dtrue > > >>#jmeter.save.saveservice.successful=3Dtrue > > >>#jmeter.save.saveservice.thread_name=3Dtrue > > >>#jmeter.save.saveservice.time=3Dtrue > > >> > > >># legitimate values: none, ms, or a format suitable for SimpleDateFor= mat > > >>#jmeter.save.saveservice.timestamp_format=3Dms > > >>#jmeter.save.saveservice.timestamp_format=3DMM/dd/yy HH:mm:ss > > >> > > >># legitimate values: none, first, all > > >>#jmeter.save.saveservice.assertion_results=3Dnone > > >> > > >># For use with Comma-separated value (CSV) files or other formats > > >># where the fields' values are separated by specified delimiters. > > >>jmeter.save.saveservice.default_delimiter=3D| > > >>jmeter.save.saveservice.print_field_names=3Dtrue > > >> > > >># File that holds a record of name changes for backward compatibility > > >>issues > > >>upgrade_properties=3D/bin/upgrade.properties > > >> > > >># If the proxy detects a gap of at least 1s (default) between HTTP > > >>requests, > > >># it assumes that the user has clicked a new URL > > >>#proxy.pause=3D1000 > > >> > > >># Add numeric prefix to Sampler names (default false) > > >>#proxy.number.requests=3Dtrue > > >># > > >># Define the HTML parser to be used. > > >># Default parser: > > >>#htmlParser.className=3D > > >>org.apache.jmeter.protocol.http.parser.HtmlParserHTMLParser > > >># Other parsers: > > >>#htmlParser.className=3D > > >>org.apache.jmeter.protocol.http.parser.JTidyHTMLParser > > >>#htmlParser.className=3D > > >>org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > > >> > > >># Put the start time stamp in logs instead of the end > > >>#sampleresult.timestamp.start=3Dtrue > > >> > > >># Remote batching support > > >># default is Standard, which returns each sample > > >># Hold retains samples until end of test (may need lots of memory) > > >># Batch returns samples in batches > > >># hold_samples was originally defined as a separate property, > > >># but can now also be defined using remote.mode > > >>#mode=3DStandard > > >>#mode=3DBatch > > >>#mode=3DHold > > >>#hold_samples=3Dtrue > > >>#num_sample_threshold=3D100 > > >>#time_threshold=3D60000 > > >> > > >># Turn expert mode on/off: expert mode will show expert-mode beans an= d > > >>properties > > >>#jmeter.expertMode=3Dtrue > > >> > > >># To set the Monitor Health Visualiser buffer size, enter the desired > > >>value > > >># monitor.buffer.size=3D800 > > >> > > >>#TCP sampler > > >># The default handler class > > >>#tcp.handler=3DTCPClientImpl > > >># > > >># eolByte =3D byte value for end of line > > >>#tcp.eolByte=3D0 > > >># > > >># status.prefix and suffix =3D strings that enclose the status respon= se code > > >>#tcp.status.prefix=3DStatus=3D > > >>#tcp.status.suffix=3D. > > >># > > >># status.properties =3D property file to convert codes to messages > > >>#tcp.status.properties=3Dmytestfiles/tcpstatus.properties > > >> > > >># Remote batching support > > >># default is Standard, which returns each sample > > >># Hold retains samples until end of test (may need lots of memory) > > >># Batch returns samples in batches > > >># hold_samples was originally defined as a separate property, > > >># but can now also be defined using remote.mode > > >>#mode=3DStandard > > >>#mode=3DBatch > > >>#mode=3DHold > > >>#hold_samples=3Dtrue > > >>#num_sample_threshold=3D100 > > >>#time_threshold=3D60000 > > >> > > >># Summariser settings > > >># > > >># Define the following property to automatically start a summariser w= ith > > >>that name > > >>#summariser.name=3Dsummary > > >># > > >># interval between summaries (in seconds) default 3 minutes > > >>#summariser.interval=3D180 > > >># > > >># Write messages to log file > > >>#summariser.log=3Dtrue > > >># > > >># Write messages to System.out > > >>#summariser.out=3Dtrue > > >> > > >># BeanShell Server properties > > >># > > >># Define the port number as non-zero to start the server on that port > > >>#beanshell.server.port=3D0 > > >># > > >># Define the server initialisation file > > >>#beanshell.server.file=3Dinitial.bsh > > >># > > >># Define the intialisation files for BeanShell Sampler and Function > > >>elements > > >>#beanshell.sampler.init=3DBeanShellSampler.bshrc > > >>#beanshell.function.init=3DBeanShellFunction.bshrc > > >> > > >>#TestBeanGui > > >># > > >>#propertyEditorSearchPath=3Dnull > > >> > > >>#JMeterUtils > > >># > > >>#search_paths=3Dnull > > >> > > >># MailerModel settings > > >># > > >># Number of successful samples before a message is sent > > >>#mailer.successlimit=3D2 > > >># > > >># Number of failed samples before a message is sent > > >>#mailer.failurelimit=3D2 > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org