OAuth2.0

33 views
Skip to first unread message

Suguresh Kori

unread,
Nov 5, 2022, 4:01:07 AM11/5/22
to jmeter-plugins
Good afternoon,
I'm trying to authenticate this url but unable to run 

When hit this url 

Redirects to below URL 
https://test***b2c.b2clogin.com/testscoutsb2c.onmicrosoft.com/b2c_1_signin_signup/oauth2/v2.0/authorize?
client_id=4ebd5d36-4cd0-4956-bb60-c54abb0ce59d&scope=openid%20profile%20offline_access&
redirect_uri=https%3A%2F%2Fgray-dune-0f545f510.1.azurestaticapps.net%2F&client-request-id=fbb7924b-8b4f-48e6-8ad8-b4dffb4e1164&response_mode=fragment&response_type=code&x-client-SKU=msal.js.browser&x-client-VER=2.28.1&client_info=1&code_challenge=LrLzzmRzwped5lKGxfai2MCwFhKvm9oq4JZ0ly8Zdts&code_challenge_method=S256&nonce=f13d702c-ad28-4972-9224-05617b42536e&state=eyJpZCI6ImExZGM1NTY3LTU1ZDQtNDBhZC1hNjU5LTFkNTU0NjE1M2IzMSIsIm1ldGEiOnsiaW50ZXJhY3Rpb25UeXBlIjoicmVkaXJlY3QifX0%3D

Question . how to we capture those dynamic url values and login

Please provide the solution for the same as tried, seems nothing works

TestSugu.jmx

DT

unread,
Nov 7, 2022, 4:21:49 AM11/7/22
to jmeter-plugins

  1. This question is not related to JMeter Plugins by any means, it supposed to go to i..e JMeter Forum group
  2. I don't think anyone here is willing to do your job for you for free so I doubt the "solution for the same" will be provided
  3. If you're "redirected" it means that the server sends the redirect URL using Location response header and the dynamic values can be extracted from the header using either Regular Expression Extractor or Boundary Extractor The process is known as correlation and there is a lot of information on the topic in the Internet
Reply all
Reply to author
Forward
0 new messages