Skip to content

testResponseCachingNoCache

(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.response_caching.ResponseCachingPortaDelegata took 6.4 sec)

PASS

Test Name: Ant test
Suite Name: Ant suite

Group(s): ResponseCachingPortaDelegata.REST.noCache, ResponseCaching, ResponseCachingPortaDelegata, ResponseCachingPortaDelegata.REST

Value
Parameter #1Cache-Control
Parameter #2no-cache, no-store, must-revalidate


[Method Execution Trend Chart]

Reporter Output

URL: http://localhost:8080/govway/api/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [dd36053f-c056-11ef-a484-060730329b56]
[dd36053f-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[dd36053f-c056-11ef-a484-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/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [ddc2b4e3-c056-11ef-a484-060730329b56]
[ddc2b4e3-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[ddc2b4e3-c056-11ef-a484-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/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [ddd63ce7-c056-11ef-a484-060730329b56]
[ddd63ce7-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[ddd63ce7-c056-11ef-a484-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/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [de73192b-c056-11ef-a484-060730329b56]
[de73192b-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[de73192b-c056-11ef-a484-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/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, GovWay-CacheKey, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [df2d1a62-c056-11ef-a484-060730329b56]
[df2d1a62-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[df2d1a62-c056-11ef-a484-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [de74038c-c056-11ef-a484-060730329b56]
Trovato cache key [de74038c-c056-11ef-a484-060730329b56]
URL: http://localhost:8080/govway/api/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1734866737953-334&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Version, GovWay-Provider, GovWay-Version-Info, GovWay-Message-ID, Content-Type, Keep-Alive, Transfer-Encoding, GovWay-Provider-Type, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-TestSuite, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, GovWay-CacheKey, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [dfb1b3b6-c056-11ef-a484-060730329b56]
[dfb1b3b6-c056-11ef-a484-060730329b56] Atteso [200] ritornato [200]
[dfb1b3b6-c056-11ef-a484-060730329b56] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [de74038c-c056-11ef-a484-060730329b56]
Terza invocazione, trovato cache key [de74038c-c056-11ef-a484-060730329b56]