Skip to content

Instantly share code, notes, and snippets.

/chant.bat Secret

Created November 20, 2012 22:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/69ca1409581a1e356b05 to your computer and use it in GitHub Desktop.
Save anonymous/69ca1409581a1e356b05 to your computer and use it in GitHub Desktop.
wcat.wsf -t home.ubr -s 127.0.0.1 -v 100 -c localhost -terminate -update -run
scenario
{
name = "hello";
warmup = 30;
duration = 120;
cooldown = 10;
/////////////////////////////////////////////////////////////////
//
// 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";
value = "close";
}
// HTTP1.1 request
version = HTTP11;
// keep the connection alive after the request
//close = ka;
}
//
// This script is made for IIS7
//
transaction
{
id = "bytes/123";
weight = 1;
request
{
url = "/bytes/123";
statuscode = 200;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment