[ 
https://issues.apache.org/jira/browse/CXF-8478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andriy Redko resolved CXF-8478.
-------------------------------
    Resolution: Fixed

> jaxrs.ee.rs.container.requestcontext setRequestUriTwoUrisTest 
> --------------------------------------------------------------
>
>                 Key: CXF-8478
>                 URL: https://issues.apache.org/jira/browse/CXF-8478
>             Project: CXF
>          Issue Type: Sub-task
>    Affects Versions: 3.4.3
>            Reporter: David Blevins
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.0, 3.6.0, 3.5.3, 3.4.8
>
>         Attachments: 
> JAXRSClient_setRequestUriTwoUrisTest_from_standalone.jtr, javatest.log, 
> test.txt
>
>
> Full test name:
> {code}
> com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/JAXRSClient#setRequestUriTwoUrisTest_from_standalone
> {code}
> Running it locally:
> {code}
> git clone g...@github.com:tckwork/cxf.git
> cd cxf
> ./runtests 
> com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/JAXRSClient#setRequestUriTwoUrisTest_from_standalone
> {code}
> At the time this issue was filed, the test failed with the following output.
> {code}
> [javatest.batch] 04-15-2021 21:33:49:  TRACE: [WIRE] - << X-Powered-By: 
> Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  5.1.0  Java/Oracle 
> Corporation/1.8)
> [javatest.batch] 04-15-2021 21:33:49:  TRACE: [WIRE] - << 
> http://localhost:888/otherbase/base/resource/sub;SETREQUESTURI2
> [javatest.batch] 04-15-2021 21:33:49:  ERROR: [WebValidatorBase] Unable to 
> find the following search string in the server's response: 
> 'http://xx.yy:888/base/resource/sub' at index: 0
> [javatest.batch] [WebValidatorBase] Server's response:
> [javatest.batch] -------------------------------------------
> [javatest.batch] 
> http://localhost:888/otherbase/base/resource/sub;SETREQUESTURI2
> [javatest.batch] -------------------------------------------
> [javatest.batch] 
> [javatest.batch] 04-15-2021 21:33:49:  ERROR: Test case throws exception: 
> [JAXRSCommonClient] null failed! Check output for cause of failure.
> [javatest.batch] 04-15-2021 21:33:49:  ERROR: Exception at:  
> [javatest.batch] 04-15-2021 21:33:49:  ERROR: 
> com.sun.ts.tests.common.webclient.TestFailureException: Test FAILED!
> [javatest.batch]      at 
> com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:219)
> [javatest.batch]      at 
> com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.invoke(JaxrsCommonClient.java:210)
> [javatest.batch]      at 
> com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.JAXRSClient.invokeRequestAndCheckResponse(JAXRSClient.java:740)
> [javatest.batch]      at 
> com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.JAXRSClient.invokeRequestAndCheckResponse(JAXRSClient.java:729)
> [javatest.batch]      at 
> com.sun.ts.tests.jaxrs.ee.rs.container.requestcontext.JAXRSClient.setRequestUriTwoUrisTest(JAXRSClient.java:706)
> [javatest.batch]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
> Method)
> [javatest.batch]      at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [javatest.batch]      at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [javatest.batch]      at java.lang.reflect.Method.invoke(Method.java:498)
> [javatest.batch]      at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
> [javatest.batch]      at 
> com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
> [javatest.batch]      at 
> com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
> [javatest.batch]      at 
> com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
> [javatest.batch]      at 
> com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
> [javatest.batch]      at 
> com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
> [javatest.batch]      at com.sun.ts.lib.harness.EETest.run(EETest.java:285)
> [javatest.batch]      at 
> com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38)
> [javatest.batch] 
> [javatest.batch] 04-15-2021 21:33:49:  [JAXRSCommonClient] Test cleanup OK
> [javatest.batch] STATUS:Failed.Test case throws exception: 
> [JAXRSCommonClient] null failed! Check output for cause of failure.
> [javatest.batch] Apr 15, 2021 9:33:50 PM Finished executing all tests, wait 
> for cleanup...
> [javatest.batch] Apr 15, 2021 9:33:50 PM Harness done with cleanup from test 
> run.
> [javatest.batch] Failed. Test case throws exception: [JAXRSCommonClient] null 
> failed! Check output for cause of failure.
> [javatest.batch] 
> ********************************************************************************
> [javatest.batch] Finished Test:  
> FAILED........com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/JAXRSClient.java#setRequestUriTwoUrisTest_from_standalone
> {code}
> See the attached javatest.log and jtr file for full test details



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to