Class Z2JupiterClient
java.lang.Object
com.zfabrik.dev.z2jupiter.internal.client.Z2JupiterClient
Z2 Jupiter remote client. Processes requests for test discovery and test plan execution.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondiscover(Z2JupiterLauncherDiscoveryRequestDto discoverRequest)
void
execute(String id, Consumer<Z2JupiterListenerEventDto> l)
Execute the test plan with the given id, previously discovered viadiscover(Z2JupiterLauncherDiscoveryRequestDto)
.
-
Field Details
-
ENV_VAR_Z2_JUPITER_URL
- See Also:
- Constant Field Values
-
SYSPROP_Z2JUPITER_URL
- See Also:
- Constant Field Values
-
ENV_VAR_Z2_JUPITER_USER
- See Also:
- Constant Field Values
-
SYSPROP_Z2JUPITER_USER
- See Also:
- Constant Field Values
-
ENV_VAR_Z2_JUPITER_PASSWORD
- See Also:
- Constant Field Values
-
SYSPROP_Z2JUPITER_PASSWORD
- See Also:
- Constant Field Values
-
APPLICATION_OCTET_STREAM
- See Also:
- Constant Field Values
-
CALL_DISCOVER
- See Also:
- Constant Field Values
-
CALL_EXECUTE
- See Also:
- Constant Field Values
-
CALL_RUN
- See Also:
- Constant Field Values
-
HEADER_CONTENT_TYPE
- See Also:
- Constant Field Values
-
PARAM_COMPONENT_NAME
- See Also:
- Constant Field Values
-
PARAM_TEST_PLAN_ID
- See Also:
- Constant Field Values
-
HTTP_METHOD_POST
- See Also:
- Constant Field Values
-
HTTP_METHOD_GET
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Z2JupiterClient
-
-
Method Details
-
discover
-
execute
Execute the test plan with the given id, previously discovered viadiscover(Z2JupiterLauncherDiscoveryRequestDto)
. We pass all events back to a consumer ofZ2JupiterListenerEventDto
. It is up to the client to turn this into calls toTestExecutionListener
.
-