Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8923999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:17:04+00:00 2026-06-15T07:17:04+00:00

I am having an issue with my initial testing/configuration of WCAT 6.4 for IIS

  • 0

I am having an issue with my initial testing/configuration of WCAT 6.4 for IIS 7 on Windows Server 2008 Std. We’re pretty new to WCAT so this might be a fairly naive question.

We are testing a web app that’s expected to not have a high volume of traffic and I’m trying to implement a WCAT scenario where we throttle the number of requests and gradually increase throughput to benchmark the web app. The script as given generates about 500 requests/sec and we’re trying to start smaller than that!

Reading the WCAT doc, it seems that including the “throttle” attribute on the scenario file is the right thing to do to achieve this, but whenever I try to do this I get the “Invalid code received” msg. I’m using a (very slightly tweaked) version of the pre-fab sample test scripts that come with WCAT, and they seem to work just fine as long as I do NOT include the ‘throttle’ element. (command line and “home.ubr” script below)

I have been able to get some throttling of requests per second by including the “-throttlerps” argument to the command line syntax, but still have issues with getting the scenario file option to work. The command line syntax:

<directory>\wcat.wsf -terminate -run -clients localhost -t samples\scripts\home.ubr -f samples\scripts\settings.ubr -s localhost -throttlerps 1

and the scenario file:

scenario
{
name    = "IIS Home Page";

warmup      = 10;
duration    = 20;
cooldown    = 10;
//throttle  = 10;  //HERE is what throws an error!

/////////////////////////////////////////////////////////////////
//
// All requests inherit the settings from the default request.
// Defaults are overridden if specified in the request itself.
//
/////////////////////////////////////////////////////////////////
default
{
    // send keep-alive header
    setheader
    {
        name    = "Connection";
        value   = "keep-alive";
    }

    // set the host header
    setheader
    {
        name    = "Host";
        value   = server();
    }

    // HTTP1.1 request
    version     = HTTP11;

    // keep the connection alive after the request
    close       = ka;
}

//
// This script is made for IIS7
//
transaction
{
    id = "Default Web Site Homepage";
    weight = 1;

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

    request
    {
        url         = "/welcome.png";
        statuscode  = 200;
    }

    //
    // specifically close the connection after both files are requested
    //
    close
    {
        method      = reset;
    }
}

 transaction
{
    id = "Default Web Site Homepage";
    weight = 1;

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

    request
    {
        url         = "/welcome.png";
        statuscode  = 200;
    }

    //
    // specifically close the connection after both files are requested
    //
    close
    {
        method      = reset;
    }
}
}

So far from googling it seems this isn’t a common issue… any insight would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:17:06+00:00Added an answer on June 15, 2026 at 7:17 am

    OK so found the answer: WCAT’s documentation has a typo, the given file attribute was listed as “throttle”, but the correct version was to use “throttlerps” as the element name in the scenario file, instead of just “throttle” (to mirror the command line syntax). Maybe someone else will stumble upon this…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi guys I am having issue I have this query: SELECT * FROM useraccount
Similar question as: Select element's initial value I'm having an issue setting the initial
Looking into developing new startup with potential of hopefully having high volume. Initial idea
i am having an issue with most of my new sites which use H5BP
Hi All I'm new to iOS development and am currently having an issue with
I'm testing a Google Web Toolkit application and having some performance issue with multiple
I'm having an issue with SQL Server, I have 2005 installed on my desktop
I am new to C++ and am having an issue converting a signed char
I'm working on this method which deals with collision detection. I'm having an issue
I am having an issue with using TabHost in a new Intent of type

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.