Xml代码收藏代码method="POST"version="1.1"contents="userId=deng0000%%_rndint%%&userIdType=1&spId=0&appId=10&businessCode=196&costType=10" />

TSUNG读取CSV文档

Xml代码 收藏代码



Xml代码 收藏代码

contents="%%lxwregister:getmessage%%">






Xml代码 收藏代码














method="POST" version="1.1" contents="userId=deng0000%%_rndint%%&userIdType=1&spId=0&appId=10&businessCode=196&costType=107&queryMode=01&eventTimestamp=20110304111111&signMethod=1&sign=32534535">






从csv文件中获取用户名和密码
Configure the CSV file:






tsung-recorder stop

tsung 进行脚本的运行 tsung-f /root/.tsung/abc.xml start

tsung 进行数据的图形转换。 /usr/local/tsung/lib/tsung/bin/tsung_stats.pl


使用含特殊字符的 登录包信息

POST /LoginRegister/LoginWithPassword HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: https://www.360docs.net/doc/2e3295119.html,:8383/
Accept-Language: zh-CN
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)
Host: https://www.360docs.net/doc/2e3295119.html,:8383
Content-Length: 120
DNT: 1
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: Hm_lvt_0e33f9362d15ba090bf8b44de800a5fd=1442219447,1442280403,1444807363; YP_SID=e885db7c9ccd474b93b2e2a81f0298b1; YP_UID=LyP8%2fi74pc3yhaYUM1UGmw%3d%3d; https://www.360docs.net/doc/2e3295119.html,_SessionId=mrttzgjgfvptirumeyov3llk

userName=JOY222222%https://www.360docs.net/doc/2e3295119.html,&password=111111&isAutoLogin=false&client=%7B%22screenX%22%3A1920%2C%22screenY%22%3A1080%7D


session 段中加入
delimiter=";" order="random">












除了从文件读取,也可以随机产生











下面是随机产生的数据。









iter or random
读取的顺序。

delimiter can be any string and order can be iter or random

a dynamic variable canbe a random number


for
from : 初始值 to : 最终值 incr: 增量


repeat name 循环名 max_repeat 循环次数

最后一个标签是 或者





相关主题
相关文档
最新文档