testResponseCachingRegolaDefault
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.response_caching.ResponseCachingPortaApplicativa took 3.2 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): ResponseCaching, ResponseCachingPortaApplicativa.REST, ResponseCachingPortaApplicativa.REST.regolaDefault, ResponseCachingPortaApplicativa
Value | |
---|---|
Parameter #1 | 200 |
Parameter #2 | false |
Parameter #3 | true |
Parameter #4 | -1 |
Reporter Output
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734800813584-171&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, GovWay-Service, ReturnCode, Server, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Version, GovWay-Provider, GovWay-Version-Info, Cache-Control, GovWay-Message-ID, Vary, Expires, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [66fe4a07-bfbd-11ef-b61e-060730329b56]
[66fe4a07-bfbd-11ef-b61e-060730329b56] Atteso [200] ritornato [200]
[66fe4a07-bfbd-11ef-b61e-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Non atteso header 'GovWay-CacheKey', non trovato
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734800813584-171&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, GovWay-Service, ReturnCode, Server, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Version, GovWay-Provider, GovWay-Version-Info, Cache-Control, GovWay-Message-ID, Vary, GovWay-CacheKey, Expires, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [6752848c-bfbd-11ef-b61e-060730329b56]
[6752848c-bfbd-11ef-b61e-060730329b56] Atteso [200] ritornato [200]
[6752848c-bfbd-11ef-b61e-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [6744c8e9-bfbd-11ef-b61e-060730329b56]
Trovato cache key [6744c8e9-bfbd-11ef-b61e-060730329b56]
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734800813584-171&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, GovWay-Service, ReturnCode, Server, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Version, GovWay-Provider, GovWay-Version-Info, Cache-Control, GovWay-Message-ID, Vary, GovWay-CacheKey, Expires, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [67f924d0-bfbd-11ef-b61e-060730329b56]
[67f924d0-bfbd-11ef-b61e-060730329b56] Atteso [200] ritornato [200]
[67f924d0-bfbd-11ef-b61e-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [6744c8e9-bfbd-11ef-b61e-060730329b56]
Terza invocazione, trovato cache key [6744c8e9-bfbd-11ef-b61e-060730329b56]