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-1730997439397-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 [fa6183b4-9d25-11ef-9b0d-060730329b56]
[fa6183b4-9d25-11ef-9b0d-060730329b56] Atteso [200] ritornato [200]
[fa6183b4-9d25-11ef-9b0d-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-1730997439397-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 [fb1bfa19-9d25-11ef-9b0d-060730329b56]
[fb1bfa19-9d25-11ef-9b0d-060730329b56] Atteso [200] ritornato [200]
[fb1bfa19-9d25-11ef-9b0d-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [fa6aab76-9d25-11ef-9b0d-060730329b56]
Trovato cache key [fa6aab76-9d25-11ef-9b0d-060730329b56]
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1730997439397-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 [fbd781ee-9d25-11ef-9b0d-060730329b56]
[fbd781ee-9d25-11ef-9b0d-060730329b56] Atteso [200] ritornato [200]
[fbd781ee-9d25-11ef-9b0d-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [fa6aab76-9d25-11ef-9b0d-060730329b56]
Terza invocazione, trovato cache key [fa6aab76-9d25-11ef-9b0d-060730329b56]