-
-
Save anonymous/69ca1409581a1e356b05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wcat.wsf -t home.ubr -s 127.0.0.1 -v 100 -c localhost -terminate -update -run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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