Skip to content

testResponseCachingNoStore

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

PASS

Test Name: Ant test
Suite Name: Ant suite

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

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


[Method Execution Trend Chart]

Reporter Output

URL: http://localhost:8080/govway/api/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1759658203669-123&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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [0e6b123f-a1d1-11f0-bcb6-06c6c98a384d]
[0e6b123f-a1d1-11f0-bcb6-06c6c98a384d] Atteso [200] ritornato [200]
[0e6b123f-a1d1-11f0-bcb6-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/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1759658203669-123&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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [0f0cf793-a1d1-11f0-bcb6-06c6c98a384d]
[0f0cf793-a1d1-11f0-bcb6-06c6c98a384d] Atteso [200] ritornato [200]
[0f0cf793-a1d1-11f0-bcb6-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/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1759658203669-123&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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [0fb08a97-a1d1-11f0-bcb6-06c6c98a384d]
[0fb08a97-a1d1-11f0-bcb6-06c6c98a384d] Atteso [200] ritornato [200]
[0fb08a97-a1d1-11f0-bcb6-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/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1759658203669-123&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, Vary, Expires, GovWay-CacheKey, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [105507fc-a1d1-11f0-bcb6-06c6c98a384d]
[105507fc-a1d1-11f0-bcb6-06c6c98a384d] Atteso [200] ritornato [200]
[105507fc-a1d1-11f0-bcb6-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [0fb804a9-a1d1-11f0-bcb6-06c6c98a384d]
Trovato cache key [0fb804a9-a1d1-11f0-bcb6-06c6c98a384d]
URL: http://localhost:8080/govway/api/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1759658203669-123&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, Vary, Expires, GovWay-CacheKey, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [10f6ed50-a1d1-11f0-bcb6-06c6c98a384d]
[10f6ed50-a1d1-11f0-bcb6-06c6c98a384d] Atteso [200] ritornato [200]
[10f6ed50-a1d1-11f0-bcb6-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [0fb804a9-a1d1-11f0-bcb6-06c6c98a384d]
Terza invocazione, trovato cache key [0fb804a9-a1d1-11f0-bcb6-06c6c98a384d]