Package com.loadfocus.jenkins.jmeter
Class JMeterLoadTestStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
com.loadfocus.jenkins.jmeter.JMeterLoadTestStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>,Serializable
public class JMeterLoadTestStep
extends org.jenkinsci.plugins.workflow.steps.Step
implements Serializable
Pipeline step
loadfocusJMeterTest: runs a LoadFocus JMeter load test in the cloud and returns
[testrunname, testrunid, result, verdict, reportUrl, metrics]. Fails the step on FAILURE,
marks build and stage UNSTABLE on UNSTABLE. Same options as the Freestyle post-build action.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetP95Ms()getP99Ms()intbooleanbooleanisTagRun()booleanvoidsetCredentialsId(String credentialsId) voidvoidsetErrorRatePct(Double errorRatePct) voidvoidvoidvoidvoidsetReleaseTag(String releaseTag) voidvoidvoidsetShareReport(boolean shareReport) voidsetTagRun(boolean tagRun) voidsetTimeoutMinutes(int timeoutMinutes) voidsetUseVerdict(boolean useVerdict) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
JMeterLoadTestStep
-
-
Method Details
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) - Specified by:
startin classorg.jenkinsci.plugins.workflow.steps.Step
-
getTestId
-
getCredentialsId
-
setCredentialsId
-
getErrorFailedThreshold
-
setErrorFailedThreshold
-
getErrorUnstableThreshold
-
setErrorUnstableThreshold
-
getResponseTimeFailedThreshold
-
setResponseTimeFailedThreshold
-
getResponseTimeUnstableThreshold
-
setResponseTimeUnstableThreshold
-
isUseVerdict
public boolean isUseVerdict() -
setUseVerdict
@DataBoundSetter public void setUseVerdict(boolean useVerdict) -
getTimeoutMinutes
public int getTimeoutMinutes() -
setTimeoutMinutes
@DataBoundSetter public void setTimeoutMinutes(int timeoutMinutes) -
isTagRun
public boolean isTagRun() -
setTagRun
@DataBoundSetter public void setTagRun(boolean tagRun) -
getReleaseTag
-
setReleaseTag
-
getP95Ms
-
setP95Ms
-
getP99Ms
-
setP99Ms
-
getErrorRatePct
-
setErrorRatePct
-
getMinRps
-
setMinRps
-