Unable to run WCAT against DotNetNuke with NTLM authentication

Posted by David Neale on Stack Overflow See other posts from Stack Overflow or by David Neale
Published on 2010-03-08T11:09:08Z Indexed on 2010/04/17 21:53 UTC
Read the original article Hit count: 533

Filed under:
|
|
|
|

I have a ubr file setup to stress test an internal DotNetNuke site with WCAT:

transaction
{
    id = "Intranet Home Page";
    weight = 1000;

    cookies{clear = true;}
    sleep{delay = rand("1","500");}

    request
    {
        url         = "/";
        statuscode = 401;
    }

    request
    {
        url         = "/";
        authentication = ntlm;
        username = "mydomain\\accountname";
        password = "password";
        statuscode = 200;
    }

    close{ method = reset;}
}

When running this (wcat.wsf -run -clients localhost -s myserver -t test.ubr -f settings.ubr -x) I simply get lots of error 500s:

2010-03-08 10:29:31 192.168.11.239 GET / - 80 - 192.168.52.139 - 401 2 2148074254 2010-03-08 10:29:31 192.168.11.239 GET / - 80 - 192.168.52.139 - 401 1 0 2010-03-08 10:29:31 192.168.11.239 GET /Default.aspx - 80 mydomain\myaccount 192.168.52.139 - 500 0 0

DNN is reporting these errors as:

AssemblyVersion: 5.2.3
PortalID: 0
PortalName: My Company
UserID: -1
UserName:
ActiveTabID: 39
ActiveTabName: Home
RawURL: /Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: 28d8821f-1ef2-41db-8a65-d33e97a69130
InnerException: *Unhandled Error:*
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.OnAuthenticateRequest StackTrace:
Message: System.Exception: Unhandled Error:
---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule.OnAuthenticateRequest(Object s, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: MYSERVER

It seems to be losing the username somehow.

© Stack Overflow or respective owner

Related posts about stress-testing

  • JMeter Stress testing

    as seen on Server Fault - Search for 'Server Fault'
    MAMP server hosting a Joomla instance. I'd like to hear the community's thoughts on the best way to stress test the server and find it's breaking point on concurrent users etc. Currently I have setup a test plan which I have going to the home page, grabbing the index.php, css, js and all images and… >>> More

  • Stresstesting ASP.NET/IIS with WCAT

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm trying to setup a stress/load test using the WCAT toolkit included in the IIS Resources. Using LogParser, I've processed a UBR file with configuration. It looks something like this: [Configuration] NumClientMachines: 1 # number of distinct client machines to use NumClientThreads:… >>> More

  • web application load / stress testing services

    as seen on Programmers - Search for 'Programmers'
    Can you recommend reputable companies that offer help (consulting services, etc) in load testing (ASP.NET) web applications? We have a client looking to load test an ASP.NET application and we don't have any expertise in load testing web applications. The client is located in central Massachusetts… >>> More

  • Stress test speed on a gateway?

    as seen on Server Fault - Search for 'Server Fault'
    I'm interested in stress testing my gateway server but am lost on how. Most of the stress testing applications I've seen only see how much load an app like Apache can handle, but not this. Essentially I want to send as many packets I can into this box with one computer on one card and see how many… >>> More

  • Stress test speed on a gateway?

    as seen on Server Fault - Search for 'Server Fault'
    I'm interested in stress testing my gateway server but am lost on how. Most of the stress testing applications I've seen only see how much load an app like Apache can handle, but not this. Essentially I want to send as many packets I can into this box with one computer on one card and see how many… >>> More

Related posts about dotnetnuke