Windows Server 2008 Std의 IIS 7 용 WCAT 6.4에 대한 초기 테스트/구성에 문제가 있습니다. 우리는 WCAT에 익숙하지 않아 매우 순진한 질문 일 수 있습니다.WCAT 요청 조절
많은 트래픽이 발생하지 않을 것으로 예상되는 웹 응용 프로그램을 테스트하고 있으며 요청 수를 줄이고 웹 응용 프로그램의 벤치마킹 처리량을 점차적으로 늘리는 WCAT 시나리오를 구현하려고합니다. 주어진 스크립트는 약 500 요청/초를 생성하고 우리는 그보다 작게 시작하려고합니다!
WCAT 문서를 읽으면 시나리오 파일의 "throttle"속성을 포함하는 것이 올바른 일이라고 생각되지만, 시도 할 때마다 "유효하지 않은 코드가 수신되었습니다"라는 메시지가 표시됩니다. WCAT와 함께 제공되는 프리 팹 (pre-fab) 샘플 테스트 스크립트 버전을 사용하고 있습니다. 'throttle'요소를 포함하지 않는 한 제대로 작동하는 것 같습니다. (아래 명령 줄과 "home.ubr"스크립트)
"-throttlerps"인수를 명령 줄 구문에 포함하여 초당 요청을 조절할 수 있었지만 여전히 시나리오를 가져 오는 데 문제가 있습니다 파일 옵션을 사용할 수 있습니다. 명령 줄 구문 :
<directory>\wcat.wsf -terminate -run -clients localhost -t samples\scripts\home.ubr -f samples\scripts\settings.ubr -s localhost -throttlerps 1
및 시나리오 파일 :
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;
}
}
}
지금까지 인터넷 검색에서 어떤 통찰력이 많이 주시면 감사하겠습니다 공통의 문제 ... 아닌 것 같다.