test_SenzaContenutoRichiesta_ConContenutoRispostaJSON
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.post.RESTPAPost took 1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PA.POST.SenzaContenutoRichiesta_ConContenutoRispostaJSON, REST.PA, REST.PA.POST, REST
Value | |
---|---|
Parameter #1 | application/x-json |
Parameter #2 | 500 |
Reporter Output
URL: http://localhost:8080/govway/api/in/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=500&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_2201&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_2202&destFileContentType=application/x-json&checkEqualsHttpMethod=POST
Atteso [500] ritornato [500], 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 [bf258c3b-a398-11ef-8943-060730329b56]
[bf258c3b-a398-11ef-8943-060730329b56] Atteso [500] ritornato [500]
[bf258c3b-a398-11ef-8943-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_2202] e valore ritornato [TEST_RESPONSE_2202]