test_SenzaContenutoRichiesta_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, REST.PD.POST, REST, REST.PD.POST.SenzaContenutoRichiesta_ConContenutoRispostaJSON
Value | |
---|---|
Parameter #1 | application/json |
Parameter #2 | 400 |
Reporter Output
URL: http://localhost:8080/govway/api/out/APIMinisteroFruitore/APIMinisteroErogatore/RESTAPI/service/echo?returnCode=400&destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_2166&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_2167&destFileContentType=application/json&checkEqualsHttpMethod=POST
Atteso [400] ritornato [400], 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 [19436b86-c050-11ef-a484-060730329b56]
[19436b86-c050-11ef-a484-060730329b56] Atteso [400] ritornato [400]
[19436b86-c050-11ef-a484-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_2167] e valore ritornato [TEST_RESPONSE_2167]