mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Initial roughing out of some profiling context
wcat binaries (http://www.iis.net/community/default.aspx?tabid=34&g=6&i=1466) Orchard.Profiling project to hold some wcat scripts for generating stress-style load and specflow features for generating fixed sets of requests "add profiling data" command in Orchard.DevTools to create a number of samples page and blog content items "build.cmd profiling" target creates build\Profiling web dir from clean build, and execs baseline setup and population via orchard cmdline --HG-- branch : dev
This commit is contained in:
66
lib/wcat/samples/scripts/home.ubr
Normal file
66
lib/wcat/samples/scripts/home.ubr
Normal file
@@ -0,0 +1,66 @@
|
||||
scenario
|
||||
{
|
||||
name = "IIS Home Page";
|
||||
|
||||
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";
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user