Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
ee.jakarta.tck.ws.rs.ee.rs.client.asyncinvoker.JAXRSClientIT
- Direct Known Subclasses:
JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends JaxrsCommonClient
-
Nested Class Summary
Nested classes/interfaces inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
JAXRSCommonClient.Fault, JAXRSCommonClient.Property, JAXRSCommonClient.Request
-
Field Summary
FieldsFields inherited from class ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
clients, isTestCaseAfterInvocation, testCase
Fields inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
_contextRoot, _generalURI, _hostname, _port, _redirect, _saveState, _servlet, _state, _testCase, _testName, _tsHome, _useSavedState, GET, GF_SUFFIX, GOLDENFILE, GOLDENFILEDIR, HTTP10, HTTP11, indent, newline, REQUEST, REQUEST_HEADERS, SEARCH_STRING, servletAdaptor, SERVLETHOSTPROP, SERVLETPORTPROP, SL, STATUS_CODE, TEST_PROPS, TESTDIR, TSHOME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
protected void
assertOkAndLog
(jakarta.ws.rs.core.Response response, jakarta.ws.rs.core.Response.Status status) protected void
protected void
protected void
checkFutureOkResponse
(Future<jakarta.ws.rs.core.Response> future) protected void
checkFutureOkResponseNoTime
(Future<jakarta.ws.rs.core.Response> future) protected void
checkFutureStatusResponseNoTime
(Future<jakarta.ws.rs.core.Response> future, jakarta.ws.rs.core.Response.Status status) protected void
checkFutureString
(Future<String> future, String expectedValue) protected void
protected void
protected jakarta.ws.rs.client.InvocationCallback<jakarta.ws.rs.core.Response>
createCallback
(boolean check) static org.jboss.shrinkwrap.api.spec.WebArchive
protected <T> jakarta.ws.rs.core.GenericType<T>
createGeneric
(Class<T> clazz) protected jakarta.ws.rs.client.InvocationCallback<String>
createStringCallback
(boolean check) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
getTest()
void
protected String
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
headTest()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
postTest()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
putTest()
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
protected void
protected void
sleep
(int millis) protected jakarta.ws.rs.client.AsyncInvoker
startAsyncInvokerForMethod
(String methodName) Create AsyncInvoker for given resource method and start timevoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
addHeader, addProvider, bufferEntity, buildRequest, buildRequest, cleanup, getMetadata, getProvidersToRegister, getResponse, getResponseBody, getResponseBody, getResponseHeaders, getResponseStatusCode, getTestCase, invoke, listToString, printClientCall, setAsynchronousProcessing, setPrintEntity, setProperty, setRequestContentEntity, setTestProperties, setTextCaser, setup, setWebTestCaseProperties, splitByColon
Methods inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
assertCause, assertContains, assertContains, assertContainsIgnoreCase, assertContainsIgnoreCase, assertEquals, assertEqualsBool, assertEqualsInt, assertEqualsLong, assertNotNull, assertNull, assertResponseBodyContain, assertResponseHeadersContain, buildAccept, buildContentType, buildHeaderMediaType, buildRequest10, clearProperty, clearTestProperties, createHttpRequest, editWebXmlString, fault, getAbsoluteUrl, getAbsoluteUrl, getContextRoot, getLocalInterfaceInfo, getServletName, getStatusCode, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setWebTestCaseProperties, setWebTestCaseRequest, toString
-
Field Details
-
millis
protected long millis -
callbackResult
protected int callbackResult -
callbackException
-
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
createDeployment
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException- Throws:
IOException
-
deleteTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteThrowsExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void deleteWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithGenericTypeThrowsProcessingExceptionTest
@Test public void deleteWithGenericTypeThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void deleteWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void deleteWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithCallbackStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
deleteWithCallbackStringThrowsProcessingExceptionTest
@Test public void deleteWithCallbackStringThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithCallbackStringThrowsWebApplicationExceptionTest
@Test public void deleteWithCallbackStringThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
deleteWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void deleteWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getTest
- Throws:
JAXRSCommonClient.Fault
-
getWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
getWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
getWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
getWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void getWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithGenericTypeThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
getWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void getWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void getWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithCallbackStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
getWithCallbackStringThrowsProcessingExceptionTest
@Test public void getWithCallbackStringThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getWithCallbackStringThrowsWebApplicationExceptionTest
@Test public void getWithCallbackStringThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void getWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
headTest
- Throws:
JAXRSCommonClient.Fault
-
headWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
headThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
headWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
headWithCallbackStringThrowsProcessingExceptionTest
@Test public void headWithCallbackStringThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodTest
- Throws:
JAXRSCommonClient.Fault
-
methodWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeThrowsProcessingExceptionTest
@Test public void methodWithGenericTypeThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void methodWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackThrowsWebApplicationExceptionTest
@Test public void methodWithCallbackThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithEntityWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithEntityThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithStringClassWithEntityWhileServerWaitTest
@Test public void methodWithStringClassWithEntityWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithResponseClassWithEntityWhileServerWaitTest
@Test public void methodWithResponseClassWithEntityWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithClassWithEntityThrowsProcessingExceptionTest
@Test public void methodWithClassWithEntityThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithClassWithEntityThrowsWebApplicationExceptionTest
@Test public void methodWithClassWithEntityThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithClassWithEntityThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithClassWithEntityThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeStringWithEntityWhileServerWaitTest
@Test public void methodWithGenericTypeStringWithEntityWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeResponseWithEntityWhileServerWaitTest
@Test public void methodWithGenericTypeResponseWithEntityWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeWithEntityThrowsProcessingExceptionTest
@Test public void methodWithGenericTypeWithEntityThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeWithEntityThrowsWebApplicationExceptionTest
@Test public void methodWithGenericTypeWithEntityThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithGenericTypeWithEntityThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithGenericTypeWithEntityThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackWithEntityWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackStringWithEntityWhileServerWaitTest
@Test public void methodWithCallbackStringWithEntityWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackWithEntityThrowsProcessingExceptionTest
@Test public void methodWithCallbackWithEntityThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackWithEntityThrowsWebApplicationExceptionTest
@Test public void methodWithCallbackWithEntityThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
methodWithCallbackWithEntityThrowsNoWebApplicationExceptionForResponseTest
@Test public void methodWithCallbackWithEntityThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithClassThrowsWebApplicationExceptionTest
@Test public void optionsWithClassThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void optionsWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithGenericTypeResponseWhileServerWaitTest
@Test public void optionsWithGenericTypeResponseWhileServerWaitTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithGenericTypeThrowsProcessingExceptionTest
@Test public void optionsWithGenericTypeThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void optionsWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void optionsWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithStringCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithCallbackThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
optionsWithCallbackThrowsWebApplicationExceptionTest
@Test public void optionsWithCallbackThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
optionsWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void optionsWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
postTest
- Throws:
JAXRSCommonClient.Fault
-
postWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
postWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
postWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
postWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void postWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
postWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postWithGenericTypeThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
postWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void postWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
postWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void postWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
postWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
postWithCallbackThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
postWithCallbackThrowsWebApplicationExceptionTest
@Test public void postWithCallbackThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
postWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void postWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
putTest
- Throws:
JAXRSCommonClient.Fault
-
putWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void putWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
putWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithGenericTypeThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void putWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
putWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void putWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
putWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithStringCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
putWithCallbackThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithCallbackThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
putWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void putWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceTest
- Throws:
JAXRSCommonClient.Fault
-
traceWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithStringClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithResponseClassWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithClassThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithClassThrowsWebApplicationExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithClassThrowsNoWebApplicationExceptionForResponseTest
@Test public void traceWithClassThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceWithGenericTypeStringWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithGenericTypeResponseWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithGenericTypeThrowsProcessingExceptionTest
@Test public void traceWithGenericTypeThrowsProcessingExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceWithGenericTypeThrowsWebApplicationExceptionTest
@Test public void traceWithGenericTypeThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest
@Test public void traceWithGenericTypeThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceWithCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithStringCallbackWhileServerWaitTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithCallbackThrowsProcessingExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
traceWithCallbackThrowsWebApplicationExceptionTest
@Test public void traceWithCallbackThrowsWebApplicationExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
traceWithCallbackThrowsNoWebApplicationExceptionForResponseTest
@Test public void traceWithCallbackThrowsNoWebApplicationExceptionForResponseTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getUrl
-
startAsyncInvokerForMethod
Create AsyncInvoker for given resource method and start time -
assertOkAndLog
protected void assertOkAndLog(jakarta.ws.rs.core.Response response, jakarta.ws.rs.core.Response.Status status) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
checkFutureOkResponseNoTime
protected void checkFutureOkResponseNoTime(Future<jakarta.ws.rs.core.Response> future) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
checkFutureStatusResponseNoTime
protected void checkFutureStatusResponseNoTime(Future<jakarta.ws.rs.core.Response> future, jakarta.ws.rs.core.Response.Status status) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
checkFutureOkResponse
protected void checkFutureOkResponse(Future<jakarta.ws.rs.core.Response> future) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
checkFutureString
protected void checkFutureString(Future<String> future, String expectedValue) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertExceptionWithWebApplicationExceptionIsThrownAndLog
protected void assertExceptionWithWebApplicationExceptionIsThrownAndLog(Future<?> future) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertExceptionWithProcessingExceptionIsThrownAndLog
protected void assertExceptionWithProcessingExceptionIsThrownAndLog(Future<?> future) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertProcessingExceptionIsCauseAndLog
protected void assertProcessingExceptionIsCauseAndLog(ExecutionException e) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertWebApplicationExceptionIsCauseAndLog
protected void assertWebApplicationExceptionIsCauseAndLog(ExecutionException e) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
sleep
- Throws:
JAXRSCommonClient.Fault
-
setStartTime
protected void setStartTime() -
checkMaxEndTime
- Throws:
JAXRSCommonClient.Fault
-
checkMinEndTime
- Throws:
JAXRSCommonClient.Fault
-
assertCallbackCall
- Throws:
JAXRSCommonClient.Fault
-
createGeneric
-
createCallback
protected jakarta.ws.rs.client.InvocationCallback<jakarta.ws.rs.core.Response> createCallback(boolean check) - Parameters:
check
- defines whether the test actually cares about methodsInvocationCallback.completed(Object)
andInvocationCallback.failed(Throwable)
being called- Returns:
-
createStringCallback
-