test_SenzaContenutoRichiesta_SenzaContenutoRispostaJSON
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.override.RESTPAMethodOverride took 1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PA.METHOD_OVERRIDE, REST.PA, REST.PA.METHOD_OVERRIDE.SenzaContenutoRichiesta_SenzaContenutoRispostaJSON, REST
Value | |
---|---|
Parameter #1 | text/json |
Parameter #2 | 400 |
Reporter Output
URL: http://localhost:8080/govway/api/in/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=400&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=X-HTTP-Method-Override:PUT&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_1207&destFileContentType=text/json&checkEqualsHttpMethod=POST
Atteso [400] ritornato [400], raccolgo id ...
Headers: ([Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, GovWay-Service, ReturnCode, Server, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Version, GovWay-Provider, GovWay-Version-Info, Cache-Control, GovWay-Message-ID, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, Content-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [8281fa0a-a1ea-11ef-9e36-060730329b56]
[8281fa0a-a1ea-11ef-9e36-060730329b56] Atteso [400] ritornato [400]
[8281fa0a-a1ea-11ef-9e36-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_1207] e valore ritornato [TEST_RESPONSE_1207]