Jmeter-maven-plugin Advanced Applications: Configuring the JVM, the Jmeter process runs in

Source: Internet
Author: User
Tags xms

Configuring the JVM, the JMeter process runs in

The JMeter Maven plugin would run the JMeter process in its own JVM. You have the full control over the this JVM and can set THE-XMS AND-XMX as well as the command line arguments you require. We suggest that you set THE-XMS and-xmx to the same values for optimal performance.

+---+<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> <jmeterprocessjvmsettings> <xms>1024</xms> <xmx>1024</ xmx> <arguments> <argument>-Xprof </argument> <argument>-xfuture</ argument> </arguments> </jmeterprocessjvmsettings> </ configuration> </plugin> </plugins > </build> [...] </project>+---+          

SOCKS proxy configuration relies on JVM arguments, Socksproxyhost and Socksproxyport:

+---+<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> </< Span class= "pl-ent" >goals> </execution> </executions> <configuration> <jmeterprocessjvmsettings> <arguments> <argument>-dsocksproxyhost=localhost</ argument> <argument>-dsocksproxyport=8080</ argument> </arguments> </ jmeterprocessjvmsettings> </configuration> </plugin> </plugins> </build> [...] </project>+---+          

Jmeter-maven-plugin Advanced Applications: Configuring the JVM, the Jmeter process runs in

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.