Previous Next

Thread: WCAT 6.3 Problem

Last post 10-03-2008 3:45 AM by markchivs. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 09-29-2008, 11:58 AM

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    WCAT 6.3 Problem

    Hi IIS Forums, I wonder if anyone would be kind enough to help me with a problem I'm having trying to run WCAT 6.3?

    I'm executing wcat with the following command line statemen XPWEBDL is my controller and also my single Client. CGTP001 is obviously the remote web server:

    wcat.wsf -terminate -run -clients XPWEBDL -t scenario.ubr -f settings.ubr -s CGTP001 -stderr errrors.txt -stdout output.txt -singleip -x

    When the command executes the following happens down to Clients: 1 and nothing else. I've included my settings and scenario files below, can anyone help?

    Enabling debug flag(s) 3
    Initializing performance counters...
    '\\http://cgtpony21\Processor(_Total)\% Processor Time'... Success!
    '\\http://cgtpony21\Processor(_Total)\% User Time'... Success!
    '\\http://cgtpony21\Processor(_Total)\% Privileged Time'... Success!
    '\\http://cgtpony21\System\Context Switches/sec'... Success!
    Performance counter initialization complete.
    
    Initializing performance counters...
    '\\http://cgtpony21\Processor(_Total)\% Processor Time'... Success!
    '\\http://cgtpony21\Process(wcclient)\Private Bytes'... Success!
    Performance counter initialization complete.
    
    Server: http://cgtpony21
    Clients: 1
    

    The settings file settings.ubr is like this:

    settings
    {
        clients        = 1;
        virtualclients = 10;
    
        counters
        {
            interval = 10;
            counter  = "Processor(_Total)\\% Processor Time";
            counter  = "Process(wcclient)\\Private Bytes";
        }
    }
    

    The Scenario file scenario.ubr:

    scenario
    {
        name     = "Test Localhost";
        warmup   = 2;
        duration = 10;
        cooldown = 2;
    
        default
        {
            setheader
            {
                name = "Connection";
                value = "keep-alive";
            }
    
            setheader
            {
                name = "Host";
                value = server();
            }
    
            version = HTTP11;
            close = ka;
        }
    
    
        transaction 
        {
    	weight  = 500;
    
    	request 
    	{	    
    	    url  = "/test";
    	}
    
    
    	close
            {
                method = graceful;
            }
    
    
        }
    }
    
  • 09-30-2008, 6:58 AM In reply to

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    Re: WCAT 6.3 Problem

    I forgot to mention that I am trying to run this on a VM. Could this be my problem does anyone know?

    I'm now trying to recreate the tests from another box to see, but if anyone can shed any light on this I'd appreciate it.

    Thanks

    Mark

  • 09-30-2008, 5:59 PM In reply to

    • mukhtard
    • Top 25 Contributor
    • Joined on 07-07-2008, 9:13 PM
    • Redmond, WA
    • Posts 165

    Re: WCAT 6.3 Problem

    Your transaction doesn't have an ID which is required. I would modify it as follows:

    transaction
    {
     id = "myID";
     weight = 500;
     :
     :
    }

    Also I have never used the stderr and stdout parameters so I don't know how they would play out.

    Running WCAT on a virtual machine shouldn't be an issue but collecting performance numbers on a VM isn't recommended.

    Thanks,
    Mukhtar Desai
    IIS Performance Team

  • 10-01-2008, 7:12 AM In reply to

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    Re: WCAT 6.3 Problem

    Hi Mukhtar

    Thanks for your reply. I've included the id now, but it doesn't seam to have made any difference the execution still appears to hang.

    Is there anything else you can suggest I try to get this working at all?

  • 10-02-2008, 3:26 AM In reply to

    • mukhtard
    • Top 25 Contributor
    • Joined on 07-07-2008, 9:13 PM
    • Redmond, WA
    • Posts 165

    Re: WCAT 6.3 Problem

    Can you try running wcat manually, on the controller machine run the following:

    wcctl.exe -t scenario.ubr -f settings.ubr -s CGTP001

    On the client machine:

    wcclient.exe controller_machine_name

    Thanks,
    Mukhtar Desai
    IIS Performance Team

  • 10-02-2008, 4:21 AM In reply to

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    Re: WCAT 6.3 Problem

     

    Mukhtar your a star, it's working a treat now, Thanks, my sanity can return!
  • 10-02-2008, 11:09 AM In reply to

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    Re: WCAT 6.3 Problem

    Mukhtar,

    when I went away and started testing I noticed I was getting the same problem as this post (http://forums.iis.net/p/1150332/1873611.aspx#1873611) described with the test duration section containing only zero's for all results.

    So I grabbed the scenario example you posted there and put a simple call to a test.html page.  Straight away I saw results in the log.xml file.  However when I added another Transaction calling an ASP page the log.xml file has zero's again, although I am seeing the warmup phase in the web server log file so it was successfully calling both the HTML and ASP pages during this phase, so I guess it's something to do with the extra load. I've been through the documentation but i'm struggling to see why I wouldn't get any responses at all from IIS in the duration phase. Any suggestions? Thanks in advance, here's my scenario file:

    scenario
    {
        name = "Tests";

        warmup = 5;
        duration = 15;
        cooldown = 5;

        default
        {
     setheader
     {
          name    = "Connection";
          value   = "keep-alive";
     }
           
     setheader
            {
                name    = "Accept";
                value   = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, */*";
            }
           
     setheader
            {
                name    = "Accept-Language";
                value   = "en-us";
            }
           
     setheader
            {
                name    = "User-Agent";
                value   = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0";
            }
           
     setheader
            {
                name    = "Accept-Encoding";
                value   = "gzip, deflate";
            }
           
     setheader
            {
                name    = "Host";
                value   = "webcat";
            }
           
     version     = HTTP11;
            statuscode  = 200;
            close       = ka;
        }

        transaction
        {
            id = "testHTML";
            weight = 100;

            request
            {
                url = "/tests/test.html";
            } 
        }

        transaction
        {
            id = "testASP";
            weight = 50;

            request
            {
                 url = "/tests/test.asp";
            }
        }

  • 10-03-2008, 12:49 AM In reply to

    • mukhtard
    • Top 25 Contributor
    • Joined on 07-07-2008, 9:13 PM
    • Redmond, WA
    • Posts 165

    Re: WCAT 6.3 Problem

    What is test.asp doing? Can you replace test.asp with some other simple asp file and see what results you get? I would try a helloworld asp like:
    <% Response.Write "Hello ASP" %>
    You might also want to increase the duration time to some higher value and see if things improve.

    Thanks,
    Mukhtar Desai
    IIS Performance Team

  • 10-03-2008, 3:45 AM In reply to

    • markchivs
    • Not Ranked
    • Joined on 09-29-2008, 11:29 AM
    • Posts 6

    Re: WCAT 6.3 Problem

    Hi Mukhtar

    test.asp (see code below) was set up to be a slow executing file on purpose. When I reduce the iterations to 10 from 5000 I now get results for my test duration. I would of thought I'd of got at least a handful of responses back from IIS within a 20 second duration even with this slow file.

    So can I presume that IIS cannot handle the load and is not serving any requests at all hence there being no results data for my original test duration

     

    <%@Language=VBScript%>
    <%
    dim iCount, sDisplay

    iCount = 0
    sDisplay = ""

    do while iCount < 5000
     sDisplay = sDisplay & "<div><h3>The Count is: (" & iCount & ")</h3></div>"
     iCount = iCount + 1
    loop
    %>

    <html>
     <body>
      <div>
       <%= sDisplay %>
      </div>
     </body>
    </html>

Page 1 of 1 (9 items)
Page view counter