Details

    • Rice Team:
      QA

      Description

      ci.kuali has the updated performance plug, which performance trends graphs have been greatly improved.

      KS mentioned JMeter is not installed, they are install it via:

      wget http://archive.apache.org/dist/jmeter/binaries/apache-jmeter-2.11.tgz
      tar -xf apache-jmeter-2.11.tgz

      And then running the jmeter.sh. Would be nicer for us if the JMETER_HOME was set and path updated (if required) to run via maven as we do now.

        Attachments

          Issue Links

            Activity

            Hide
            mztaylor Martin Taylor (Inactive) added a comment -

            Can you refer me to the job you are currently running on ci.rice/ci.kuali that needs to be updated/moved? Also, have you looked at maven-jmeter-graph-plugin? (https://github.com/codecentric/jmeter-graph-maven-plugin). I've included a sample jmeter script with configuration.

            ## sample jmeter script
            ## configuration
            APP_APACHE_JMETER='apache-jmeter-2.11'
            URL_TESTENV='http://env15.rice.kuali.org/'
            JMETER_CMD='sh jmeter.sh'
            JMETER_CONFIG=' -Jjmeter.save.saveservice.output_format=xml -n -p user.properties -t'
            JMETER_JOBS_PATH='$WORKSPACE/rice/rice-framework/krad-sampleapp/web/src/test/resources/jmeter/'
            JMETER_JOB_SETTINGS=' -JVUSERS=1 -JENV=$URL_TESTENV -JRAMP=10 -JRUN=10'
            JMETER_HOME='$WORKSPACE/$APP_APACHE_JMETER'
            JMETER_REPORTS_PATH='$WORKSPACE/reports/'
            
            ## setup reports 
            cd $WORKSPACE
            mkdir reports
            
            ## setup jmeter
            cd $WORKSPACE
            wget http://archive.apache.org/dist/jmeter/binaries/$APP_APACHE_JMETER.tgz
            tar -xf $APP_APACHE_JMETER.tgz
            cd $APP_APACHE_JMETER/bin
            
            ## run jmeter job
            $JMETER_CMD $JMETER_CONFIG $JMETER_JOBS_PATH/test_case.jmx -l $JMETER_REPORTS_PATH/test_case.jtl $JMETER_JOB_SETTINGS
            
            Show
            mztaylor Martin Taylor (Inactive) added a comment - Can you refer me to the job you are currently running on ci.rice/ci.kuali that needs to be updated/moved? Also, have you looked at maven-jmeter-graph-plugin? ( https://github.com/codecentric/jmeter-graph-maven-plugin ). I've included a sample jmeter script with configuration. ## sample jmeter script ## configuration APP_APACHE_JMETER='apache-jmeter-2.11' URL_TESTENV='http: //env15.rice.kuali.org/' JMETER_CMD='sh jmeter.sh' JMETER_CONFIG=' -Jjmeter.save.saveservice.output_format=xml -n -p user.properties -t' JMETER_JOBS_PATH='$WORKSPACE/rice/rice-framework/krad-sampleapp/web/src/test/resources/jmeter/' JMETER_JOB_SETTINGS=' -JVUSERS=1 -JENV=$URL_TESTENV -JRAMP=10 -JRUN=10' JMETER_HOME='$WORKSPACE/$APP_APACHE_JMETER' JMETER_REPORTS_PATH='$WORKSPACE/reports/' ## setup reports cd $WORKSPACE mkdir reports ## setup jmeter cd $WORKSPACE wget http: //archive.apache.org/dist/jmeter/binaries/$APP_APACHE_JMETER.tgz tar -xf $APP_APACHE_JMETER.tgz cd $APP_APACHE_JMETER/bin ## run jmeter job $JMETER_CMD $JMETER_CONFIG $JMETER_JOBS_PATH/test_case.jmx -l $JMETER_REPORTS_PATH/test_case.jtl $JMETER_JOB_SETTINGS
            Hide
            eghm-kuali-m Erik Meade added a comment -

            http://ci.rice.kuali.org/view/rice-2.4/job/rice-2.4-test-jmeter-env15-nightly/

            Nope we didn't know about maven-jmeter-graph-plugin thanks.

            Show
            eghm-kuali-m Erik Meade added a comment - http://ci.rice.kuali.org/view/rice-2.4/job/rice-2.4-test-jmeter-env15-nightly/ Nope we didn't know about maven-jmeter-graph-plugin thanks.
            Hide
            mztaylor Martin Taylor (Inactive) added a comment -

            I've updated the current job with commented out jmeter script changes. This will move over as part of https://jira.kuali.org/browse/KULRICE-12807

            Show
            mztaylor Martin Taylor (Inactive) added a comment - I've updated the current job with commented out jmeter script changes. This will move over as part of https://jira.kuali.org/browse/KULRICE-12807
            Show
            mztaylor Martin Taylor (Inactive) added a comment - https://ci.kuali.org/view/rice/view/2.4/view/list/job/rice-2.4-test-jmeter-env15-nightly/

              People

              • Assignee:
                mztaylor Martin Taylor (Inactive)
                Reporter:
                eghm-kuali-m Erik Meade
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified