Skip to content

testResponseCachingNoStoreDisabled

(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): ResponseCachingPortaApplicativa.REST.noStoreDisabled, ResponseCaching, ResponseCachingPortaApplicativa.REST, ResponseCachingPortaApplicativa

Value
Parameter #1Cache-Control
Parameter #2no-store


[Method Execution Trend Chart]

Reporter Output

URL: http://localhost:8080/govway/api/in/ResponseCachingNoStoreDisabled/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1771849880296-135&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 [ffe50ca2-10b2-11f1-aa59-06c6c98a384d]
[ffe50ca2-10b2-11f1-aa59-06c6c98a384d] Atteso [200] ritornato [200]
[ffe50ca2-10b2-11f1-aa59-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/ResponseCachingNoStoreDisabled/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1771849880296-135&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 [fffb05a8-10b2-11f1-aa59-06c6c98a384d]
[fffb05a8-10b2-11f1-aa59-06c6c98a384d] Atteso [200] ritornato [200]
[fffb05a8-10b2-11f1-aa59-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [fff49d05-10b2-11f1-aa59-06c6c98a384d]
Trovato cache key [fff49d05-10b2-11f1-aa59-06c6c98a384d]
URL: http://localhost:8080/govway/api/in/ResponseCachingNoStoreDisabled/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1771849880296-135&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 [fffbf00c-10b2-11f1-aa59-06c6c98a384d]
[fffbf00c-10b2-11f1-aa59-06c6c98a384d] Atteso [200] ritornato [200]
[fffbf00c-10b2-11f1-aa59-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [fff49d05-10b2-11f1-aa59-06c6c98a384d]
Terza invocazione, trovato cache key [fff49d05-10b2-11f1-aa59-06c6c98a384d]