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-1734959011941-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 [baba38a9-c12d-11ef-8750-060730329b56]
[baba38a9-c12d-11ef-8750-060730329b56] Atteso [200] ritornato [200]
[baba38a9-c12d-11ef-8750-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-1734959011941-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 [bb78588e-c12d-11ef-8750-060730329b56]
[bb78588e-c12d-11ef-8750-060730329b56] Atteso [200] ritornato [200]
[bb78588e-c12d-11ef-8750-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [bb6ebb9b-c12d-11ef-8750-060730329b56]
Trovato cache key [bb6ebb9b-c12d-11ef-8750-060730329b56]
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734959011941-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 [bccb1755-c12d-11ef-8750-060730329b56]
[bccb1755-c12d-11ef-8750-060730329b56] Atteso [200] ritornato [200]
[bccb1755-c12d-11ef-8750-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [bb6ebb9b-c12d-11ef-8750-060730329b56]
Terza invocazione, trovato cache key [bb6ebb9b-c12d-11ef-8750-060730329b56]