Class Performance.SetProperty
java.lang.Object
com.shaft.properties.internal.Performance.SetProperty
- All Implemented Interfaces:
EngineProperties.SetProperty
- Enclosing interface:
Performance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOverrides comma-separated per-endpoint API p95 performance budgets in milliseconds.Overrides comma-separated Playwright browser action p95 performance budgets in milliseconds.failOnApiPerformanceBudgetViolation(boolean value) Overrides whether API p95 budget violations should fail the run.failOnBrowserPerformanceBudgetViolation(boolean value) Overrides whether browser budget violations should fail the run.generatePerformanceReport(boolean value) isEnabled(boolean value) pageLoadPerformanceBudgets(String value) Overrides comma-separated Playwright page-load p95 performance budgets in milliseconds.port(int value) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EngineProperties.SetProperty
logPropertyUpdate
-
Constructor Details
-
SetProperty
public SetProperty()
-
-
Method Details
-
isEnabled
-
port
-
generatePerformanceReport
-
apiEndpointPerformanceBudgets
Overrides comma-separated per-endpoint API p95 performance budgets in milliseconds.- Parameters:
value- budgets formatted asendpoint=millis,endpoint=millis- Returns:
- self-reference for fluent property overrides
-
failOnApiPerformanceBudgetViolation
Overrides whether API p95 budget violations should fail the run.- Parameters:
value-trueto fail the run on budget violations- Returns:
- self-reference for fluent property overrides
-
browserActionPerformanceBudgets
Overrides comma-separated Playwright browser action p95 performance budgets in milliseconds.- Parameters:
value- budgets formatted asaction=millis,action=millis- Returns:
- self-reference for fluent property overrides
-
pageLoadPerformanceBudgets
Overrides comma-separated Playwright page-load p95 performance budgets in milliseconds.- Parameters:
value- budgets formatted aspage=millis,page=millis- Returns:
- self-reference for fluent property overrides
-
failOnBrowserPerformanceBudgetViolation
Overrides whether browser budget violations should fail the run.- Parameters:
value-trueto fail the run on budget violations- Returns:
- self-reference for fluent property overrides
-