Re: SignOn Problem during Team Foundation WebTest Playback



That sounds likely to me (the query string parameters). See if that doesn't
get it.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Mike" <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FF91CD17-4867-437A-AD1C-891F6BECDBE9@xxxxxxxxxxxxxxxx
It appears to be generating a new token on playback. The federation
server
generates a "click here to complete authentication" page, which also
includes
javascript to automatically POST the token back to the web agent
application.
There does appear to be query parameters that are generated on redirect to
the signin page, which includes a parameter that looks like datetime
value.
In the webtest, we may need to capture these dynamically generated query
parameters, rather than replay the ones initially record. It is difficult
to
tell if this is really what the problem is or not.

Mike

"Joe Kaplan (MVP - ADSI)" wrote:

Do you know if the testing app is actually generating a new
cookie/federation token from the federation server each time or if it is
replaying data it stored from the initial test execution? The federation
cookie is signed with a timestamp that only makes it valid for a certain
period of time.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Mike" <Mike@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4335CDEF-4FD8-4CEE-A6D9-9EA44058FF13@xxxxxxxxxxxxxxxx
Hi all. I hoping this is a common problem. We have testers that are
recording web tests using VS Team System, and when they playback
recordings
of the sign on process, the ADFS Web Agent throws an exception.
Signing
in
manually through IE or Firefox works fine each time.
The exceptions don't seem to be consistent. The sample /claimapp,
found
in
the Step-By-Step guide, seems to fail with a viewstate validation
failure.
While our specific application complains that the XML (Saml token
thingy)
is
malformed.
I don't have all the technical information with me right now, but it is
a
fairly straightforward to reproduce.
Any help would be appreciated.
Mike





.



Relevant Pages

  • Re: Querying AD
    ... Querying AD is all new to me so, of course, I didn't have my query right. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP attribute masking
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... personnel will be able to query AD for a users employee id in order ... AD it only returns n number of digits. ...
    (microsoft.public.windows.server.active_directory)
  • Re: LDAP query...
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The query processor on the ... Your query isn't going to work that way, at least not with the ADUC ...
    (microsoft.public.windows.server.active_directory)
  • Re: User account querry
    ... That isn't nearly as effective as writing a query which would tell ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Problem in Accessing Active Directory from ASP.net
    ... Perhaps the security context is different here then. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.dotnet.framework.aspnet.security)