Jmeter-maven-plugin Advanced Applications: Log levels

Source: Internet
Author: User

Log levels Pages A
    • Home
    • Adding additional libraries to the CLASSPATH
    • Advanced Configuration
    • Basic Configuration
    • Configuring the JVM, the JMeter process runs in
    • FAQ
    • Log levels
    • modifying Properties
    • Proxy Configuration
    • Remote Server Configuration
    • Selecting Tests to Run
    • Test Results File Format
Clone this wiki locallyClone in Desktoplog levels
    • How to <overrideRootLogLevel>
    • Advanced Log Configuration
    • Individual Log levels

How to <overrideRootLogLevel>

You can specify a root log level for debug purposes.

+---+<project> [...] <Build> <Plugins> <Plugin> <groupid>com.lazerycode.jmeter</Groupid> <artifactid>jmeter-maven-plugin</artifactid> <version>2.0.3</version > <executions> <execution> <id >jmeter-tests</id> <goals> < Goal>jmeter</goal> </goals> </ execution> </executions> <configuration> <overriderootloglevel>debug</overriderootloglevel> </ configuration> </plugin> </plugins > </build> [...] </project>+---+          

Setting the root log level would always override any settings for individual category log levels (as a result if the <ov Erriderootloglevel> is set all category log levels set elsewhere would be ignored.

Advanced Log Configuration

If you add a "logkit.xml" into the It'll now is <testFilesDirectory> copied into The/bin folder. If One does not exist the default one supplied with JMeter would be used instead. If you don ' t want to call your Advanced log config file "Logkit.xml", you can specify the filename using:

+---+<project> [...] <Build> <Plugins> <Plugin> <groupid>com.lazerycode.jmeter</Groupid> <artifactid>jmeter-maven-plugin</artifactid> <version>2.0.3</version > <executions> <execution> <id >jmeter-tests</id> <goals> < Goal>jmeter</goal> </goals> </ execution> </executions> <configuration> <logconfigfilename>myfile.xml</logconfigfilename> </ configuration> </plugin> </plugins > </build> [...] </project>+---+          

Individual Log levels

You can override individual log levels by setting them in your jmeter.properties file. If you want to override them in the POM has a look at Adding Additional Properties to <propertiesjmeter>.

Jmeter-maven-plugin Advanced Applications: Log levels

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.