Skip to content

testAuthHttpsWWWAuthenticate_credenzialiNonFornite

(from org.openspcoop2.protocol.trasparente.testsuite.units.rest.auth.RESTAutenticazionePortaApplicativa took 64 ms)

PASS

Test Name: Ant test
Suite Name: Ant suite

Group(s): RESTAutenticazionePortaApplicativa.AuthHttps_WWWAuthenticate_credenzialiNonFornite, RESTAutenticazionePortaApplicativa, RESTAutenticazionePortaApplicativaNoPrincipal



[Method Execution Trend Chart]

Reporter Output

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: ([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-182bf92f-a1f1-11ef-8788-060730329b56] 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'