| Author |
Message |
rivstyx
Joined: 10 Aug 2006 Posts: 4
|
Posted: Tue Aug 15, 2006 3:18 pm Post subject: Simulating multiple dotnetnuke logins |
|
|
I am using dotnetnuke as a portal and of course we do not pass the user id on the querystring so I am not sure how I can setup state information to simulate multiple users. The samples I have found pass the state information on the querystring. Any help would be appreciated. _________________ There is a difference between working hard and working smart. |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6369 Location: Red Gate Software
|
Posted: Tue Aug 15, 2006 6:40 pm Post subject: |
|
|
Hello,
Odd, normally things like logins are contained in the post data and that is populated in the ANTS Load test script using the AddPostData method, which will accept StateInformation, ie
| Code: |
WebClient.HttpRequest.AddPostData("Username", Me.StateInformation.Get("Username"))
WebClient.POST("http://localhost/login.aspx") |
_________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
rivstyx
Joined: 10 Aug 2006 Posts: 4
|
Posted: Tue Aug 15, 2006 10:47 pm Post subject: |
|
|
It is slightly different but I figured it out.
It uses its own securty provider called DotNetNuke.Security.PortalSecurity.
I create an instance of their portal security and pass it a username, password and tabid(same as page id).
I then navigate to that tab id and I am ready to go. So my dynamic data consists of username,password and tabid.
Thanks. _________________ There is a difference between working hard and working smart. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group