51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1622|回复: 0
打印 上一主题 下一主题

[原创] 录制Microsoft.net脚本回放失败

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2012-2-1 14:15:44 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
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]
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-10-6 12:29 , Processed in 0.114672 second(s), 29 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表