Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    tarun gupta
    @tarung121
    Anybody can help??
    I got report but its empty nothing except time and source file which is in csv
    tarun gupta
    @tarung121
    ??
    Mark Collin
    @Ardesco
    would need more info, what are the plugin settings in your POM for example, what are the settings in Jenkins and what is in the directory Jenkins is looking in?
    YaJiv
    @namvjsai

    Hi guys, I recently started using the plugin. really helpful for sure but I have been seeing a few challenges.

    #1. test results out from the maven plugin are not just same when compared with the same test script executed via JMeter client. anyone seen similar ? or noticed the other way around.

    #2. I'm wondering if I can control dashboard report generation after the execution. the usecase is: I wanted to run 10 test scenarios via Jenkins on a single job by providing 10 multiple builds( definitely not parallel) - report generation of each test execution should be generated independent. So each time if the build is triggered - each test should run and create the report one after another for 10 times. Any suggestions will be helpful.

    Mark Collin
    @Ardesco
    For #1 they should be the same assuming the JVM settings are the same
    For #2 that would sound like 10 subsequent runs, it’s possible to do via Jenkins by making your build run the plugin 10 times in one job with slightly different command line options to change the specified test
    YaJiv
    @namvjsai
    jmeter-client-cli-maven-execution-summary.JPG
    YaJiv
    @namvjsai
    Thanks for the response Mark!, please see the screenshot about the different results through diff. test executions. Infact JVM xms and xmx values are higher for jmeter-maven(1g&1g) when compared to Client(500m&1g).
    Mark Collin
    @Ardesco
    Well there’s your answer then
    Try running with the same settings in both and see how you get on
    YaJiv
    @namvjsai
    Of Course, I tried that but it doesn't help. There's quite a lot of difference in the results.
    Mark Collin
    @Ardesco
    What happens if you set the Xms and xmx to the same values In both instances
    Bear in mind there may be external factors at play here, is the server only being loaded by your jmeter scripts, are there any other processes running on the server, are you using exactly the same jmeter versions
    YaJiv
    @namvjsai
    Thanks @Ardesco.
    Hi There, is there a way to set a path for HTML Report generation. By default, the report is generating at ./target/jmeter/report/ and I want to customize the path. Thanks in adv.
    Mark Collin
    @Ardesco
    There is a <reportDirectory> confit setting that should work for you
    Naren-Neal
    @Naren-Neal
    hey,can anyone help me to create a test plan for CMS using Jemter. I need to check performance of CMS application using Jmeter .
    YaJiv
    @namvjsai
    @Ardesco It worked, tq.
    Wondering if jmeter-maven-plugin is capable of comparing test results.
    Regarding this, I can compare the .jtl files using performance plugin on Jenkins, but at the same time I'll have to compromise with HTML report, as <generateReports>true</generateReports> setting is generating CSV by default. Thank you
    sanoj
    @sanoj27_twitter
    Unable to record script in arest chrome browser using Jmeter 5.1.1. It seems network not found error. Please do the needful
    Mark Collin
    @Ardesco
    @sanoj27_twitter it sounds like you have a JMeter question, not a question relating to the jmeter-maven-plugin. I would suggest the JMeter mailing list
    kriegster108
    @kriegster108
    quick question
    I am trying to get jmeter to work in maven, however I use plugins when I wrote my inital test... how do I install those?
    missing class com.thoughtworks.xstream.converters.ConversionException:
    [INFO] ---- Debugging information ----
    [INFO] cause-exception : com.thoughtworks.xstream.converters.ConversionException
    People online say "just add those jars to lib/ext" but im not using jmeter.... i am using the maven plugin...
    I dont get what the mean by that
    siva90144
    @siva90144
    @Ardesco Can you please provide the example pom with 3.0.0 version ? I have see git documentation but still have some doubts.... can you please provide full example pom?
    siva90144
    @siva90144
    image.png
    its always failing due to file is not picking
    here is pom.xml
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.facebook.project</groupId>
    <artifactId>jmeter-maven-plugin-fb</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <jmeter-maven-plugin.version>3.0.0</jmeter-maven-plugin.version>
    </properties>
    <dependencies>
    <dependency>
    <groupId>commons-codec</groupId>
    <artifactId>commons-codec</artifactId>
    <version>1.11</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-api</artifactId>
    <version>1.7.25</version>
    </dependency>
    <dependency>
    <groupId>org.apache.jmeter</groupId>
    <artifactId>ApacheJMeter_core</artifactId>
    <version>5.1</version>
    </dependency>
    </dependencies>
    <profiles>
    <profile>
    <id>standalone</id>
    <activation>
    <activeByDefault>true</activeByDefault>
    </activation>
    <build>
    <plugins>
    <plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-maven-plugin</artifactId>
    <version>${jmeter-maven-plugin.version}</version>
    <executions>
    <execution>
    <id>configuration</id>
    <goals>
    <goal>configure</goal>
    </goals>
    </execution>
    <execution>
    <id>jmeter-tests</id>
    <phase>verify</phase>
    <goals>
    <goal>jmeter</goal>
    <goal>results</goal>
    </goals>
    </execution>
    </executions>
    <configuration>
    <!-- <jmeterVersion>5.1.1</jmeterVersion> -->
    <testFilesIncluded>
    <jMeterTestFile>PerformanceTestPlan.jmx</jMeterTestFile>
    </testFilesIncluded>
    <resultsDirectory>/target/jmeter</resultsDirectory>
    </configuration>
    </plugin>
    </plugins>
    </build>
    </profile>
    </profiles>
    </project>
    image.png
    i placed .jmx file under src/test/java/jmeter folder
    @Ardesco
    Mark Collin
    @Ardesco
    @siva90144 again have a look at the error, it is telling you what is wrong. That directory doesn't exist
    look at the screenshot above, you have created a src/test/java/jmeter directory
    @siva90144 I take it this can be closed down now and you have found that the version of Maven that Eclipse was using was too old (jmeter-maven-plugin/jmeter-maven-plugin#360)
    Mark Collin
    @Ardesco
    If you look at https://github.com/jmeter-maven-plugin/jmeter-maven-plugin/tree/master/src/it there are a series of example POMs
    siva90144
    @siva90144
    @Ardesco Thanks a lot .... the issue is resolved
    siva90144
    @siva90144
    how to pass threads and rampup from pom.xml?
    <configuration>
    <propertiesUser>
    <threadgroup.count>2</threadgroup.count>
    <threadgroup.rampup>2</threadgroup.rampup>
    <threadgroup.duration>5</threadgroup.duration>
    </propertiesUser> </configuration>
    do i need to include tag <propertiesUser> inside configuration or not required for 3.0.0 version
    @Ardesco
    you still need to pass the <propertiesUser> tag, otherwise it won't know what you are defining
    siva90144
    @siva90144
    @Ardesco Thanks
    Also I have one more question... my jmx file name is testfile.jmx and while generating the reports its creating folder with jmx filename. Inside the folder reports are generating. is there any way to eliminate the folder creation? my intention is I wan to generate reports in target/jmeter/reports/ instead off target/jmeter/reports/ testfile/
    Feel free to raise an issue asking for a change if it's causing you problems and we will have a look at it