上一页 1 ··· 6 7 8 9 10 11 下一页
1.新安装完系统后窗口较小 2.在虚拟机->安装VMware Tools 3.如果像上图一样,“安装VMware Tools”是灰色的,那么在虚拟机设置中再添加一个CD/DVD驱动器 4.然后进入系统,在可移动存储的设备中双击 “VMware Tools” Read More
posted @ 2017-12-02 10:02 happy_xiaoxiao Views(1051) Comments(0) Diggs(0) Edit
准备工作:按照《新建虚拟机_XP系统(一)》中操作步骤创建好虚拟机 1.启动虚拟机进入如下界面。新建分区。选择[6]运行DiskGenius工具 2.选择快速分区。可以自定义 3.新建分区完成之后选择重新启动 4.提示"NTLDR is Missing",需要修改BIOS启动顺序 5.从虚拟机->电 Read More
posted @ 2017-12-02 09:55 happy_xiaoxiao Views(268) Comments(0) Diggs(0) Edit
准备工作:(1)安装VMware (2)下载系统镜像文件 1.新建虚拟机 2.下一步,选择“稍后安装操作系统” 3.选择操作系统类型和版本 4.设置虚拟机名称和安装位置 (安装路径空间要足够大) 5.设置磁盘大小 6.点击完成 7.在虚拟机设置->CD/DVD(IDE)中设置镜像文件 Read More
posted @ 2017-12-02 08:23 happy_xiaoxiao Views(323) Comments(0) Diggs(0) Edit
录制完脚本,并调试运行正常后,想要模拟并发进行压力测试,需要创建场景。 1.点击Tools->Create Controller Scenario... 2.选择手工场景,并设置并发用户数。点击OK进入场景界面 3.Scenario Schedule中的Global Schedule中设置场景的开始 Read More
posted @ 2017-09-18 17:48 happy_xiaoxiao Views(492) Comments(0) Diggs(0) Edit
迭代:指运行一次脚本时某段代码块(action)循环执行的次数,串行执行 并发:指同时运行脚本的次数,并行执行(多个用户同时跑) 以下是用例和对应的相关设置 Iterations是在Vuser Generator的Run-time Setting中进行设置 Quantity是在Controller Read More
posted @ 2017-09-15 16:01 happy_xiaoxiao Views(1774) Comments(0) Diggs(0) Edit
使用函数concatenate()将多个字符连接起来 Read More
posted @ 2017-09-14 14:06 happy_xiaoxiao Views(302) Comments(0) Diggs(0) Edit
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(409) 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(639) 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(713) 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(2119) Comments(0) Diggs(0) Edit
上一页 1 ··· 6 7 8 9 10 11 下一页