What maven plugin is to be used for JMeter? jmeter-maven-plugin or chronos-jmeter-maven-plugin?

后端 未结 4 1154
萌比男神i
萌比男神i 2021-02-20 14:49

I need to setup performance tests which are run automatically triggered by a CI system. For that I want to use JMeter due to some scripts and experience already exist and I want

4条回答
  •  生来不讨喜
    2021-02-20 15:16

    Word(s) of warning on the apache plugin (lazerycode):

    • It suppresses JMeter output by default, add the following configuration settings to prevent that:
      
        false  
          
        debug  
        DEBUG  
    
    
    • Looking at the source (of version 1.8.1), it seems the -Xms and Xmx are limited to 512

    • The plugin swallows exceptions so your tests may fail but you don't know why. It looks like they've just completed but not provided results.

    • The jmeter mojo kicks off jmeter as a new java process but does not provide the capacity to provide any arguments to this execution. So if exceptions are swallowed (See above), and logging isn't sufficient (which it may not be) it's not easy to debug the process to fing out what's wrong. We (my colleague) added the debug args to the process execution and debugged the jmeter call to find out.

    • you get informative output running jmeter directly for dev purposes. I'd say it's even more informative in the jmeter UI output.

    I've not used chronos mind.

提交回复
热议问题