test_ConContenutoRichiesta_ConContenutoRispostaJSON
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.method.post.RESTPDPost took 1 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): REST.PD.POST.ConContenutoRichiesta_ConContenutoRispostaJSON, REST.PD, REST.PD.POST, REST
Value | |
---|---|
Parameter #1 | application/x-json |
Parameter #2 | 501 |
Reporter Output
URL: http://localhost:8080/govway/api/out/APIMinisteroFruitore/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=501&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_1870&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_1871&destFileContentType=application/x-json&checkEqualsHttpMethod=POST
Atteso [501] ritornato [501], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, 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 [1bfcbcae-a1e7-11ef-9e36-060730329b56]
[1bfcbcae-a1e7-11ef-9e36-060730329b56] Atteso [501] ritornato [501]
[1bfcbcae-a1e7-11ef-9e36-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_1871] e valore ritornato [TEST_RESPONSE_1871]