Skip to content

testResponseCachingNoCache

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

PASS

Test Name: Ant test
Suite Name: Ant suite

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

Value
Parameter #1Pragma
Parameter #2no-cache


[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-1770065740253-341&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 [ea5b3f30-0078-11f1-82f1-06c6c98a384d]
[ea5b3f30-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[ea5b3f30-0078-11f1-82f1-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-1770065740253-341&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 [eb01df74-0078-11f1-82f1-06c6c98a384d]
[eb01df74-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[eb01df74-0078-11f1-82f1-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-1770065740253-341&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 [eb8407c8-0078-11f1-82f1-06c6c98a384d]
[eb8407c8-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[eb8407c8-0078-11f1-82f1-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-1770065740253-341&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 [ebb1595c-0078-11f1-82f1-06c6c98a384d]
[ebb1595c-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[ebb1595c-0078-11f1-82f1-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-1770065740253-341&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 [ecf990d5-0078-11f1-82f1-06c6c98a384d]
[ecf990d5-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[ecf990d5-0078-11f1-82f1-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [ebba5a0d-0078-11f1-82f1-06c6c98a384d]
Trovato cache key [ebba5a0d-0078-11f1-82f1-06c6c98a384d]
URL: http://localhost:8080/govway/api/out/ResponseCaching/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE&testId=rc-1770065740253-341&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 [ed01801c-0078-11f1-82f1-06c6c98a384d]
[ed01801c-0078-11f1-82f1-06c6c98a384d] Atteso [200] ritornato [200]
[ed01801c-0078-11f1-82f1-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE] e valore ritornato [TEST_RESPONSE]
Atteso header 'GovWay-CacheKey', trovato con valore: [ebba5a0d-0078-11f1-82f1-06c6c98a384d]
Terza invocazione, trovato cache key [ebba5a0d-0078-11f1-82f1-06c6c98a384d]