Class to work with performance test report.
def rpt = new PerformanceTestReport(this) rpt.generateCpuChart(testReport)
Constructor and description |
---|
PerformanceTestReport
(java.lang.Object steps) Constructs the class. |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.Map |
generateCpuChartForOneTest(java.lang.Object testReport) Generate CPU Time Chart |
|
void |
generateCpuChartHtmlReport(java.lang.Object reportFile) Generate CPU Time Chart |
|
java.lang.String |
getSanitizedTestName(java.lang.Object testReport) Return sanitized test name |
|
void |
updatePlot(java.lang.Object reportFile) Update plot |
|
void |
updatePlotForOneTest(java.lang.Object testReport) Update plot CSV for one test |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Reports folder to store html report
'reports'
Reference to the groovy pipeline variable.
Constructs the class.
When invoking from a Jenkins pipeline script, the Pipeline must be passed the current environment of the Jenkinsfile to have access to the steps.
def o = new PerformanceTestReport(this)
steps
- The workflow steps object provided by the Jenkins pipelineGenerate CPU Time Chart
testReport
- test report object of one testGenerate CPU Time Chart
reportFile
- report yaml fileReturn sanitized test name
testReport
- test report object of one testUpdate plot
reportFile
- report yaml fileUpdate plot CSV for one test
testReport
- test report object of one testGroovy Documentation