Class Performance.SetProperty

java.lang.Object
com.shaft.properties.internal.Performance.SetProperty
All Implemented Interfaces:
EngineProperties.SetProperty
Enclosing interface:
Performance

public static class Performance.SetProperty extends Object implements EngineProperties.SetProperty
  • Constructor Details

    • SetProperty

      public SetProperty()
  • Method Details

    • isEnabled

      public Performance.SetProperty isEnabled(boolean value)
    • port

      public Performance.SetProperty port(int value)
    • generatePerformanceReport

      public Performance.SetProperty generatePerformanceReport(boolean value)
    • apiEndpointPerformanceBudgets

      public Performance.SetProperty apiEndpointPerformanceBudgets(String value)
      Overrides comma-separated per-endpoint API p95 performance budgets in milliseconds.
      Parameters:
      value - budgets formatted as endpoint=millis,endpoint=millis
      Returns:
      self-reference for fluent property overrides
    • failOnApiPerformanceBudgetViolation

      public Performance.SetProperty failOnApiPerformanceBudgetViolation(boolean value)
      Overrides whether API p95 budget violations should fail the run.
      Parameters:
      value - true to fail the run on budget violations
      Returns:
      self-reference for fluent property overrides
    • browserActionPerformanceBudgets

      public Performance.SetProperty browserActionPerformanceBudgets(String value)
      Overrides comma-separated Playwright browser action p95 performance budgets in milliseconds.
      Parameters:
      value - budgets formatted as action=millis,action=millis
      Returns:
      self-reference for fluent property overrides
    • pageLoadPerformanceBudgets

      public Performance.SetProperty pageLoadPerformanceBudgets(String value)
      Overrides comma-separated Playwright page-load p95 performance budgets in milliseconds.
      Parameters:
      value - budgets formatted as page=millis,page=millis
      Returns:
      self-reference for fluent property overrides
    • failOnBrowserPerformanceBudgetViolation

      public Performance.SetProperty failOnBrowserPerformanceBudgetViolation(boolean value)
      Overrides whether browser budget violations should fail the run.
      Parameters:
      value - true to fail the run on budget violations
      Returns:
      self-reference for fluent property overrides