Interesting, after removing the POST verb, it still crashes. If I re-add the POST verb and put the SOAP request in the scenario file inline (as a single line string), it works perfectly.
Maybe it's time to mention my enviroment and add the settings and scenario file.
I'm running 64-bit W2k8 Standard Server with IIS 7. The webservice I'm trying to test is build on ASP.NET for .NET 2.0. I have installed: .NET 2.0, .NET 3,0 and .NET 3,5 (all with latest service packs). I currently have DEP on only for specific Windows components (de first option in the dialog. I changed it because I have problems with VS2008 that I though might be related to DEP and I never turned it back on).
I start WCAT like this:
cscript wcat.wsf -terminate -run -f IDO.SOIPTV.Settings -t IDO.SOIPTV.Scenario
My settings file is as follows:
settings
{
server = "yeep-laptop";
clients = 1;
virtualclients = 1;
counters
{
interval = 10;
counter = "Web Service(_Total)\\Connection Attempts/sec" ;
counter = "Web Service(_Total)\\Post Requests/sec" ;
}
}
My scenario file is as follows:
scenario
{
name = "IDO SOIPTV Tests";
warmup = 30;
duration = 180;
cooldown = 30;
default
{
setheader
{
name = "Connection";
value = "close";
}
setheader
{
name = "Content-Type";
value = "text/xml";
}
setheader
{
name = "Host";
value = server();
}
setheader
{
name = "SOAPAction";
value = "\"http://xmlns.kpn.com/ido/connector/request-1.0/Process\"";
}
version = HTTP10;
verb = POST;
close = graceful;
statuscode = 200;
url = "/Ido-1.3.x/Ido.asmx";
}
transaction
{
id = "IptvDeactivateAccount";
weight = 1;
request
{
postdata = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:req=\"http://xmlns.kpn.com/ido/connector/request-1.0\"><soapenv:Header/><soapenv:Body><req:Process><req:request><resourceOrderRequest><header><requestId>1234567890</requestId><timestamp>2008-01-22T00:00:00</timestamp><originator>SNI</originator><recipient>SOIPTV</recipient><synchronous>false</synchronous></header><body><id>1234567890</id><type>update</type><orderDateTime>2008-01-22T00:00:00</orderDateTime><roRequestItem><id>987654321</id><type>tvAccount</type><action>update</action><roRequestItemParameter><name>requesterId</name><value>mlo</value></roRequestItemParameter><roRequestItemParameter><name>requesterPassword</name><value>w8woord</value></roRequestItemParameter><roRequestItemParameter><name>retailerId</name><value>000124</value></roRequestItemParameter><roRequestItemParameter><name>technicalAccountNumber</name><value>20000000000054</value></roRequestItemParameter><roRequestItemParameter><name>status</name><value>inactive</value></roRequestItemParameter></roRequestItem></body></resourceOrderRequest></req:request></req:Process></soapenv:Body></soapenv:Envelope>";
}
close
{
method = graceful;
}
}
}
WCAT works with these files as they are. If I replace the postdata with a file, it crashes.