diff --git a/src/Orchard.Profile/Go.cmd b/src/Orchard.Profile/Go.cmd index 05fe49c11..33add4a42 100644 --- a/src/Orchard.Profile/Go.cmd +++ b/src/Orchard.Profile/Go.cmd @@ -1,3 +1,3 @@ @echo off call "%~dp0\_environment" -"%wcatfiles%\wcat.wsf" -terminate -run -clients localhost -t "%~dp0\Scripts\%1.txt" -f "%~dp0\settings.txt" -s localhost -singleip -x +"%wcatfiles%\wcat.wsf" -terminate -run -clients localhost -t ".\Scripts\%1.txt" -f ".\settings.txt" -s localhost -singleip -x diff --git a/src/Orchard.Profile/Readme.txt b/src/Orchard.Profile/Readme.txt index b9c1b967e..e3590e9cd 100644 --- a/src/Orchard.Profile/Readme.txt +++ b/src/Orchard.Profile/Readme.txt @@ -1,6 +1,8 @@  == creating profiling image == +Create a SQL Server database named Orchard, on the . instance. This can be changed in profiling-setup-commands.txt + From the base of the checkout, execute >./build.cmd profiling diff --git a/src/Orchard.Profile/Scripts/homepage.txt b/src/Orchard.Profile/Scripts/homepage.txt new file mode 100644 index 000000000..e4cdb99f8 --- /dev/null +++ b/src/Orchard.Profile/Scripts/homepage.txt @@ -0,0 +1,63 @@ +scenario +{ + name = "Fiddler WCAT Script "; + warmup = 10; + duration = 30; + cooldown = 1; + + default + { + version = HTTP11; + setheader + { + name = "Connection"; + value = "keep-alive"; + } + close = ka; + } + + transaction + { + id = "1"; + weight = 1; + request + { + url = "/"; + setheader + { + name="Host"; + value="localhost"; + } + setheader + { + name="Connection"; + value="keep-alive"; + } + setheader + { + name="User-Agent"; + value="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7"; + } + setheader + { + name="Accept"; + value="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"; + } + setheader + { + name="Accept-Encoding"; + value="gzip,deflate,sdch"; + } + setheader + { + name="Accept-Language"; + value="en-US,en;q=0.8"; + } + setheader + { + name="Accept-Charset"; + value="ISO-8859-1,utf-8;q=0.7,*;q=0.3"; + } + } + } +}