testAuthApiKeyAppIdWWWAuthenticate_credenzialiNonFornite
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegata took 0.31 sec)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): RESTAutenticazionePortaDelegata.AuthApiKeyAppId_WWWAuthenticate_credenzialiNonFornite, RESTAutenticazionePortaDelegata, RESTAutenticazionePortaDelegataNoPrincipal
Reporter Output
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: ([Keep-Alive, Transfer-Encoding, 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-8a7c1bca-bfc0-11ef-b32e-060730329b56] 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'