Red Gate forums :: View topic - Simulating multiple dotnetnuke logins
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
ANTS Load
ANTS Load forum

Simulating multiple dotnetnuke logins

Search in ANTS Load forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
rivstyx



Joined: 10 Aug 2006
Posts: 4

PostPosted: Tue Aug 15, 2006 3:18 pm    Post subject: Simulating multiple dotnetnuke logins Reply with quote

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
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6582

PostPosted: Tue Aug 15, 2006 6:40 pm    Post subject: Reply with quote

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")
Back to top
View user's profile Send private message
rivstyx



Joined: 10 Aug 2006
Posts: 4

PostPosted: Tue Aug 15, 2006 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. 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