Simulating multiple dotnetnuke logins

rivstyxrivstyx Posts: 6
edited August 15, 2006 5:47PM in ANTS Load
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.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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
    WebClient.HttpRequest.AddPostData("Username", Me.StateInformation.Get("Username"))
    WebClient.POST("http://localhost/login.aspx")
    
  • 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.
Sign In or Register to comment.