Not able to run the Jmeter:jmeter cli option with the jmeter #402

56 views
Skip to first unread message

Anand Katti

unread,
Feb 16, 2021, 1:28:54 AM2/16/21
to maven-jmeter...@googlegroups.com
Jmeter Maven plugin version - 3.2;0
JDK version - 1.11

when running the  jmeter maven plugin from command line - tests are not run.

<profiles>
        <profile>
            <id>cloudMark</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.lazerycode.jmeter</groupId>
                        <artifactId>jmeter-maven-plugin</artifactId>
                         <!--  <executions>
                           
                                    <execution>
<id>configuration2</id>
<goals>
<goal>configure</goal>
</goals>
</execution>
<execution>
<id>jmetertests2</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
  <execution>
<id>jmetercheckresults2</id>
<goals>
<goal>results</goal>
</goals>
</execution>
</executions>  -->
                       
                               <configuration>
                                                   <selectedConfiguration>configure2</selectedConfiguration>
                               
                                  <executions>
                                    <execution>
<id>configuration2</id>
<goals>
<goal>configure</goal>
</goals>
</execution>
<execution>
<id>jmetertests2</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>

<execution>
<id>jmetercheckresults2</id>
<goals>
<goal>results</goal>
</goals>
</execution>
</executions>  
                                    <testFilesIncluded>
                                         <jMeterTestFile>${jMeterTestFile}.jmx</jMeterTestFile>
                                    </testFilesIncluded>
                                    <jMeterProcessJVMSettings>
                                        <xms>1024</xms>
                                        <xmx>1024</xmx>
                                        <arguments>
                                            <argument>-Xdebug</argument>
                                            <argument>-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000</argument>
                                            <argument>-Xprof</argument>
                                            <argument>-Xfuture</argument>
                                        </arguments>
                                    </jMeterProcessJVMSettings>
                                    <propertiesUser>
                                        <host>${host}</host>
                                        <iterations>${iterations}</iterations>
                                        <adminUserCount>${adminUserCount}</adminUserCount>
                                        <tenantUserCount>${tenantUserCount}</tenantUserCount>
                                    </propertiesUser>
                                 
                               </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

command used to run -

mvn -e jmeter:configure@configure2  jmeter:jmeter@configure2 -PcloudMark   -Dhost=kepler.eng.vmware.com -Diterations=1 -DadminUserCount=5 -DtenantUserCount=5 -DjMeterTestFile=src/test/jmeter/CRD_Perf_64Conc



[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.vmware.vcloud:system-tests:jar:1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.testng:testng:jar -> version (?) vs 7.0.0-beta1 @ line 398, column 22
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.eclipse.jetty:jetty-util:jar -> duplicate declaration of version (?) @ line 595, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -------------------< com.vmware.vcloud:system-tests >-------------------
[INFO] Building system-tests 1.0.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jmeter-maven-plugin:3.3.0:configure (configure2) @ system-tests ---
[INFO]  
[INFO] -------------------------------------------------------
[INFO] C O N F I G U R I N G    J M E T E R
[INFO] -------------------------------------------------------
[INFO]  
[INFO] Building JMeter directory structure...
[INFO] Generating JSON Test config...
[INFO] Configuring JMeter artifacts...
[INFO] Populating JMeter directory...
[INFO] Copying extensions to /home/dev/anand/cloud/dev-integration/system-tests/SystemTests/target/17aa5dc0-7ebd-4cad-9fea-95ed4e26238f/jmeter/lib/ext
Downloading dependencies: true
[WARNING] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.ibm.websphere:uow:jar:6.0.2.17 is missing, no dependency information available
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for com.sun.xml.bind:jaxb-xjc:jar:2.2.11 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] Copying junit libraries to /home/dev/anand/cloud/dev-integration/system-tests/SystemTests/target/17aa5dc0-7ebd-4cad-9fea-95ed4e26238f/jmeter/lib/junit
Downloading dependencies: true
[INFO] Copying test plan libraries to /home/dev/anand/cloud/dev-integration/system-tests/SystemTests/target/17aa5dc0-7ebd-4cad-9fea-95ed4e26238f/jmeter/lib
Downloading dependencies: true
[INFO] Configuring JMeter properties...
[INFO]
[INFO] --- jmeter-maven-plugin:3.3.0:jmeter (configure2) @ system-tests ---
[INFO]  
[INFO] -------------------------------------------------------
[INFO]  P E R F O R M A N C E    T E S T S
[INFO] -------------------------------------------------------
[INFO]  
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  6.244 s
[INFO] Finished at: 2021-02-16T11:30:54+05:30
[INFO] ------------------------------------------------------------------------
 
 

Ardesco

unread,
Mar 31, 2021, 8:52:28 AM3/31/21
to Maven JMeter Plugin Users
Reply all
Reply to author
Forward
0 new messages