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-1728463754280-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 [c929dc59-861a-11ef-8bb5-060730329b56]
[c929dc59-861a-11ef-8bb5-060730329b56] Atteso [200] ritornato [200]
[c929dc59-861a-11ef-8bb5-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-1728463754280-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 [c9e8bf90-861a-11ef-8bb5-060730329b56]
[c9e8bf90-861a-11ef-8bb5-060730329b56] Atteso [200] ritornato [200]
[c9e8bf90-861a-11ef-8bb5-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [c92e703b-861a-11ef-8bb5-060730329b56]
Trovato cache key [c92e703b-861a-11ef-8bb5-060730329b56]
URL: http://localhost:8080/govway/api/in/ResponseCachingRegolaDefault/service/ping?returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1728463754280-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 [caa11314-861a-11ef-8bb5-060730329b56]
[caa11314-861a-11ef-8bb5-060730329b56] Atteso [200] ritornato [200]
[caa11314-861a-11ef-8bb5-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [c92e703b-861a-11ef-8bb5-060730329b56]
Terza invocazione, trovato cache key [c92e703b-861a-11ef-8bb5-060730329b56]