Annotation Interface WebClient
Inject web client (derived from
ClientSupport) into test field.
@WebClient ClientSupport client@WebClient(APP) TestClient app- same asclient.appClient()@WebClient(ADMIN) TestClient admin- same asclient.adminClient()@WebClient(REST) TestClient rest- same asclient.restClient()
- Since:
- 15.10.2025
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanReset client defaults after each test method.
-
Element Details
-
value
WebClientType value- Returns:
- client type (default for root object and other for specific clients)
- Default:
- Support
-
autoReset
boolean autoResetReset client defaults after each test method. Enabled by default.- Returns:
- false to disable defaults reset
- Default:
- true
-