visual studio .net act:
Hi,
I tried to test my COM+ component with ACT. But it does not show the
expected results. My setup is :
1. I create a serviced COM+ component. This component inserts a record
into database.
2. I create a web form to call this component. I use
Server.CreateObject method.
3. I run the stress test using ACT. I made two test cases :
a) CASE 1 : I run the test for 50000 iterations using the 1
simultaneous browser connections, I got expected results i.e. 49999
entries in the database.
b) CASE 2: I run the test for same 50000 iterations using 2000
simultaneous browser connections. This time I got unusual results.
There were only 70 entries in the database. Which means that the
component was hit only 70 times.
In both the cases, cachingof web form is prevented using
Response.CacheControl = "no-cache", Response.AddHeader("Pragma",
"no-cache"), Response.Expires = -1.
I run both test cases several time but the results were same. With case
2 (i.e. 2000 browaer connections), The no of entries in the database
remains less than 100.
I am using ORACLE 9.2 database with ODP 10.2 client. I also tried with
OLEDB client but there was no difference in the results.
IT APPEARED TO ME THAT WHEN I USE SIMULTANEOUS BROWSER CONNECTIONS,
THERE IS COME PROBLEM IN CALLING THE PAGE OR HITTING THE COMPONENT.
Please help!
Yanesh Tyagi