Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11027

Mock Service for Push Authenticator doesn’t work any more

    Details

    • Target Version/s:
    • Rank:
      1|hzt9d3:

      Description

      The mobile push authenticator performance job is failing as now the mock service is broken.

      this can be recreated by running pyforge test:
      ./run-pybot.py -c perf -s mpa OpenAM

      Simulation openam.authn.PushMobileAuthPerf started...
      13:39:39.918 [WARN ] i.g.h.a.ResponseProcessor - Request 'MPA login stage 2' failed: status.find.is(200), but actually found 401
      13:39:39.923 [DEBUG] i.g.h.a.ResponseProcessor - 
      >>>>>>>>>>>>>>>>>>>>>>>>>>
      Request:
      MPA login stage 2: KO status.find.is(200), but actually found 401
      =========================
      Session:
      Session(Mobile push authentication performance test,1,Map(gatling.http.cache.dns -> io.gatling.http.resolver.ShuffleJdkNameResolver@1d0d3c6b, username -> user.75332, bodyStage2 -> {"errorMessage":"Authentication Failed"}, authId -> eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6ImF1dGgiLCJvdGsiOiJzbDA5a2hkZG8zOWxyOWxvbjhpNXNmYmxlaSIsImF1dGhJbmRleFR5cGUiOiJzZXJ2aWNlIiwicmVhbG0iOiJkYz1vcGVuYW0sZGM9Zm9yZ2Vyb2NrLGRjPW9yZyIsInNlc3Npb25JZCI6IkFRSUM1d00yTFk0U2ZjeU53VVRqSmsyTXA0NTFBaWROanc1eUxjZ05lQlVXVDJ3LipBQUpUU1FBQ01ERUFBbE5MQUJJM09UVTFOVE15TWprNU9EQTVNalkzTURjQUFsTXhBQUEuKiJ9.h5pzIjwxtpQiyBxvLu3rcbySuNjmtfKpGX4mkTq6ij4, gatling.http.cookies -> CookieJar(Map(CookieKey(amlbcookie,internal.forgerock.com,/) -> StoredCookie(amlbcookie=01; domain=internal.forgerock.com; path=/,false,false,1491824379862))), password -> password),1491824379686,59,KO,List(),io.gatling.core.protocol.ProtocolComponentsRegistry$$Lambda$216/1627496281@225d3818)
      =========================
      HTTP request:
      POST http://picodon.internal.forgerock.com:8080/openam/json/authenticate?authIndexType=service&authIndexValue=auth
      headers=
      Accept: application/json
      Content-Type: application/json
      Accept-Language: en-US,en;q=0.5
      Accept-API-Version: protocol=1.0,resource=1.0
      Accept-Encoding: gzip, deflate
      User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
      Cookie: amlbcookie=01
      Content-Length: 642
      Host: picodon.internal.forgerock.com:8080
      compositeByteData={"authId":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdXRoSW5kZXhWYWx1ZSI6ImF1dGgiLCJvdGsiOiJzbDA5a2hkZG8zOWxyOWxvbjhpNXNmYmxlaSIsImF1dGhJbmRleFR5cGUiOiJzZXJ2aWNlIiwicmVhbG0iOiJkYz1vcGVuYW0sZGM9Zm9yZ2Vyb2NrLGRjPW9yZyIsInNlc3Npb25JZCI6IkFRSUM1d00yTFk0U2ZjeU53VVRqSmsyTXA0NTFBaWROanc1eUxjZ05lQlVXVDJ3LipBQUpUU1FBQ01ERUFBbE5MQUJJM09UVTFOVE15TWprNU9EQTVNalkzTURjQUFsTXhBQUEuKiJ9.h5pzIjwxtpQiyBxvLu3rcbySuNjmtfKpGX4mkTq6ij4","template":"","stage":"AuthenticatorPush2","header":"ForgeRock Authenticator (Push)","callbacks":[{"type":"NameCallback","output":[{"name":"prompt","value":"User Name:"}],"input":[{"name":"IDToken1","value":"user.75332"}]}]}
      =========================
      HTTP response:
      status=
      401 Unauthorized
      headers= 
      Server: Apache-Coyote/1.1
      X-Frame-Options: SAMEORIGIN
      Cache-Control: no-cache, no-store, must-revalidate
      Content-API-Version: resource=1.2
      Expires: 0
      Pragma: no-cache
      Content-Type: application/json;charset=UTF-8
      Content-Length: 40
      Date: Mon, 10 Apr 2017 11:39:39 GMT
      
      body=
      {"errorMessage":"Authentication Failed"}
      <<<<<<<<<<<<<<<<<<<<<<<<<
      13:39:40.759 [WARN ] i.g.h.a.ResponseProcessor - Request 'MPA login stage 2' failed: status.find.is(200), but actually found 401
      13:39:40.760 [DEBUG] i.g.h.a.ResponseProcessor - 
      >>>>>>>>>>>>>>>>>>>>>>>>>>
      

        Attachments

          Activity

            People

            • Assignee:
              david.luna@forgerock.com David Luna
              Reporter:
              narita.saxena Narita Saxena
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: