zctang 发表于 2008-5-28 17:13:30

使用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       
Action.c(48): Found 8 Image Link object(s) in the browser/frame:       
Action.c(48):         Name="", Id="", Alt="Skip Navigation Links", Src="http://gistest/tzc/WebResource.axd?d=5rhEbLyWkqGqvaY6PLvJbQ2&t=633449745932598056", IsMap="0"       
Action.c(48):         Name="", Id="", Alt="", Src="http://gistest/tzc/WebResource.axd?d=tqgZuGW3X5g2I08U8S67toKXbsDOX5DEQMPTxGpEeT9TFUJyeUCT1HfJZKdUz32ugrOdfHl8UtG3BXruc5gQ4Nc2nwX_Pc1fTaR8el7RCy9GD10KBuDpdf_O9axb5Fv9BdbxCCNU8jOsPABEZ8QIvwozmoWSZs7dxtaqTV4nhfA1&t=633450837118523121", IsMap="0"       
Action.c(48):         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"       
Action.c(48):         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"       
Action.c(48):         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"       
Action.c(48):         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"       
Action.c(48):         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"       
Action.c(48):         Name="", Id="", Alt="Skip Navigation Links", Src="http://gistest/tzc/WebResource.axd?d=5rhEbLyWkqGqvaY6PLvJbQ2&t=633449745932598056", IsMap="0"       
Action.c(48): web_image_link("MapTileImage_Map1_3_3_tzc") highest severity level was "ER

rickyzhu 发表于 2008-5-28 17:50:09

ArcGIS Server 9.2 是什么?

zctang 发表于 2008-5-28 18:28:33

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:00

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:30

LoadRunner 9.1在那里下载?

七格格 发表于 2009-3-9 11:21:02

这个问题现在解决了么???
我也现也遇到这种问题,解决不了..
如果解决了,麻烦高手说下方法...

mlx1036 发表于 2012-5-13 12:19:27

Error -26227: Image not found

archonwang 发表于 2012-5-13 13:52:45

晕,估计是无法加载到对应的图片。涉及到gisserver的图片切片和分层问题。

尝试下关联看看。
页: [1]
查看完整版本: 使用LoadRunner 9.1(使用AJAX(Click and Script))进行ArcGIS Server 9.2的负载测试