51Testing软件测试论坛

标题: 使用LoadRunner 9.1(使用AJAX(Click and Script))进行ArcGIS Server 9.2的负载测试 [打印本页]

作者: zctang    时间: 2008-5-28 17:13
标题: 使用LoadRunner 9.1(使用AJAX(Click and Script))进行ArcGIS Server 9.2的负载测试
使用LoadRunner 9.1(使用AJAX(Click and Script))进行ArcGIS Server 9.2的负载测试,仅录制了放大、平移2个操作,脚本如下:
Action()
{

        web_browser("default.aspx",
                DESCRIPTION,
                ACTION,
                "Navigate=http://gistest/tzc/default.aspx",
                LAST);

        web_static_image("Zoom In",
                "Snapshot=t1.inf",
                DESCRIPTION,
                "Alt=Zoom In",
                "Name=",
                ACTION,
                "FireEvent=onmouseover",
                LAST);

        web_static_image("Zoom In_2",
                "Snapshot=t2.inf",
                DESCRIPTION,
                "Alt=Zoom In",
                "Name=",
                ACTION,
                "ClickCoordinates=10,14",
                LAST);

        lr_think_time(4);

        web_static_image("Pan",
                "Snapshot=t3.inf",
                DESCRIPTION,
                "Alt=Pan",
                "Name=",
                ACTION,
                "FireEvent=onmouseover",
                LAST);

        web_static_image("Pan_2",
                "Snapshot=t4.inf",
                DESCRIPTION,
                "Alt=Pan",
                "Name=",
                ACTION,
                "ClickCoordinates=9,15",
                LAST);

        web_image_link("MapTileImage_Map1_3_3_tzc",
                "Snapshot=t5.inf",
                DESCRIPTION,
                "Alt=",
                "Name=MapTileImage_Map1_3_3_tzc",
                ACTION,
                "FireEvent=onmouseover",
                LAST);

        web_image_link("MapTileImage_Map1_3_3_tzc_2",
                "Snapshot=t6.inf",
                DESCRIPTION,
                "Alt=",
                "Name=MapTileImage_Map1_3_3_tzc",
                ACTION,
                "ClickCoordinates=83,354",
                LAST);

        return 0;
}

但脚本播放始终不成功,在播放到平移提示错误如下:
Action.c(48): Error -26227: Image not found          [MsgId: MERR-26227]
Action.c(48): Found 8 Image Link object(s) in the browser/frame:          [MsgId: MMSG-26177]
Action.c(48):         [1] Name="", Id="", Alt="Skip Navigation Links", Src="http://gistest/tzc/WebResource.axd?d=5rhEbLyWkqGqvaY6PLvJbQ2&t=633449745932598056", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [2] Name="", Id="", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [3] Name="MapTileImage2_Map1_0_0_tzc", Id="MapTileImage2_Map1_0_0_tzc", Alt="", Src="http://gistest/tzc/ESRI.ArcGIS.ADF.Web.MimeImage.ashx?ImgID=16dd7053-0194-4133-be82-890c112d828a&CacheTime=1&kc=1", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [4] Name="MapTileImage2_Map1_1_0_tzc", Id="MapTileImage2_Map1_1_0_tzc", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [5] Name="MapTileImage2_Map1_0_1_tzc", Id="MapTileImage2_Map1_0_1_tzc", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [6] Name="MapTileImage2_Map1_1_1_tzc", Id="MapTileImage2_Map1_1_1_tzc", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [7] Name="MapTileImage_Map1_0_0_tzc", Id="MapTileImage_Map1_0_0_tzc", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48):         [8] Name="", Id="", Alt="Skip Navigation Links", Src="http://gistest/tzc/WebResource.axd?d=5rhEbLyWkqGqvaY6PLvJbQ2&t=633449745932598056", IsMap="0"          [MsgId: MMSG-26000]
Action.c(48): web_image_link("MapTileImage_Map1_3_3_tzc") highest severity level was "ER
作者: rickyzhu    时间: 2008-5-28 17:50
ArcGIS Server 9.2 是什么?
作者: zctang    时间: 2008-5-28 18:28
ArcGIS Server是创建企业级GIS应用程序的平台:
http://www.esrichina-bj.cn/produce/ESRI/server/summarize.htm

http://gistest/tzc/default.aspx是我使用ArcGIS Server 9.2模版创建的一个WebGIS网站,现在想对该站点进行负载测试,碰到上述问题。
作者: liangjz    时间: 2008-5-28 22:44
web_image_link("MapTileImage_Map1_3_3_tzc",
                "Snapshot=t5.inf",
                DESCRIPTION,
                "Alt=",
                "Name=MapTileImage_Map1_3_3_tzc",
                ACTION,
                "FireEvent=onmouseover",
                LAST);
这个出错?

换成web_url请求图片看看
作者: maxid    时间: 2008-9-12 01:41
LoadRunner 9.1在那里下载?
作者: 七格格    时间: 2009-3-9 11:21
这个问题现在解决了么???
我也现也遇到这种问题,解决不了..
如果解决了,麻烦高手说下方法...
作者: mlx1036    时间: 2012-5-13 12:19
Error -26227: Image not found
作者: archonwang    时间: 2012-5-13 13:52
晕,估计是无法加载到对应的图片。涉及到gisserver的图片切片和分层问题。

尝试下关联看看。




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