Test# Passed# Skipped# Retried# FailedTime (ms)Included GroupsExcluded Groups
Ant suite
Ant test2400013,429RESTAutenticazionePortaApplicativa
ClassMethodStartTime (ms)
Ant suite
Ant test — passed
org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativatestAuthApiKeyAppIdWWWAuthenticate_credenzialiNonFornite1771851259159575
testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonValide177185125973948
testAuthApiKeyWWWAuthenticate_credenzialiNonFornite177185125978970
testAuthApiKeyWWWAuthenticate_credenzialiNonValide177185125986051
testAuthBasicServiceWithBasicAuth_ko_credentialBruciate17718512599121161
testAuthBasicServiceWithBasicAuth_ko_credentialForwarded17718512610741093
testAuthBasicWWWAuthenticate_credenzialiNonFornite177185126216841
testAuthBasicWWWAuthenticate_credenzialiNonValide177185126221040
testAuthHttpsWWWAuthenticate_credenzialiNonFornite177185126225170
testServiceWithApiKeyAppIdAuth17718512623221076
testServiceWithApiKeyAppIdAuthForward17718512633991103
testServiceWithApiKeyAuth17718512645031074
testServiceWithApiKeyAuthForward17718512655781109
testServiceWithBasicAuth_ko_credentialErrate17718512666881096
testServiceWithBasicAuth_ko_credentialErrate_domain17718512677841116
testServiceWithBasicAuth_ko_noCredential17718512689011077
testServiceWithBasicAuth_ko_noCredential_domain17718512699791085
testServiceWithBasicAuth_ok17718512710651072
org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipaltestAuthPrincipalWWWAuthenticate_credenzialiNonFornite177185127232552
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Ant test

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonFornite

Messages
URL: http://localhost:8080/govway/api/in/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-75110d0d-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonValide

Messages
URL: http://localhost:8080/govway/api/in/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-7533622a-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthApiKeyWWWAuthenticate_credenzialiNonFornite

Messages
URL: http://localhost:8080/govway/api/in/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-754192fe-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthApiKeyWWWAuthenticate_credenzialiNonValide

Messages
URL: http://localhost:8080/govway/api/in/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-756ebd8a-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthBasicServiceWithBasicAuth_ko_credentialBruciate

Messages
URL: http://localhost:8080/govway/api/in/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 [75883909-10b6-11f1-9d05-06c6c98a384d]
[75883909-10b6-11f1-9d05-06c6c98a384d] Atteso [401] ritornato [401]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthBasicServiceWithBasicAuth_ko_credentialForwarded

Messages
URL: http://localhost:8080/govway/api/in/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 [75b5d8cd-10b6-11f1-9d05-06c6c98a384d]
[75b5d8cd-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[75b5d8cd-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_12] e valore ritornato [TEST_RESPONSE_12]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthBasicWWWAuthenticate_credenzialiNonFornite

Messages
URL: http://localhost:8080/govway/api/in/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-75bb7e21-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthBasicWWWAuthenticate_credenzialiNonValide

Messages
URL: http://localhost:8080/govway/api/in/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-75c960d4-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testAuthHttpsWWWAuthenticate_credenzialiNonFornite

Messages
URL: http://localhost:8080/govway/api/in/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-75db3b29-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithApiKeyAppIdAuth

Messages
URL: http://localhost:8080/govway/api/in/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 [760642d8-10b6-11f1-9d05-06c6c98a384d]
[760642d8-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[760642d8-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_20] e valore ritornato [TEST_RESPONSE_20]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithApiKeyAppIdAuthForward

Messages
URL: http://localhost:8080/govway/api/in/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 [763bf8e5-10b6-11f1-9d05-06c6c98a384d]
[763bf8e5-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[763bf8e5-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_22] e valore ritornato [TEST_RESPONSE_22]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithApiKeyAuth

Messages
URL: http://localhost:8080/govway/api/in/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 [764bb05a-10b6-11f1-9d05-06c6c98a384d]
[764bb05a-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[764bb05a-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_24] e valore ritornato [TEST_RESPONSE_24]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithApiKeyAuthForward

Messages
URL: http://localhost:8080/govway/api/in/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 [767690f7-10b6-11f1-9d05-06c6c98a384d]
[767690f7-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[767690f7-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_26] e valore ritornato [TEST_RESPONSE_26]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithBasicAuth_ko_credentialErrate

Messages
URL: http://localhost:8080/govway/api/in/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, Vary, Expires])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [76bcc1c3-10b6-11f1-9d05-06c6c98a384d]
[76bcc1c3-10b6-11f1-9d05-06c6c98a384d] Atteso [401] ritornato [401]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithBasicAuth_ko_credentialErrate_domain

Messages
URL: http://localhost:8080/govway/api/in/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, Vary, Expires])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [76d70090-10b6-11f1-9d05-06c6c98a384d]
[76d70090-10b6-11f1-9d05-06c6c98a384d] Atteso [401] ritornato [401]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithBasicAuth_ko_noCredential

Messages
URL: http://localhost:8080/govway/api/in/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, Vary, Expires])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [76e35ca5-10b6-11f1-9d05-06c6c98a384d]
[76e35ca5-10b6-11f1-9d05-06c6c98a384d] Atteso [401] ritornato [401]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithBasicAuth_ko_noCredential_domain

Messages
URL: http://localhost:8080/govway/api/in/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, Vary, Expires])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [76ec5d5b-10b6-11f1-9d05-06c6c98a384d]
[76ec5d5b-10b6-11f1-9d05-06c6c98a384d] Atteso [401] ritornato [401]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa#testServiceWithBasicAuth_ok

Messages
URL: http://localhost:8080/govway/api/in/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, Vary, Expires, GovWay-TestSuite-Description, ProvaHeaderResponse])
Leggo id da header [GovWay-Message-ID]
Ricevuto id [76f6486f-10b6-11f1-9d05-06c6c98a384d]
[76f6486f-10b6-11f1-9d05-06c6c98a384d] Atteso [200] ritornato [200]
[76f6486f-10b6-11f1-9d05-06c6c98a384d] Atteso Header [ProvaHeaderResponse] con valore atteso [TEST_RESPONSE_36] e valore ritornato [TEST_RESPONSE_36]

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
url-based
Messages
URL: http://localhost:8080/govway/api/in/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-778c6e12-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
form-based
Messages
URL: http://localhost:8080/govway/api/in/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-775d6ec7-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
container
Messages
URL: http://localhost:8080/govway/api/in/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-76fcb112-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
token
Messages
URL: http://localhost:8080/govway/api/in/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-77da6618-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
x-forwarded-for
Messages
URL: http://localhost:8080/govway/api/in/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-77c09d7d-10b6-11f1-9d05-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'

back to summary

org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal#testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

Parameter #1
header-based
Messages
URL: http://localhost:8080/govway/api/in/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-7738a8ac-10b6-11f1-9d05-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'

back to summary