by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    hendryang
    @hendryang
    hi folks, how do i get compatibility between JMeter and maven?
    i seems to hit error regarding maven version (eq. this jmeter only support maven 3.xx) when running on jenkins
    Mark Collin
    @Ardesco
    That's because the plugin requires maven 3.5.2
    you will get that error anywhere that you use an outdated version of maven
    hendryang
    @hendryang
    got u , thanks bro
    there's bunch of properties can be configured (eq. jmeter.prop , saveservice.prop, etc..). where can i find the sample/reference for this propertie setting?
    Mark Collin
    @Ardesco
    hendryang
    @hendryang
    thank you
    hendryang
    @hendryang
    Hi folks, i'm currently working on project to ensure a webpage is able to support up to 1000 concurrent user. in JMeter, if i configure to hit a certain page with 1000 user , does this satisfy this particular test requirement? does that reflect the actual 1000 users in the real life situation?
    as my concern is , this is just hitting the API and not the actual "client-side" performance testing. as spawning up 1000 concurrent browsres with selenium seems to be not feasible
    Mark Collin
    @Ardesco
    the client side is rendered on the users computer, it will only ever be rendered once in a browser.
    that one instance will make calls out to the server side to get data to enable it to render something on the client side, those calls out to the server is what JMeter is replicating
    hendryang
    @hendryang
    thanks @Ardesco !