标题: 录制Microsoft.net脚本回放失败 [打印本页] 作者: mky_66 时间: 2012-2-1 14:15 标题: 录制Microsoft.net脚本回放失败 Microsoft vs2008环境下开发的c/s架构项目的性能测试,采用wcf协议
现象:一回放录制的脚本就失败,错误如下
错误信息:
我采用Microsoft.net协议录制的
Error: Failed to compile virtual user.
Notify: __________________________________________________
Notify: 项目“C:\Documents and Settings\Administrator\Local Settings\Temp\noname3\Script.sln”(Build 目标):
Notify:
Notify: __________________________________________________
Notify: 项目“C:\Documents and Settings\Administrator\Local Settings\Temp\noname3\Script.sln”正在生成“C:\Documents and Settings\Administrator\Local Settings\Temp\noname3\Script.csproj”(默认目标):
Notify:
Notify: vuser_init.cs(57,12): warning CS1030: #warning: ': Code Generation Error'
Notify: vuser_init.cs(89,12): warning CS1030: #warning: ': Code Generation Warning'
Notify: vuser_init.cs(120,12): warning CS1030: #warning: ': Code Generation Warning'
Notify: vuser_init.cs(150,12): warning CS1030: #warning: ': Code Generation Error'
Notify: vuser_init.cs(183,12): warning CS1030: #warning: ': Code Generation Warning'
Notify: vuser_init.cs(214,12): warning CS1030: #warning: ': Code Generation Warning'
Notify: vuser_init.cs(247,12): warning CS1030: #warning: ': Code Generation Error'
Error: vuser_init.cs(63,32): error CS0103: The name 'item_1' does not exist in the current context
Error: vuser_init.cs(93,32): error CS0103: The name 'item_1' does not exist in the current context
Error: vuser_init.cs(124,32): error CS0103: The name 'item_1' does not exist in the current context
Error: vuser_init.cs(156,32): error CS0103: The name 'item_2' does not exist in the current context
Error: vuser_init.cs(187,32): error CS0103: The name 'item_2' does not exist in the current context
Error: vuser_init.cs(218,32): error CS0103: The name 'item_2' does not exist in the current context
Error: vuser_init.cs(253,32): error CS0103: The name 'item_3' does not exist in the current context
Notify: 已完成生成项目“Script.csproj”-- 失败。
Warning: Extension DotnetExtensionReplay.dll reports error -1 on call to function ExtPerProcessInitialize [MsgId: MWAR-10485]
Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread. [MsgId: MERR-10176]