Ant test

Tests passed/Failed/Skipped:24/0/0
Started on:Thu Apr 16 20:09:19 CEST 2026
Total time:13 seconds (13520 ms)
Included groups:RESTAutenticazionePortaDelegata
Excluded groups:

(Hover the method name to see the test class name)

PASSED TESTS
Test method Attribute(s) Exception Time (seconds) Instance
testServiceWithBasicAuth_ko_noCredential
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_serviceWithBasicAuth/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_31&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, GovWay-Service, ReturnCode, GovWay-Action, Server, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [27a33518-39bf-11f1-837e-06c6c98a384d]
[27a33518-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthBasicServiceWithBasicAuth_ko_credentialForwarded
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_basic_forwardCredentials/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_11&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_12&destFileContentType=text/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 [263ee9cb-39bf-11f1-837e-06c6c98a384d]
[263ee9cb-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[263ee9cb-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_12] e valore ritornato [TEST_RESPONSE_12]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: header-based
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_PrincipalHeader/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_39&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-27eb139e-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayHeaderBased' rilevato 'PrincipalAuthTestGovWayHeaderBased'
WWWAuthenticate Realm atteso 'TestGovWayHeaderBased' rilevato 'TestGovWayHeaderBased'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayHeaderBased The request is missing a required principal credentials' rilevato 'TestGovWayHeaderBased The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testAuthBasicWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_basic/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_13&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-265a8820-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'Basic' rilevato 'Basic'
WWWAuthenticate Realm atteso 'TestGovWayBasic' rilevato 'TestGovWayBasic'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayBasic The request is missing a required http-basic credentials' rilevato 'TestGovWayBasic The request is missing a required http-basic credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: x-forwarded-for
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_PrincipalIPForwarded/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_45&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-285a5049-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayIPForwarded' rilevato 'PrincipalAuthTestGovWayIPForwarded'
WWWAuthenticate Realm atteso 'TestGovWayIPForwarded' rilevato 'TestGovWayIPForwarded'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayIPForwarded The request is missing a required principal credentials' rilevato 'TestGovWayIPForwarded The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_appId/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_1&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-24c3bb41-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'ApiKeyTestGovWay' rilevato 'ApiKeyTestGovWay'
WWWAuthenticate Realm atteso 'TestGovWayApiKey' rilevato 'TestGovWayApiKey'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayApiKey The request is missing a required API Key' rilevato 'TestGovWayApiKey The request is missing a required API Key'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: form-based
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_PrincipalQuery/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_41&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-28109d07-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayFormBased' rilevato 'PrincipalAuthTestGovWayFormBased'
WWWAuthenticate Realm atteso 'TestGovWayFormBased' rilevato 'TestGovWayFormBased'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayFormBased The request is missing a required principal credentials' rilevato 'TestGovWayFormBased The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testServiceWithBasicAuth_ko_credentialErrate_domain
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_serviceWithBasicAuthDomain/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_29&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, GovWay-Service, ReturnCode, GovWay-Action, Server, X-Content-Type-Options, GovWay-Service-Version, WWW-Authenticate, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [278b8e62-39bf-11f1-837e-06c6c98a384d]
[278b8e62-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: url-based
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_PrincipalUrl/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_43&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-28387060-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayUrlBased' rilevato 'PrincipalAuthTestGovWayUrlBased'
WWWAuthenticate Realm atteso 'TestGovWayUrlBased' rilevato 'TestGovWayUrlBased'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayUrlBased The request is missing a required principal credentials' rilevato 'TestGovWayUrlBased The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testAuthApiKeyWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_apiKey/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_5&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-253c46b2-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'ApiKeyTestGovWay' rilevato 'ApiKeyTestGovWay'
WWWAuthenticate Realm atteso 'TestGovWayApiKey' rilevato 'TestGovWayApiKey'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayApiKey The request is missing a required API Key' rilevato 'TestGovWayApiKey The request is missing a required API Key'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthApiKeyWWWAuthenticate_credenzialiNonValide
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_apiKey/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_7&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-257a130c-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'ApiKeyTestGovWay' rilevato 'ApiKeyTestGovWay'
WWWAuthenticate Realm atteso 'TestGovWayApiKey' rilevato 'TestGovWayApiKey'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayApiKey Invalid API Key' rilevato 'TestGovWayApiKey Invalid API Key'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithApiKeyAuth
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_apiKey/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_23&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_24&destFileContentType=text/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 [26f5b6d5-39bf-11f1-837e-06c6c98a384d]
[26f5b6d5-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[26f5b6d5-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_24] e valore ritornato [TEST_RESPONSE_24]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: token
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_PrincipalToken/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_47&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-2878fbe2-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayToken' rilevato 'PrincipalAuthTestGovWayToken'
WWWAuthenticate Realm atteso 'TestGovWayToken' rilevato 'TestGovWayToken'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayToken The request is missing a required principal credentials' rilevato 'TestGovWayToken The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal
Parameters: container
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_Principal/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_37&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-27ceb1f6-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'PrincipalAuthTestGovWayContainer' rilevato 'PrincipalAuthTestGovWayContainer'
WWWAuthenticate Realm atteso 'TestGovWayContainer' rilevato 'TestGovWayContainer'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayContainer The request is missing a required principal credentials' rilevato 'TestGovWayContainer The request is missing a required principal credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal@54657dd2
testServiceWithBasicAuth_ko_noCredential_domain
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_serviceWithBasicAuthDomain/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_33&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, GovWay-Service, ReturnCode, GovWay-Action, Server, X-Content-Type-Options, GovWay-Service-Version, WWW-Authenticate, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [27b49a3f-39bf-11f1-837e-06c6c98a384d]
[27b49a3f-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthHttpsWWWAuthenticate_credenzialiNonFornite
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_https/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_17&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-2673dc85-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'mTLSTestGovWay' rilevato 'mTLSTestGovWay'
WWWAuthenticate Realm atteso 'TestGovWayMTLS' rilevato 'TestGovWayMTLS'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayMTLS The request is missing a required client certificate' rilevato 'TestGovWayMTLS The request is missing a required client certificate'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonValide
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_appId/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_3&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-252e63ff-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'ApiKeyTestGovWay' rilevato 'ApiKeyTestGovWay'
WWWAuthenticate Realm atteso 'TestGovWayApiKey' rilevato 'TestGovWayApiKey'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayApiKey Invalid API Key' rilevato 'TestGovWayApiKey Invalid API Key'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithApiKeyAppIdAuth
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_appId/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_19&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_20&destFileContentType=text/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 [26c11231-39bf-11f1-837e-06c6c98a384d]
[26c11231-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[26c11231-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_20] e valore ritornato [TEST_RESPONSE_20]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthBasicWWWAuthenticate_credenzialiNonValide
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_basic/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_15&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, ReturnCode, Server, X-Content-Type-Options, WWW-Authenticate, Connection, Pragma, Date, GovWay-Version, GovWay-Transaction-ErrorType, GovWay-Version-Info, Cache-Control, Vary, Expires, Content-Type])
Leggo id transazione da header [GovWay-Transaction-ID]
[AuthnError-265c83f1-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
WWWAuthenticate AuthType atteso 'Basic' rilevato 'Basic'
WWWAuthenticate Realm atteso 'TestGovWayBasic' rilevato 'TestGovWayBasic'
WWWAuthenticate error atteso 'invalid_request' rilevato 'invalid_request'
WWWAuthenticate error_description atteso 'TestGovWayBasic Invalid credentials' rilevato 'TestGovWayBasic Invalid credentials'
0 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithBasicAuth_ok
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_serviceWithBasicAuth/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_35&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_36&destFileContentType=text/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 [27c53c13-39bf-11f1-837e-06c6c98a384d]
[27c53c13-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[27c53c13-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_36] e valore ritornato [TEST_RESPONSE_36]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithApiKeyAuthForward
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_apiKeyForward/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_25&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_26&destFileContentType=text/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 [270ac583-39bf-11f1-837e-06c6c98a384d]
[270ac583-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[270ac583-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_26] e valore ritornato [TEST_RESPONSE_26]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithApiKeyAppIdAuthForward
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_appIdForward/service/echo?destFile=/etc/govway/testfiles/HelloWorld.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_21&returnHttpHeader=ProvaHeaderResponse:TEST_RESPONSE_22&destFileContentType=text/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 [26f2d09f-39bf-11f1-837e-06c6c98a384d]
[26f2d09f-39bf-11f1-837e-06c6c98a384d] Atteso [200] ritornato [200]
[26f2d09f-39bf-11f1-837e-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_22] e valore ritornato [TEST_RESPONSE_22]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testAuthBasicServiceWithBasicAuth_ko_credentialBruciate
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_basic/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_9&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, GovWay-Service, ReturnCode, GovWay-Action, Server, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [25dbbb1c-39bf-11f1-837e-06c6c98a384d]
[25dbbb1c-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089
testServiceWithBasicAuth_ko_credentialErrate
Test class: org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata
Show output Show all outputs
URL: http://localhost:8080/govway/api/out/AuthenticationREST_serviceWithBasicAuth/service/echo?destFile=/etc/govway/testfiles/restError.json&checkEqualsHttpHeader=ProvaHeaderRequest:TEST_27&destFileContentType=text/json&checkEqualsHttpMethod=GET
Atteso [401] ritornato [401], raccolgo id ...
Headers: ([GovWay-Provider-Type, Transfer-Encoding, Keep-Alive, GovWay-Transaction-ID, GovWay-Service, ReturnCode, GovWay-Action, Server, X-Content-Type-Options, GovWay-Service-Version, Connection, Pragma, GovWay-Service-Type, Date, GovWay-Provider, GovWay-Version, GovWay-Version-Info, GovWay-Message-ID, Cache-Control, GovWay-Sender, Vary, Expires, GovWay-Sender-Type])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [27478071-39bf-11f1-837e-06c6c98a384d]
[27478071-39bf-11f1-837e-06c6c98a384d] Atteso [401] ritornato [401]
1 org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata@27a2a089