none
Not able to login Microsoft office 365 online using Performance tools

    Question

  • Hi Team,

    We have developed and integrated with 'One drive' excel and there is furthuer functionality after accessing One drive. We have to perform performance testing using Jmeter tool. Below steps followed:

    1. Recorded the login https://office.com with our account flow using the Jmeter tool> follow other steps

    2. Reply the recorded script

    3. Observe results> the results shows 'Sorry, but we’re having trouble signing you in' though just replayed the script immediately after recording.

    POST https://login.microsoftonline.com/common/GetCredentialType - Successful - able to get response

    POST https://login.microsoftonline.com/common/login - Failed with 200 code (Sorry, but we’re having trouble signing you in) though used all recorded parameters.

    Please suggest if log in to office 365 is possible using Jmeter tool or are we missing anything here? 

    Please guide.

    Monday, February 12, 2018 9:23 AM

All replies

  • That's a question you should address to the tool vendor.
    Monday, February 12, 2018 4:06 PM
  • Thanks for the update. The challenge what i can see is the login request goes with many dynamic values like 'flowToken',  'canary' etc..For login request what values are required to pass and from where these values can be extracted.

    POST https://login.microsoftonline.com/common/login

    POST data:
    PPSX=&IsFidoSupported=0&ps=2&hisScaleUnit=&i13=0&login=test%40xyz.com&
    type=11&i17=&LoginOptions=3&flowToken=AQABAA&i19=16094&psRNGCEntropy=&
    i18=&loginfmt=test%40xyz.com&NewUser=1&canary=%2FyZhHA1&hisRegion=&ctx=rQ_5w2&psRNGCDefaultType=&CookieDisclosure=0&lrtPartition=&
    i2=102&i21=0&lrt=&psRNGCSLK=&passwd=t%40123&FoundMSAs=&fspost=0

    Modified actual request.

    For the above request getting response as:  (Sorry, but we’re having trouble signing you in)

    Please guide.


    • Edited by TestUserTr Tuesday, February 13, 2018 6:36 AM
    Tuesday, February 13, 2018 6:25 AM