testResponseCachingNoCache
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.response_caching.ResponseCachingPortaApplicativa took 6.3 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): ResponseCaching, ResponseCachingPortaApplicativa.REST, ResponseCachingPortaApplicativa.REST.noCache, ResponseCachingPortaApplicativa
| Value | |
|---|---|
| Parameter #1 | Cache-Control |
| Parameter #2 | no-cache, no-store, must-revalidate |
Reporter Output
URL: http://localhost:8080/govway/api/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1760212600377-75&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 [e78ab12a-a6db-11f0-9dcc-06c6c98a384d]
[e78ab12a-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[e78ab12a-a6db-11f0-9dcc-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-1760212600377-75&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 [e7c3746e-a6db-11f0-9dcc-06c6c98a384d]
[e7c3746e-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[e7c3746e-a6db-11f0-9dcc-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-1760212600377-75&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 [e83940b2-a6db-11f0-9dcc-06c6c98a384d]
[e83940b2-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[e83940b2-a6db-11f0-9dcc-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-1760212600377-75&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 [e8d336c6-a6db-11f0-9dcc-06c6c98a384d]
[e8d336c6-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[e8d336c6-a6db-11f0-9dcc-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-1760212600377-75&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 [e977b42b-a6db-11f0-9dcc-06c6c98a384d]
[e977b42b-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[e977b42b-a6db-11f0-9dcc-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [e8dc3778-a6db-11f0-9dcc-06c6c98a384d]
Trovato cache key [e8dc3778-a6db-11f0-9dcc-06c6c98a384d]
URL: http://localhost:8080/govway/api/in/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1760212600377-75&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 [ea194b5f-a6db-11f0-9dcc-06c6c98a384d]
[ea194b5f-a6db-11f0-9dcc-06c6c98a384d] Atteso [200] ritornato [200]
[ea194b5f-a6db-11f0-9dcc-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [e8dc3778-a6db-11f0-9dcc-06c6c98a384d]
Terza invocazione, trovato cache key [e8dc3778-a6db-11f0-9dcc-06c6c98a384d]