51Testing软件测试论坛

标题: loadrunner录制flex脚本问题 [打印本页]

作者: minlan55    时间: 2013-4-27 17:03
标题: loadrunner录制flex脚本问题
loadrunner 11   录制程序是基于浏览器的,
程序开发的客户端flex版本是4.5.1,服务器端用的是C#  ,采用http通信
录制选择协议是flex+http
脚本生成后:本系统是股票下单的,脚本生成后只有关键业务“下单部分”没有成功生成脚本,其它的功能生成脚本正常
请大家帮忙分析分析
1、脚本录制完成后,生成代码时出现如下提示:
[attach]84976[/attach]
2、脚本生成完后,查看generation log  出现如下提示:
AMF error: Failed to translate response body to binary
AMF error: Failed to find request and response
Flex RTMP notify: Cleaning FlexRTMPFirstFilter
Flex RTMP notify: Cleaning FlexRTMPSecondFilter
AMF notify: AMFFilter_CleanUp (1)
Flex Remoting notify: Cleaning FlexRemotingPackageFilter

3、保存脚本时,保存对话框出现错误:
[attach]84977[/attach]
其中查看详细错误信息为:

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。
   在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
   在 System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
   在 System.Windows.Forms.Label.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.Label.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

【由于帖子的长度有限制,所以部分信息删除了,完整的错误信息在附件中】

************** 已加载的程序集 **************

mscorlib

    程序集版本: 2.0.0.0

    Win32 版本:

    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

BPTManagerImpl

    程序集版本: 11.0.0.8859

    Win32 版本: 11.0.0.8859

    基本代码: file:///D:/Program%20Files/HP/LoadRunner/bin/BPTManagerImpl.DLL

----------------------------------------




************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。

[attach]84978[/attach][attach]84978[/attach]
作者: 云层    时间: 2013-4-28 08:48
不要从界面考虑问题,只要解决后面的协议层次问题就行了
作者: minlan55    时间: 2013-4-28 09:54
回复 2# 云层
老师!  可以具体点告诉我怎么解决么??   
谢谢  谢谢  谢谢
作者: minlan55    时间: 2013-5-9 16:40
直接根据抓到的包   把没录到的部分贴上  完事了




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2