Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

Allows users to collect CA APM performance data and publish it in Jenkins and allows the users to publish build number, status etc into CA-APM APM Team Center(ATC)


Table of Contents

...

  1. Blazemeter

    To use BlazeMeter in pipeline syntax you need to have BlazeMeter Plugin

    Code Block
    pipeline {
     agent any
     stages {
        stage('Blazemeter'){
            steps{
                blazeMeterTest credentialsId:'a6c3ee90-e89a-4b8e-9fc2-ebd3d5d47e9b<credentials_id>',
                serverUrl:'https://blazemeter.ca.com',
                testId:'6279054<test_id>',
                notes:'',
                sessionProperties:'',
                jtlPath:'',
                junitPath:'',
                getJtl:false,
                getJunit:false
            }
        }
        stage('CAAPMPerformanceComparator'){ 
            steps{
                caapmplugin "${env.WORKSPACE}/properties/performance-comparator.properties"
            } 
        }
     }
    }
  2. Jmeter

    Sample pipeline scripts with jmeter.  Please refer the Configure LoadGenerator When Using JMeter

    Code Block
    pipeline {   
       agent any     
       stages {
    	stage('JMeter'){ 
    		steps{                        
    			bat "${JMETER_HOME}/bin/jmeter.bat -n -t ${JMX_FILE_PATH}/jmeter-jenkins-performance-plugin<jmx_file_name>.jmx -l ${env.WORKSPACE}/${BUILD_NUMBER}/jmeterOutput.csv"
                                   
            }
        }            
        stage('CAAPMPerformanceComparator'){ 
            steps{
                caapmplugin "${env.WORKSPACE}/properties/performance-comparator.properties"
            } 
        }
      }
    }

...