1.Parameter type:参数类型 2. Select columm :选择列的方式,可以通过列编号或名称。 By number:通过列编号 比如参数accounts位于第1列,password位于第2列(accounts和password设为对应关系后) By name:通过列名称 3.F Read More
posted @ 2017-09-13 15:48 happy_xiaoxiao Views(403) Comments(0) Diggs(0) Edit
多用户测试,每个用户账号对应一个密码,账号和密码需要一 一关联才能登录成功。 1.在已经对账号进行参数化后,选中密码的值-》右键选择Replace with a Parameter,参数名为password,点击Properties... 2.File选择需要关联的账号的参数文件,accounts. Read More
posted @ 2017-09-13 14:52 happy_xiaoxiao Views(636) Comments(0) Diggs(0) Edit
录制完脚本后,想要对脚本重复使用需要对某些值设定为参数,如accounts和password。 1.选中需要参数化的accounts值,点击右键-》选择Replace with a parameter 2.输入参数名称,点击ok 3.如果用户少,可以通过Add Row...一行一行进行添加;如果用户 Read More
posted @ 2017-09-13 14:37 happy_xiaoxiao Views(706) Comments(0) Diggs(0) Edit
多用户并发测试,用户信息来自数据库,对脚本中accounts值替换为参数后,打开参数列表。 1.点击 Data Wizard...;选择Specify SQL statement manu: 2.点击Create... 3.选择机器数据源-》新建 4.选择系统数据源 5.选择SQL Server(数 Read More
posted @ 2017-09-13 14:11 happy_xiaoxiao Views(2098) Comments(0) Diggs(0) Edit
录制的脚本中中文字符显示乱码 在Tools->Recording Options中设置支持UTF-8即可 Read More
posted @ 2017-09-13 09:30 happy_xiaoxiao Views(450) Comments(0) Diggs(0) Edit