testCorrelazioneApplicativaQualsiasiMetodoRisposta
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.integrazione.RESTIntegrazionePortaDelegata took 0.37 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): RESTIntegrazionePortaDelegata, RESTIntegrazionePortaDelegata.testCorrelazioneApplicativaQualsiasiMetodoRisposta, Integrazione
Value | |
---|---|
Parameter #1 | POST |
Parameter #2 | /service/echo |
Parameter #3 | true |
Reporter Output
URL: http://localhost:8080/govway/api/out/EsempioCorrelazioneApplicativaQualsiasiMetodoRisposta/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_525&destFileContentType=application/json&checkEqualsHttpMethod=POST
Atteso [502] ritornato [502], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Transaction-ErrorType, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-888d9867-9204-11ef-a84f-060730329b56] Atteso [502] ritornato [502]
GovWay-Transaction-ErrorType='InvalidResponse'
GovWay-Transaction-ID='888d9867-9204-11ef-a84f-060730329b56'
Database transazioni, isTracetrue: isTraceEsito(27):true ...
URL: http://localhost:8080/govway/api/out/EsempioCorrelazioneApplicativaQualsiasiMetodoRisposta/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&correlazioneApplicativa=223242424_32323_ABDKD_233&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_527&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&destFileContentType=application/json&checkEqualsHttpMethod=POST
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [88b82ae5-9204-11ef-a84f-060730329b56]
[88b82ae5-9204-11ef-a84f-060730329b56] Atteso [200] ritornato [200]
[88b82ae5-9204-11ef-a84f-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
GovWay-Transaction-ErrorType='null'
GovWay-Transaction-ID='88b7dcc4-9204-11ef-a84f-060730329b56'
Database transazioni id=88b7dcc4-9204-11ef-a84f-060730329b56, isTrace:true, isTraceEsito(0):true ...
Database transazioni id=88b7dcc4-9204-11ef-a84f-060730329b56, existsCorrelazioneApplicativaRichiesta:false, isExpectedCorrelazioneApplicativaRichiesta:false ...
Database transazioni id=88b7dcc4-9204-11ef-a84f-060730329b56, existsCorrelazioneApplicativaRisposta:true, isExpectedCorrelazioneApplicativaRisposta:true ...