51Testing软件测试论坛

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

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2376|回复: 2
打印 上一主题 下一主题

[原创] 对服务器中的文档要怎么进行正确的关联?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-4-22 15:39:08 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
请问要把下面脚本中标记为红色的文档标识符进行关联,要怎么写关联函数,要怎么设置脚本?谢谢
Action()
{
        lr_think_time(11);
        web_url("agtMarkRead",
                "URL=http://192.168.0.63/V3.71/zSysRes.nsf/agtMarkRead?OpenAgent&DBPath=V3.71/zEngine.nsf&NTID=NT00000942",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.63/V3.71/zLEngine.nsf/frmWDoing?openform&Count=30",
                "Snapshot=t625.inf",
                "Mode=HTTP",
                LAST);

        web_url("3D0E0D4D33A41A484825743300238222",
                "URL=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.63/V3.71/zLEngine.nsf/frmWDoing?openform&Count=30",
                "Snapshot=t626.inf",
                "Mode=HTTP",
                LAST);

        web_concurrent_start(NULL);

        web_url("Form.css_2",
                "URL=http://192.168.0.63/icons/icons/Default/Form.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.0.63/V3.71/zLEngine.nsf/frmWDoing?openform&Count=30",
                LAST);

        web_url("bevariables.js_3",
                "URL=http://192.168.0.63/icons/icons/bevariables.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                "Snapshot=t631.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("calendar.js",
                "URL=http://192.168.0.63/icons/icons/calendar.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                "Snapshot=t633.inf",
                LAST);

        web_url("fbarEngine.js",
                "URL=http://192.168.0.63/icons/icons/DBJS/fbarEngine.js",
                "Resource=1",
                "RecContentType=application/x-javascript",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                "Snapshot=t634.inf",
                LAST);

        web_concurrent_end(NULL);

        web_url("ecblank.gif_2",
                "URL=http://192.168.0.63/icons/ecblank.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                LAST);

        web_url("act_Down.gif",
                "URL=http://192.168.0.63/icons/icons/Default/act_Down.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
                "Snapshot=t642.inf",
                LAST);

        web_url("frmEditOpinion",
                "URL=http://192.168.0.63/V3.71/zEngine.nsf/frmEditOpinion?OpenForm&UNID=3D0E0D4D33A41A484825743300238222",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://192.168.0.63/V3.71/zLEngine.nsf/frmWDoing?openform&Count=30",
                "Snapshot=t643.inf",
                "Mode=HTTP",
                LAST);
        web_url("Dialog.css",
                "URL=http://192.168.0.63/icons/icons/Default/Dialog.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://192.168.0.63/V3.71/zEngine.nsf/frmEditOpinion?OpenForm&UNID=3D0E0D4D33A41A484825743300238222",
                "Snapshot=t644.inf",
                LAST);

web_submit_data("3d0e0d4d33a41a484825743300238222",
  "Action=http://192.168.0.63/V3.71/zEngine.nsf/0/3d0e0d4d33a41a484825743300238222?EditDocument&Seq=1",
  "Method=POST",
  "RecContentType=text/html",
  "Referer=http://192.168.0.63/V3.71/zEngine.nsf/0/3D0E0D4D33A41A484825743300238222?EditDocument",
  "Snapshot=t656.inf",
  "Mode=HTTP",
  ITEMDATA,
  "Name=__Click", "Value=0", ENDITEM,
  "Name=%%ModDate", "Value=4825743300238288", ENDITEM,
  "Name=e_FlowType", "Value=¹«ÎÄ", ENDITEM,
  "Name=e_FlowName", "Value=ÊÕÎÄ", ENDITEM,
  "Name=e_FlowAlias", "Value=A002", ENDITEM,
  "Name=e_FlowVer", "Value=1.0", ENDITEM,

……
  LAST);
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

3#
发表于 2008-4-23 09:35:26 | 只看该作者
查看你server response 中的信息,找到对应的信息用web_reg_save_parm函数,但是我看此处好像不需要关联,假如没有server response信息就直接设参数吧,不需要关联
回复 支持 反对

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2008-4-23 09:08:28 | 只看该作者
怎么没有人帮忙啊,急,麻烦大家帮帮忙!
回复 支持 反对

使用道具 举报

本版积分规则

关闭

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

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

GMT+8, 2024-10-7 18:31 , Processed in 0.075674 second(s), 26 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

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