On 2 November 2012 19:00, Daniel Corredor <[email protected]> wrote: > Yes, I did not luck either.
What did not work? > The whole problem is that in the login step > there are 2 redirections with dynamic values and my script fails there. Make sure you disable "redirect automatically"; you may also need to disable "follow redirects" and handle them manually. > 1) It is a URL that gets a dynamic value as I explained before > 2) using that URL I get a new SAMLResponse value > > Has anybody experience something like this? > > Thanks. > Dan > > > > On Fri, Nov 2, 2012 at 2:41 PM, sebb <[email protected]> wrote: > >> On 2 November 2012 14:32, Daniel Corredor <[email protected]> wrote: >> > Hi Everyone, >> > >> > I am trying to develop an script in which I am unable to authenticate. >> The >> > analysis I have done for the script is the following: >> > >> > 1- Browse some initial pages, to get country, and language. >> > >> > 2- I get to the main sign in. At that point I extract 3 variables from >> that >> > page: >> > goto=.... >> > SunQueryParamsString-...... >> > and >> > SAMLRequest=...... >> > >> > 3- I get into the login page >> > http://xxxxxx.com/sso/UI/Login >> > In this step I post >> > goto=.... >> > SunQueryParamsString-...... >> > plus the userid and password. >> > >> > >> > However, the authentication fails. When I analyze the transactions using >> > Badboy I see that on the login step (3) there are 3 subrequest one of >> them >> > gets a new SAMLRequest which is a bigger size and also a new URL with a >> new >> > parameter. Please refer below >> > >> > >> http://xxxxxx/SSORedirect/metaAlias/serion/idp?ReqID=a41jgig0630g57de3igeh6h >> > >> > The questions: >> > >> > I am not sure how to extract the variables SAMLRequest and the ReqID= >> from >> > the http://xxxxxx.com/sso/UI/Login because it fails in Jmeter. So I am >> not >> > sure how I can handle that. >> > >> > Any ideas? >> > >> >> Have you tried using the JMeter proxy to record the session? >> >> > Thanks in advance. >> > >> > Dan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
