testResponseCachingRegolaDefault
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.response_caching.ResponseCachingPortaApplicativa took 3.3 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-1731324690679-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 [eb973454-a01f-11ef-88e3-060730329b56]
[eb973454-a01f-11ef-88e3-060730329b56] Atteso [200] ritornato [200]
[eb973454-a01f-11ef-88e3-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-1731324690679-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 [ec48aa09-a01f-11ef-88e3-060730329b56]
[ec48aa09-a01f-11ef-88e3-060730329b56] Atteso [200] ritornato [200]
[ec48aa09-a01f-11ef-88e3-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [ec3e49c6-a01f-11ef-88e3-060730329b56]
Trovato cache key [ec3e49c6-a01f-11ef-88e3-060730329b56]
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1731324690679-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 [ecf4a17d-a01f-11ef-88e3-060730329b56]
[ecf4a17d-a01f-11ef-88e3-060730329b56] Atteso [200] ritornato [200]
[ecf4a17d-a01f-11ef-88e3-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [ec3e49c6-a01f-11ef-88e3-060730329b56]
Terza invocazione, trovato cache key [ec3e49c6-a01f-11ef-88e3-060730329b56]