testAuthPrincipalWWWAuthenticate_credenzialiNonFornite
(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativaPrincipal took 48 ms)PASS
Test Name: Ant test
Suite Name: Ant suite
Group(s): RESTAutenticazionePortaApplicativaPrincipal, RESTAutenticazionePortaApplicativa, RESTAutenticazionePortaApplicativa.AuthPrincipal_WWWAuthenticate_credenzialiNonFornite
Value | |
---|---|
Parameter #1 | form-based |
Reporter Output
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: ([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-913e4d15-bfc0-11ef-b32e-060730329b56] 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'