Skip to content

testResponseCachingNoStore

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

PASS

Test Name: Ant test
Suite Name: Ant suite

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

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-1754333978090-382&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Content-Type, GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, GovWay-TestSuite, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, GovWay-Sender-Type, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [90e21852-7164-11f0-8b4f-06c6c98a384d]
[90e21852-7164-11f0-8b4f-06c6c98a384d] Atteso [200] ritornato [200]
[90e21852-7164-11f0-8b4f-06c6c98a384d] 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-1754333978090-382&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Content-Type, GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, GovWay-TestSuite, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, GovWay-Sender-Type, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [91a2d048-7164-11f0-8b4f-06c6c98a384d]
[91a2d048-7164-11f0-8b4f-06c6c98a384d] Atteso [200] ritornato [200]
[91a2d048-7164-11f0-8b4f-06c6c98a384d] 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-1754333978090-382&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Content-Type, GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, GovWay-TestSuite, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-TestSuite-Description, GovWay-Sender-Type, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [91ad7eac-7164-11f0-8b4f-06c6c98a384d]
[91ad7eac-7164-11f0-8b4f-06c6c98a384d] Atteso [200] ritornato [200]
[91ad7eac-7164-11f0-8b4f-06c6c98a384d] 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-1754333978090-382&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Content-Type, GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, GovWay-TestSuite, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-CacheKey, GovWay-TestSuite-Description, GovWay-Sender-Type, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [924f15e1-7164-11f0-8b4f-06c6c98a384d]
[924f15e1-7164-11f0-8b4f-06c6c98a384d] Atteso [200] ritornato [200]
[924f15e1-7164-11f0-8b4f-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [92448e8d-7164-11f0-8b4f-06c6c98a384d]
Trovato cache key [92448e8d-7164-11f0-8b4f-06c6c98a384d]
URL: http://localhost:8080/govway/api/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1754333978090-382&destFileContentType=application/json&checkEqualsHttpMethod=GET
Atteso [200] ritornato [200], raccolgo id ...
Headers: ([GovWay-Service, Server, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Content-Type, GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, GovWay-Action, X-Content-Type-Options, GovWay-Service-Version, GovWay-TestSuite, Connection, Pragma, GovWay-Service-Type, Date, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-CacheKey, GovWay-TestSuite-Description, GovWay-Sender-Type, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [92ecb575-7164-11f0-8b4f-06c6c98a384d]
[92ecb575-7164-11f0-8b4f-06c6c98a384d] Atteso [200] ritornato [200]
[92ecb575-7164-11f0-8b4f-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [92448e8d-7164-11f0-8b4f-06c6c98a384d]
Terza invocazione, trovato cache key [92448e8d-7164-11f0-8b4f-06c6c98a384d]