Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    siva90144
    @siva90144
    <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 !
    sairanganadh2018
    @sairanganadh2018
    hi need a help, while trying to execute jmeter job from jenkns usin jmeter-maven-plugin, im getting results in /jmeter/results/**.csv .. while the same is not visible in jenkins job. may i know if i am missing any configuration.. i tried checking in jenkins jobs folder... there is one folder called "performance-reports" getting created, and this has csv results file. however, this is not appeared in jenkins jobs section after the build
    Mark Collin
    @Ardesco
    sounds like you aren't archiving stuff correctly in Jenkins
    sairanganadh2018
    @sairanganadh2018
    @Ardesco oh ok, may i please know how to configure it properly, i used default jenkins setting, and in global tool config of jenkins given the maven home path.. nothing changed apart from that
    Mark Collin
    @Ardesco
    All depends on your Jenkins setup/version, how you run your tests and how you have configured the plugin really. I would guess you need to archive target/jmeter/results/**
    sairanganadh2018
    @sairanganadh2018
    @Ardesco ok, i think im not sure if i got your suggestion, but i will try to find some more resources online to get this properly visible in jobs of jenkins.. thanks a lot for your help so far :)
    sairanganadh2018
    @sairanganadh2018
    Hi, could you please help me in understanding the below folder why it is getting created.. ideally jmeter lib should be created in target/jmeter/lib ... but this is creating target/0e58a72a-d813-41b5-9e99-e0d648a18ce1/jmeter/lib
    image.png
    im trying to create aggregate report.csv from the original csv getting created... for using cmd plugin this is random folder name is issue to sepcify the path for cmd plugin in my pom file
    Mark Collin
    @Ardesco
    This allows us to keep multiple profiles so that you can run JMeter under multiple configurations,
    the results are currently always put in target/jmeter/results
    sairanganadh2018
    @sairanganadh2018

    ok.. could you pls guide how to copy the cmdrunner.jar from ext to lib folder-- im not sure how to do this as the folder name is random generated everytime

    <artifactId>exec-maven-plugin</artifactId>
    <version>1.6.0</version>
    <executions>
    <execution>
    <id>copy-cmdrunner-to-lib-folder</id>
    <phase>post-integration-test</phase>
    <goals>
    <goal>exec</goal>
    </goals>
    <configuration>
    <basedir>${basedir}/target/jmeter/lib/ext</basedir>

    in the "basedir" i need to give this random folder path actually
    my purpose is to use cmdrunner to generate aggregatereport.csv
    could you suggest me how to acheive this
    sairanganadh2018
    @sairanganadh2018
    sorted the issue.. :)
    Mark Collin
    @Ardesco
    :thumbsup:
    sirirao88
    @sirirao88
    @sairanganadh2018 Hi, I am also facing the same issue. It would be really helpful if you can share the solution you used to resolve the random folder generation instead of just the target/jmeter/lib folder. Thanks in advance
    Mark Collin
    @Ardesco
    the config.json will tell you the location of the folder for your current execution id.
    Out if interest why do you need the physical location of the lib folder?
    sirirao88
    @sirirao88

    Thanks Mark for the reply.
    I am using something like below in my pom.xml file to generate the HTML Dashboard. The multiple profile generation which creates a random folder in between is creating problem in the generation of the report. Hence wanted to know how one could eliminate the random folder or include that in the folder path:

    <java jar="${basedir}/target/jmeter/bin/ApacheJMeter-5.1.1.jar" fork="true"> <arg value="-g" /> <arg value="${basedir}/target/jmeter/results/Demo.csv" /> <arg value="-o" /> <arg value="${basedir}/target/jmeter/results/dashboard" /> </java>

    Mark Collin
    @Ardesco
    You need to parse the config.json, it tells you the file locations
    sirirao88
    @sirirao88
    surely will try this solution out :thumbsup:
    uncleverty
    @uncleverty
    how did you parse the config.json in the ant task to get the jmeter directory path?
    uncleverty
    @uncleverty
    more realistic solution is to get the path of the jar using fileset with regex
    Mark Collin
    @Ardesco
    anything that will parse json will work, quick example using jq on the command line: jq ".configurations[0] .jmeterDirectoryPath" target/config.json