test_ConContenutoRichiesta_ConContenutoRispostaXML
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.override.RESTPAMethodOverride took 1.1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PA.METHOD_OVERRIDE.ConContenutoRichiesta_ConContenutoRispostaXML, REST.PA.METHOD_OVERRIDE, REST.PA, REST
Value | |
---|---|
Parameter #1 | text/xml |
Parameter #2 | 403 |
Reporter Output
URL: http://localhost:8080/govway/api/in/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=403&destFile=/etc/govway/testfiles/restError.xml&checkEqualsHttpHeader=X-HTTP-Method-Override:PUT&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_1001&destFileContentType=text/xml&checkEqualsHttpMethod=POST
Atteso [403] ritornato [403], 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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [e15aaaa8-6cc4-11ef-82e3-060730329b56]
[e15aaaa8-6cc4-11ef-82e3-060730329b56] Atteso [403] ritornato [403]
[e15aaaa8-6cc4-11ef-82e3-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_1001] e valore ritornato [TEST_RESPONSE_1001]