Skip to content

testAuthPrincipalWWWAuthenticate_credenzialiNonFornite

(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaDelegataPrincipal took 50 ms)

PASS

Test Name: Ant test
Suite Name: Ant suite

Group(s): RESTAutenticazionePortaDelegata.AuthPrincipal_WWWAuthenticate_credenzialiNonFornite, RESTAutenticazionePortaDelegataPrincipal, RESTAutenticazionePortaDelegata

Value
Parameter #1header-based


[Method Execution Trend Chart]

Reporter Output

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: ([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-21716701-a671-11ef-b6a4-060730329b56] 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'