Application Center Usage - Handle login pages

This is Interesting: Free IT Magazines  
Home > Archive > Application Center Usage > July 2004 > Handle login pages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Handle login pages
Tim

2004-07-27, 5:53 pm

Hello,
Is there a built-in way that ACT handles username and passwords for a log-in screen? the goal would be to run a test with 1 user/pw, and then modify the properties > User Tab so that the test runs as a different user.
I see that it has all the pieces (a user node, a user property for tests), but for the life of me I can't figure out how to apply these. I've scouraged the documentation and see nothing useful.
The only solution I see is to have a program programatically change the Username/Password in the Script's Request, but there has *got* to be a better way.

Any help would be really appreciated,
Thanks,
Tim
George Cheng [MSFT]

2004-07-29, 5:50 pm

Regarding forms authentication and ACT - from the ACT online help:


ACT will not handle forms-based authentication automatically. If your Web
application allows users to manually send names and passwords in form
elements, you will need to explicitly edit the query string or body of the
request to mimic a client-side form submission.

It’s not automatically handled by ACT. You will need to modify your script
Like this….


http://www.foo.com/login.aspx?user=...0password=12345




Thank You

George Cheng

Microsoft Application Center & Index Server Support

Note: This article has no warranties implicit or explicit.
All the content is given on the "as is" basis and the user
takes full responsibility for its use and assumption.
Microsoft Corporation Copyright 2004
All Rights Reserved

--------------------
| Thread-Topic: Handle login pages
| thread-index: AcR0JaKXMZhk9SUnTouoRW6ievGgwg==
| X-WBNR-Posting-Host: 20.132.128.50
| From: =?Utf-8?B?VGlt?= <Tim@discussions.microsoft.com>
| Subject: Handle login pages
| Date: Tue, 27 Jul 2004 15:04:06 -0700
| Lines: 8
| Message-ID: <5F7DA60B-F082-4DD6-8537-B28C3403B72F@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.applicationcenter.usage
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.applicationcenter.usage:3803
| X-Tomcat-NG: microsoft.public.applicationcenter.usage
|
| Hello,
| Is there a built-in way that ACT handles username and passwords for a
log-in screen? the goal would be to run a test with 1 user/pw, and then
modify the properties > User Tab so that the test runs as a different user.
| I see that it has all the pieces (a user node, a user property for
tests), but for the life of me I can't figure out how to apply these. I've
scouraged the documentation and see nothing useful.
| The only solution I see is to have a program programatically change the
Username/Password in the Script's Request, but there has *got* to be a
better way.
|
| Any help would be really appreciated,
| Thanks,
| Tim
|

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com