|
现在项目是C/s 架构的,都是用C#写的
使用Microsoft.net协议,可以录制,回放均无问题,但是,回放时不能操作数据库,查看Replan log 如下,并无数据库操作脚本
Virtual User Script started at : 2009-09-27 13:52:21
Starting action vuser_init.
Event 1: new NetworkCredential("et", "et");
Event 11: new DataTable();
Event 12: DataTable_1.Columns;
Event 13: DataColumnCollection_1.Add("DealerID", typeof(int));
Event 28: DataTable_1.LoadDataRow(values_1, true);
Event 177: new DataTable();
Event 178: DataTable_2.Columns;
Event 179: DataColumnCollection_2.Add("ID", typeof(string));
Event 186: DataTable_2.LoadDataRow(values_151, true);
Event 193: new DataTable();
Event 194: DataTable_3.Columns;
Event 195: DataColumnCollection_3.Add("ID", typeof(int));
Event 207: DataTable_3.LoadDataRow(values_164, true);
Event 5185: new DataTable();
Event 5186: DataTable_4.Columns;
Event 5187: DataColumnCollection_4.Add("ID", typeof(int));
Event 5192: DataTable_4.LoadDataRow(values_8961, true);
Event 5194: new NetworkCredential("et", "et");
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Event 5202: new NetworkCredential("et", "et");
Event 5223: new DataTable();
Event 5224: DataTable_5.Columns;
Event 5225: DataColumnCollection_5.Add("DealerID", typeof(int));
Event 5240: DataTable_5.LoadDataRow(values_8963, true);
Event 5818: new DataTable();
Event 5819: DataTable_6.Columns;
Event 5820: DataColumnCollection_6.Add("ID", typeof(string));
Event 5827: DataTable_6.LoadDataRow(values_9542, true);
Event 5834: new DataTable();
Event 5835: DataTable_7.Columns;
Event 5836: DataColumnCollection_7.Add("ID", typeof(int));
Event 5848: DataTable_7.LoadDataRow(values_9555, true);
Event 10826: new DataTable();
Event 10827: DataTable_8.Columns;
Event 10828: DataColumnCollection_8.Add("ID", typeof(int));
Event 10834: DataTable_8.LoadDataRow(values_18353, true);
Event 10835: new NetworkCredential("et", "et");
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Event 10840: new NetworkCredential("et", "et");
Ending action vuser_end.
Vuser Terminated.
问题,使用Microsoft.net,需要其他设置么,谢谢 |
|