test_ConContenutoRichiesta_ConContenutoRispostaJSON
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.put.RESTPAPut took 1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PA.PUT, REST.PA, REST.PA.PUT.ConContenutoRichiesta_ConContenutoRispostaJSON, REST
Value | |
---|---|
Parameter #1 | text/x-json |
Parameter #2 | 403 |
Reporter Output
URL: http://localhost:8080/govway/api/in/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=403&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_2439&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_2440&destFileContentType=text/x-json&checkEqualsHttpMethod=PUT
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 [0d52d2b5-a399-11ef-8943-060730329b56]
[0d52d2b5-a399-11ef-8943-060730329b56] Atteso [403] ritornato [403]
[0d52d2b5-a399-11ef-8943-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_2440] e valore ritornato [TEST_RESPONSE_2440]