testCorrelazioneApplicativaPuntuale
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.integrazione.RESTIntegrazionePortaApplicativa took 0.33 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): RESTIntegrazionePortaApplicativa.testCorrelazioneApplicativaPuntuale, RESTIntegrazionePortaApplicativa, Integrazione
Value | |
---|---|
Parameter #1 | POST |
Parameter #2 | /service/echo |
Parameter #3 | true |
Reporter Output
URL: http://localhost:8080/govway/api/in/EsempioCorrelazioneApplicativaPuntuale/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_209&destFileContentType=application/json&checkEqualsHttpMethod=POST
Atteso [400] ritornato [400], raccolgo id ...
Headers: ([Transfer-Encoding, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-01da47b0-a1f0-11ef-9e36-060730329b56] Atteso [400] ritornato [400]
GovWay-Transaction-ErrorType='ApplicationCorrelationIdentificationRequestFailed'
GovWay-Transaction-ID='01da47b0-a1f0-11ef-9e36-060730329b56'
Database transazioni, isTracetrue: isTraceEsito(26):true ...
URL: http://localhost:8080/govway/api/in/EsempioCorrelazioneApplicativaPuntuale/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&correlazioneApplicativa=223242424_32323_ABDKD_233&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_211&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&destFileContentType=application/json&checkEqualsHttpMethod=POST
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Application-Message-ID, 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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [030c5f1d-a1f0-11ef-9e36-060730329b56]
[030c5f1d-a1f0-11ef-9e36-060730329b56] Atteso [200] ritornato [200]
[030c5f1d-a1f0-11ef-9e36-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
GovWay-Transaction-ErrorType='null'
GovWay-Transaction-ID='030b74bc-a1f0-11ef-9e36-060730329b56'
Database transazioni id=030b74bc-a1f0-11ef-9e36-060730329b56, isTrace:true, isTraceEsito(0):true ...
Database transazioni id=030b74bc-a1f0-11ef-9e36-060730329b56, existsCorrelazioneApplicativaRichiesta:true, isExpectedCorrelazioneApplicativaRichiesta:true ...
Database transazioni id=030b74bc-a1f0-11ef-9e36-060730329b56, existsCorrelazioneApplicativaRisposta:false, isExpectedCorrelazioneApplicativaRisposta:false ...