I'm trying to monitor a webapp with a web scenario which requires me to authenticate with ADFS.
Step1: access the app unauthenticated (https://myapp.mydomain)
Step2: access the login page (https://myapp.mydomain/login.php) and validate I get redirected (302)
Step3: access the login page (https://myapp.mydomain/login.php ) with follow redirect and validate and get a http code 200 and the string "Sign In"
Step4: access the login page (https://myapp.mydomain/login.php) with follow redirect, provide the form fields UserName and Password
Step5 would be to access the login page again and validate I get redirected to the default authenticated page
Step6 would be to access component1 of app
Step7 would be to access component2 of app
Step8 would be to logout
Step1/2/3 works correctly
But as my login page redirect me to the ADFS login page with a randomly generated SAMLRequestID in the url, I'm not sure I could just follow redirect, push the form input UserName and Password and get authenticated correctly.
Does anyone have done something similar?
Or how can I get more debugging info from my step4?
Step1: access the app unauthenticated (https://myapp.mydomain)
Step2: access the login page (https://myapp.mydomain/login.php) and validate I get redirected (302)
Step3: access the login page (https://myapp.mydomain/login.php ) with follow redirect and validate and get a http code 200 and the string "Sign In"
Step4: access the login page (https://myapp.mydomain/login.php) with follow redirect, provide the form fields UserName and Password
Step5 would be to access the login page again and validate I get redirected to the default authenticated page
Step6 would be to access component1 of app
Step7 would be to access component2 of app
Step8 would be to logout
Step1/2/3 works correctly
But as my login page redirect me to the ADFS login page with a randomly generated SAMLRequestID in the url, I'm not sure I could just follow redirect, push the form input UserName and Password and get authenticated correctly.
Does anyone have done something similar?
Or how can I get more debugging info from my step4?