I'm trying to build a script to access my application.
I recorded the script setting HTTP Request Defaults, HTTP Cookie Manager,
Recording Controller and HTTP Proxy Server.

When I enter my site url (let's say customer.systemintegration.com.br) it
leads me to the sso page (sso.systemintegration.com.br), both URLs are
configured in the HTTP Request Defaults. The Cookie Manager is using
"compatibility" policy.

It makes a request to the path "/" with no parameters
Then it it makes a request to the path "/sso-web/login" sending the service
"customer" as parameter
This parameter is used in the next request which path is
"/sso-web/login?service=customer"
In this request, the system is passing the parameters username, password,
lt (which is an access ticket, a token)

Watching the results on the tree I saw that this parameter "lt" is set in a
hidden field in the first request and each of the requests I mentioned is
generating a new lt. That's why I'm not managing to keep myself logged in
the app.

I'd like to get the value of the hidden field in the first request and use
it as the parameter value in the other requests.

I'm not sure if I made myself clear or if it's too contextual, but I'd
appreciate even a post indication or something that can guide me.


Regards,
Sarah

Reply via email to