test_ConContenutoRichiesta_ConContenutoRispostaJSON
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.patch.RESTPDPatch took 1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PD.PATCH, REST.PD, REST.PD.PATCH.ConContenutoRichiesta_ConContenutoRispostaJSON, REST
Value | |
---|---|
Parameter #1 | application/x-json |
Parameter #2 | 403 |
Reporter Output
URL: http://localhost:8080/govway/api/out/APIMinisteroFruitore/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=403&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_1304&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_1305&destFileContentType=application/x-json&checkEqualsHttpMethod=PATCH
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, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [643687bc-a1e6-11ef-9e36-060730329b56]
[643687bc-a1e6-11ef-9e36-060730329b56] Atteso [403] ritornato [403]
[643687bc-a1e6-11ef-9e36-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_1305] e valore ritornato [TEST_RESPONSE_1305]