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:
  • Constructor Details

    • JMeterLoadTestStep

      @DataBoundConstructor public JMeterLoadTestStep(String testId)
  • Method Details

    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
    • getTestId

      public String getTestId()
    • getCredentialsId

      public String getCredentialsId()
    • setCredentialsId

      @DataBoundSetter public void setCredentialsId(String credentialsId)
    • getErrorFailedThreshold

      public Integer getErrorFailedThreshold()
    • setErrorFailedThreshold

      @DataBoundSetter public void setErrorFailedThreshold(Integer v)
    • getErrorUnstableThreshold

      public Integer getErrorUnstableThreshold()
    • setErrorUnstableThreshold

      @DataBoundSetter public void setErrorUnstableThreshold(Integer v)
    • getResponseTimeFailedThreshold

      public Integer getResponseTimeFailedThreshold()
    • setResponseTimeFailedThreshold

      @DataBoundSetter public void setResponseTimeFailedThreshold(Integer v)
    • getResponseTimeUnstableThreshold

      public Integer getResponseTimeUnstableThreshold()
    • setResponseTimeUnstableThreshold

      @DataBoundSetter public void setResponseTimeUnstableThreshold(Integer v)
    • isUseVerdict

      public boolean isUseVerdict()
    • setUseVerdict

      @DataBoundSetter public void setUseVerdict(boolean useVerdict)
    • getTimeoutMinutes

      public int getTimeoutMinutes()
    • setTimeoutMinutes

      @DataBoundSetter public void setTimeoutMinutes(int timeoutMinutes)
    • isShareReport

      public boolean isShareReport()
    • setShareReport

      @DataBoundSetter public void setShareReport(boolean shareReport)
    • isTagRun

      public boolean isTagRun()
    • setTagRun

      @DataBoundSetter public void setTagRun(boolean tagRun)
    • getReleaseTag

      public String getReleaseTag()
    • setReleaseTag

      @DataBoundSetter public void setReleaseTag(String releaseTag)
    • getP95Ms

      public Integer getP95Ms()
    • setP95Ms

      @DataBoundSetter public void setP95Ms(Integer p95Ms)
    • getP99Ms

      public Integer getP99Ms()
    • setP99Ms

      @DataBoundSetter public void setP99Ms(Integer p99Ms)
    • getErrorRatePct

      public Double getErrorRatePct()
    • setErrorRatePct

      @DataBoundSetter public void setErrorRatePct(Double errorRatePct)
    • getMinRps

      public Double getMinRps()
    • setMinRps

      @DataBoundSetter public void setMinRps(Double minRps)