zhangping421 发表于 2009-9-24 22:15:56

lr设置参数化得问题

想测试一个C/S架构的程序,选用的的协议是:windows sockets协议,录制完脚本后如何设置检查点,脚本如下,现需要经send buf0 中的红色字中的那个编号进行参数化,请教高手该如何进行,我是直接将红色字体的账号进行的参数化,可是运行时服务器端没有收到参数化后的请求,请问是否需要其他设置?
;WSRData 2 1

sendbuf0 1056
      "POST /nssb/AgentServer HTTP/1.0\r\n"
      "Connection: keep-alive\r\n"
      "Content-Type: application/x-www-form-urlencoded\r\n"
      "Content-Length: 537\r\n"
      "Qdtax-Version:1.0\r\n"
      "Qdtax-Business:GXXZ\r\n"
      "Qdtax-Algorithm:RSA/PKCS1/DES/ECB/PKCS5/CRC\r\n"
      "Qdtax-Checksum:\r\n"
      "Qdtax-Key:jc+IP4H7AbFr5i+5Rx2Q8pCk5LRqPaKNjsAUyb1fxem5YePdlFqR+d0zllJ9VS2u"
      "qCk9P8gbXKZb6EblACxqYERDx/tN/o3URmCfOvSb4ECdr1tV5Z5Ez2SEQzChAFLTGnvG+niT2x"
      "RyD9tMkl6YbyeMXlJNANzlya5iDDsiOpg=\r\n"
      "Host: etax.qd-n-tax.gov.cn\r\n"
      "Accept: text/html, */*\r\n"
      "User-Agent: Mozilla/3.0 (compatible; Indy Library)\r\n"
      "\r\n"
      "taxsn=370205787582752&&data=GTdmzldzEBvjux%2F0uqRVKXRp0ItdOc%2BOz3pT3lq%2F"
      "K4H73lJuCTWVtN%2FS4VNra%2F9d1tLCZTKp32a6%0D%0AulQkLgldgQv2eiFMpQ1lq38XGN0o"
      "3n%2FOHugt0DAHssuBlx%2BTo5VwTJZauBaRfmF6%2F%2Ba3x46mWmLn%0D%0AL5j2sNFWxq3D"
      "SphpSg6eQ%2BJuIxe7n0OVa6PxVf11iWlLEmg7BW41eBALuhb4kqr9Fj9ylcXqO3gI%0D%0A3U"
      "3c3tjg3ma4uOwFC98tq1NAesGZiVqR6dvgjr8mqjcHu%2F8sdEXu7wVOmdicQrGAaUAqr0XAA2"
      "o4%0D%0ACJ7J1saiWEuivc89sfea8Xl6eQNm%2BOLK0OEgGaBuYFtV9%2F%2BX%2B8gxPoR4H9"
      "jioL45PhHS5DwdnRUX%0D%0AhwXlAPsYxkrhltSc7u1k1ssUwsohBGXKzlpX6FEPEkkADzqurK"
      "sP7OGKowp2x8f2RDs8&"

recvbuf1 5050
      "HTTP/1.1 200 OK\r\n"
      "Date: Thu, 24 Sep 2009 12:20:21 GMT\r\n"
      "Content-Type: text/html;charset=GBK\r\n"
      "Set-Cookie: JSESSIONID=7XRJK7kFyS2PsnwL601Qn0ryN5lsHYNmM7WnsyWJC4qvLTRG0Wf"
      "1!-435469557!NONE; path=/\r\n"
      "Content-Length: 4780\r\n"
      "Connection: Keep-alive\r\n"
      "Via: 1.1 AN-0003011047264576\r\n"
      "\r\n"
      "kTtSzw28XppNQGIp3N6PHXcxqZUntuhhz3pT3lq/K4FggWnofn6NCRtrorgX8z8x7RGUN9KHjE"
      "PT\n"
      "vpDxU2wZamhX4UaZukUvtPCNeJQqPSko0m5atHDUYabuTVV46O6K+FQzqudW7bxh5dWOGCEW/W"
      "gH\n"
      "SA7fK/XiUrY/PmxbMAnIr4MDTqxrGI8ca3H4ut1Fm/ZTRriH9UjEbNoyPSw5m4Or/xKLFfqNZS"
      "2U\n"
      "5Al8mEpj5qU0o1HRbmIWzsSnaPUvqYXTDF/0qGpKa+tV2yepPT1C7382CF9cLpoj1Dqu9bOidw"
      "Zh\n"
      "dIzU+WwA8PtmSY67IthMKZjIlNd7JTjvYjKxlqIwoRS6sBNwm17yk45MCOMQ/GKDCyNxWKdvZR"
      "KK\n"
      "id1/IvkQnJ+RTK3F45Ji9CFDE5lnQADhqBelF4zIpwxdntgb20NnCvX0IppDHZvfIlIO79qJeg"
      "Dg\n"
      "q7SVgPFQMcsOJG0HcL5TNgE9/azSwaLjzMt78z0kaUZe/1HPhzyd1Dq2VoKG1YyTHXeQ7hFKlD"
      "2M\n"
      "cx5veFhmd8h6SDwZFTd9VYoCnlNDIPTuNnNdLNfXSHe/M6pK/as/GK2RCKpgjt9bPB6J3iQDcg"
      "R5\n"
      "faUN0/nbVXzW71wsQdtRS/AcxJ3OPEAs7CWQvcxjUnqw18Czhhas5n5ajLbbyFS8mlajfIi1M8"
      "XP\n"
      "LwcaA3qcvADBxRBsnvpAopaqipaiSc+QB4bUm/eYzIzQGZiiWMuwU+ufmLebjTcxrITvHkz/LX"
      "CF\n"
      "iIinPXW3rBuDoSN2AgiOVy3LQ069UtQKoxAygPbZny8HUsEyhghWvQzd6yLH/w/+EUMCavgyQH"
      "Pr\n"
      "ksJrNS/MRhVN7VIz1ZhaNKmCMoygoAfpsKyodOOzh2MZnXjlbsZqE4NqVvZgTGxRPt1aRuBcHH"
      "tO\n"
      "WOoBLQ+nAcU6oUKsWay3L9IV7BJZRN+zCmPj41gCbnolC+Ou98Rh/cZ9aMGOhz+uam2zcZwxzt"
      "7B\n"
      "VF8LDSClEMqGia11KbPJUfxt7IjLiA1KJ4CzjNs9+LeT/eX7hn1eRIP6UlkcDFJL8xerHoalex"
      "Jk\n"
      "fG16uLBpcTHeIjeS90h9W1QnNjaVDPC2Am2UhVN6sl1rrpTExfuVpmFqYqN/4JfBY8xONIF3ZG"
      "Jr\n"
      "EKdmXXKDmcG1lzP1v7N9T6MqgBWPIDNrcSskMHzT2ouNrNoJs47K08lq6HCW/1GR19nCyFMvvS"
      "mb\n"
      "xyaFA3eMzSiKAuIik+HFesufnSwWHdaViOh/fdvoVYU1fdxfLBz7/XxXnCtfjheCmMf0zQTqPV"
      "RD\n"
      "Wha4Bz4QXVLb8H+YUqdf4pLWohdvPjs6S4GTFpJHe3cxqZUntuhhbMdOkDFAw4aVgD+7TmEend"
      "PR\n"
      "B+7+Fso8IK6yD4Q80P7wTdFp+3nttwlfxM29yY4769PnPhDHiKVM1pXvjqV7AALxuO8wc2SzS2"
      "ED\n"
      "FE1v7Uzcw/j5CuLRLZhQI3UgISABcCYVkGx5Bq32Nj2skYK0M4JhgP/cWMbr5ZP7E2iqy67Uzh"
      "5x\n"
      "xwwND3kJBR0Hqv1qr1bxpj1qhb0dH4+d2xV22iC7YaJR8F2hdzGplSe26GFmyNNvljDojLgBIX"
      "DL\n"
      "SSpsc9kkGB4n1YCrrcxvoBdwyLV51/7FnawhqSMNjp7APcoZXEm3BXiLYwIHEMcvkd+3ZGQBFO"
      "pm\n"
      "f1pUdTxzFHJ716B6nt97HTi1yTp1ghcV14XF2lnaFE8YFDFYAQJWZ6jasUrJ21dRdRkHJ/ChyU"
      "k2\n"
      "fweMuBgPSAax7S2Ym4JucrJetM5k8o+6XgRgwz+Y5yj8LbePI/zV7NM/dVc+NIk/I3/SJANYIj"
      "VT\n"
      "MDCI6CL0fMLpCTjO4MK4cS9N9kG51gBdzBTjTKTkG8mAxL5pqPqef2dWuz4bhO2jV90Pm/0bQn"
      "aX\n"
      "WAGMztaupHOjOrtOqp9odHH8RmZBA9xOXqR43eQxVsJbMcO5tW5abnUdkQCY2OXECEM9UcYnQI"
      "2u\n"
      "nIdxl7J2hjQbRj+kveBkEzpeUIHQCr6lDBgA7VNum15WQ1rRkNO0wRauS0npeRM/OdxRCLoHFi"
      "PK\n"
      "a+JJHTMo9YtmMVbdpukaOl2ZDv+bGqa9SN17julxUbeiCyOeCmf088qM98m0+DlPuRWvtxcYVd"
      "9G\n"
      "hvbwilTADJ0ihSROcXlGFM4F3vPMKzRjh4YoSZqToBwpL1I7oxLUfdyCBvCjxvYOA+CroAQegL"
      "et\n"
      "c39LR2ej947yiCt09MGQSEMuWHYU8DGYco1E0DSdb+tn8APhgtK3CipZ3G1ovdc5PDWxdccgjD"
      "Vs\n"
      "V+jm6eP4pyEk3OKDy3/wU/IgYOvGB6zh7l0YwnzaDEGefumKmzLmDImpSif4P/iFb57cdXr+94"
      "m6\n"
      "VQq5S8q0qmESD7TalM1O597C03Dbmnj1eojmMoo3C21sZrFCjQbzAbAGhiNGi0FocEj0Je13VU"
      "WK\n"
      "ym1thZzFO3pF8Id896IfE54637Foe6e50yIp4nruN0s7hODUzSla5nD92Uy0eGlUD3uzUW2YJr"
      "Rq\n"
      "GIi6mEJOhU28B3oaxxinsnvc5IQ/3RaSIfea0GTKE1z/dI0hLcVBzIZVyfzx5gbHcn+D3FAx+m"
      "zC\n"
      "ZKVQy0cTbFGOTEl4b4dH3gwEJvsh7iEJsigAG2WILRG7fVG8KbObxl4vR0SnsDXZrbh53wSErl"
      "ps\n"
      "BXtbUZWmTiCCNI36xvtgxxRKEJJZ2J3Mk2Kz5/VMXLputBbZsan39Gh5MTb6zIkNbIj1pmyTwA"
      "dN\n"
      "zYHlSDZUVbN2Mh2SJ79J+ydUEZILLfU5EEZjh0qpYKoCxulR14c526dJ//x61waan/GiYpE7Us"
      "8N\n"
      "vF6aVvQcPzRMvDx3MamVJ7boYT/UfGGVBWyFZSDhczuacMxPrmNIyuEhkc0BBKVmLyVmeYGcY5"
      "qa\n"
      "CuMkyrVQM4l9Lo1qKL4H9t2t74GPnjDYI1YQJi1WikRYgIt28+02CJrBPW4AZd8JOgucIODAT/"
      "Lc\n"
      "N5yJMfd9aTmjBYrcmnpWQrRVs5bxlpEDKCbzoewroXCE1aXmBj0LCwVbe0BdfXGw3zyQBmRUWj"
      "IE\n"
      "RTIzURIFfJan2wWsVCAyLA2OyjaJMee98ZoV3dCQ8nb7UqdMEwsppaBGDlu/wYNFU2p2ov/rw7"
      "mg\n"
      "NovVgDLXWJ5oW1Ij9uEgrRu87YTT/qhj94XQh0VUq42lGlP4kGAvwHjFbwP/MTQgKYUMmk4qAv"
      "7t\n"
      "QCZi1YzTzTAVn79wvSP26q80izqDpe9X4NCcHVYZ2NPZfF94iTlAxl1AjZzq7c+cW9YbCOePw1"
      "FI\n"
      "/axCSnvVZU+0Pji5DvcO5CqHm3ezsbqNGkshycjarHJEDrA8uTO5srnwhv9IugXZlC/SR4YSGV"
      "HG\n"
      "hQ7M2dCt5Dz/j8uvXd71gCnvY+/IyZtYFTg1b80fQXgPj3DXQa3n8QCUJi5FVlNZA4SBtZ1+jS"
      "uK\n"
      "yR2/pD7wVd7MAowIWcW/t5uBdH+NWymp6Xzvja0AjhbUfPZV9x3r1rvB/ZExvevGlPbVIpNcbg"
      "MZ\n"
      "2dctiNEz7fcAdebfZbA/16da2cqVXnqbUkT5xNHKVXytR1TZyTrYEbmsa/6yL2mcf19aVKvzqH"
      "6r\n"
      "Xu4yZY7F2xrQx56JH0jxAfpj9ddiovCdfsz6VDq0AEK5WiSz79wqUj82cI0YV1yhTa4EGtMvcy"
      "VE\n"
      "ujchUAyjHll2Rf/muZYSpaDwwqpkfWlQjEL05vptSIiLpilbyOTaRlBFhRHG/nok+JwcflIesB"
      "EQ\n"
      "d+0S7EPfsVKEXWzUCVdKDMTA2uOdsu4TeR/S0ULB98vXQcfEvjD69BA8b+pud+oqxUNs2fFJTO"
      "fE\n"
      "Yddx4+UtUnh/zSAg21K0JIaBFhYCH+sdo/hcfhDd+DAnDxi1GYZUXAMYHf8Yp8YKyq09jDBJvH"
      "7i\n"
      "bOZQQ347Y+2R4iF31DXP5U7bdZgPVNT0PCUDKEyF9Xk+NmeM6gj7tFbIzUUMD+Og+Fout1DZI1"
      "t1\n"
      "KeQ5XwnMvu7CDGZo3G1CeHjtcLibcpJz4MY9Rqxk0LR1nZBUbtLVYdkfXDcHCQ6Fy6yOZWAbBO"
      "m3\n"
      "R8dwZOEd4TDcekTVG8wXtlXuEIYo3wGdktHvsARpwRBPr9ZQ0WDgzpDxgcagS3SNQswCRmvAU7"
      "tc\n"
      "ICxwjogGlfj9enedIo+VCtHjk5cspiAKHXAVoH8SFBVICLdHxnmLtE16y+8Ec6QGh0IrA4Qigs"
      "9n\n"
      "FhGpHEI03rHWS3iqaLj8XldukGflX7t2gIWP6I812006WgmIoduLbM5OcEgeCY3ienhzsS/AN0"
      "pm\n"
      "vZi877fQCp6eUlL7/cyQF462eEaGUvCmULMkEO93i7/41jTPjcZuRu7cX3TdE4CozCRDnTZ7oy"
      "0D\n"
      "F0HfCc0EDl+E1en4O8IgL0j6kcN42alK4WktXxB+gQmI3gKpalJp78EkgXh9N/ZMbM3ZS6sYWE"
      "is\n"
      "Te0W6KlvdzGplSe26GF3MamVJ7boYQZnvcfOhqJlJce5BtT+Ch4F6F42UsDbmZV6Z25JgsK+Tz"
      "g/\n"
      "QpQz5W53MamVJ7boYeDPN2fHGXRi9lkmI5Uhodklx7kG1P4KHhGTOKGpr5TJ/s7hFoadS+8WnO"
      "EM\n"
      "42x7VHcxqZUntuhhEpxj6JKCB0VlIOFzO5pwzBKuYzbPbXK8lmygii0UZAMknuU43aq2qVAUfy"
      "q3\n"
      "AKM1dzGplSe26GH5vadOsIf6YSuxHcGJswcSuJHo6M/Gh1DGycWAPr3ajWUQ33Ap9jSlRkhqUh"
      "Ha\n"
      "3iE=\n"
      "\n"

-1

mzhy 发表于 2009-9-25 10:15:37

你参数化的设置参数是什么?select next row 和update value on 选择的是什么?

zhangping421 发表于 2009-9-25 10:39:47

我使用的是在parameter properties 中edit with notepad 编辑的dat文件

zhangping421 发表于 2009-9-25 10:41:43

我把红色字体的那部分参数话后,执行时,脚本没有报错,可是在服务器端却收不到请求

mzhy 发表于 2009-9-25 10:49:39

参数化中的信息,一个都没有收到吗

zhangping421 发表于 2009-9-25 11:21:24

是呀,是不是我只把那个帐号参数化一下不行呀?其他的地方要不要也做相应的修改,这个系统的业务就是在客户端输入帐号,向服务器端发出请求,服务器端帐号验证通过后,把符合的数据发到客户端下

GeorgeWangLC 发表于 2009-9-28 21:34:27

可以先动态捕获,在输出,用做验证
页: [1]
查看完整版本: lr设置参数化得问题