Class LoadPublisher

All Implemented Interfaces:
ExtensionPoint, Describable<Publisher>, BuildStep, SimpleBuildStep

public class LoadPublisher extends Notifier implements SimpleBuildStep
Runs a LoadFocus cloud load test and marks the build from its results. Freestyle: post-build action. Pipeline: LoadFocusStep (loadfocusLoadTest).
  • Constructor Details

    • LoadPublisher

      @DataBoundConstructor public LoadPublisher(String testId)
  • Method Details

    • requiresWorkspace

      public boolean requiresWorkspace()
      Specified by:
      requiresWorkspace in interface SimpleBuildStep
    • perform

      public void perform(@NonNull Run<?,?> run, @NonNull EnvVars env, @NonNull TaskListener listener) throws InterruptedException, IOException
      Specified by:
      perform in interface SimpleBuildStep
      Throws:
      InterruptedException
      IOException
    • getRequiredMonitorService

      public BuildStepMonitor getRequiredMonitorService()
      Specified by:
      getRequiredMonitorService in interface BuildStep
    • getApiKey

      public String getApiKey()
    • setApiKey

      @DataBoundSetter public void setApiKey(String apiKey)
    • getTestId

      public String getTestId()
    • setTestId

      public void setTestId(String testId)
    • getTestName

      @Deprecated public String getTestName()
      Deprecated.
    • getErrorFailedThreshold

      public Integer getErrorFailedThreshold()
    • setErrorFailedThreshold

      @DataBoundSetter public void setErrorFailedThreshold(Integer value)
    • getErrorUnstableThreshold

      public Integer getErrorUnstableThreshold()
    • setErrorUnstableThreshold

      @DataBoundSetter public void setErrorUnstableThreshold(Integer value)
    • getResponseTimeFailedThreshold

      public Integer getResponseTimeFailedThreshold()
    • setResponseTimeFailedThreshold

      @DataBoundSetter public void setResponseTimeFailedThreshold(Integer value)
    • getResponseTimeUnstableThreshold

      public Integer getResponseTimeUnstableThreshold()
    • setResponseTimeUnstableThreshold

      @DataBoundSetter public void setResponseTimeUnstableThreshold(Integer value)
    • 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)
    • readResolve

      protected Object readResolve()
      Builds saved before timeoutMinutes existed load it as 0.
    • getDescriptor

      Specified by:
      getDescriptor in interface Describable<Publisher>
      Overrides:
      getDescriptor in class Notifier