Microsoft_web_application_stress_tool(WAS中文说明书)
### Microsoft Web Application Stress Tool (WAS) 使用指南 #### 一、准备工作 在开始使用Microsoft Web Application Stress Tool (以下简称WAS)之前,确保环境的干净和一致是非常重要的。为此,你需要清除IE浏览器中的缓存和Cookies等临时文件,具体步骤如下: 1. **启动IE浏览器**:打开IE浏览器后,在右上角找到并点击“工具”菜单。 2. **打开Internet选项**:在弹出的菜单中选择“Internet选项”。 3. **删除临时文件**:在“Internet选项”窗口中,切换到“常规”标签页,点击“Internet临时文件”区域下的“删除Cookies”和“删除文件”按钮,彻底清除临时文件。 #### 二、录制测试脚本 1. **安装并启动WAS**:安装完成后,启动WAS,程序会自动打开“Createnew script”对话框,用于创建新的测试脚本。 2. **开启录制**:若未自动打开此对话框,可在主程序窗口工具栏上点击“New Script”按钮。 3. **设置录制参数**: - **录制选项**:在新建脚本窗口中点击“Record”按钮,进入“Browser Recorder-Step1of 2”向导,选择要记录的内容类型,如请求(Request)、Cookies、主机标题(Host headers)等。 - **完成设置**:点击“Next”按钮继续至下一步,然后点击“Finish”完成设置。 4. **录制测试过程**: - WAS会自动启动浏览器,此时可以在地址栏输入要测试的网站地址,随着页面加载,WAS的“Recording”选项卡中会实时显示相关信息。 - 浏览器状态栏显示“完成”后,返回WAS界面,点击“Stop Recording”按钮结束录制。 #### 三、测试设置 为了提高测试的真实性和准确性,需要进一步配置测试脚本。 1. **去除静态干扰**:网页通常包含多种元素,如图片、文字等静态内容,这些元素对性能测试影响不大,可以考虑从测试脚本中删除。在脚本中选中这些静态元素,使用工具栏上的“Delete”按钮移除。 2. **设置并发数**: - **并发连接数(Concurrent Connections)**:在“New Recorded Script”的“Settings”标签页下设置并发连接数。 - **压力级别(Stress level)** 和 **负载倍数(Stress multiplier)**:通过调整这两项参数来控制对目标服务器的压力和负载。 3. **时间设置**: - **测试运行时间(Test Run Time)**:设置测试持续的时间长度。 - **停止响应时间(Request Delay)**:定义连接超时时间。 - **挂起时间(Suspend)**:包括预热(Warmup)和冷却(Cooldown)时间,有助于确保测试结果的准确性。 4. **指定带宽瓶颈(Bandwidth)**:根据目标网站的访问者主要使用的网络带宽类型来选择合适的设置,如拨号上网的56K等。 #### 四、开始测试 1. **运行测试脚本**:在左侧菜单中选中新建的脚本“New Recorded Script”,点击工具栏上的“Run Script”按钮或从“Scripts”菜单中选择“Run”命令开始测试。 2. **监控测试进度**:测试过程中,进度条会实时显示测试进度,直到测试结束。 #### 五、数据分析 1. **查看测试报告**:在WAS主界面上点击“View”菜单,选择“Reports”,在左侧列表中按照时间顺序找到本次测试的报告。 2. **关键指标解读**: - **Socket Errors**:这一部分展示了客户端与服务器之间的连接错误、发送错误、接收错误以及超时次数。如果这些数值较低,说明服务器表现良好;反之,则需要进一步排查问题。 - **Result Codes**:如果大部分请求的结果代码为200,表示请求成功处理。 通过以上步骤,你可以有效地利用Microsoft Web Application Stress Tool来评估和优化Web应用程序的性能。
剩余11页未读,继续阅读
- handyueyh2014-04-03不错,同时下了软件,试用了一下,效果很好
- 粉丝: 6
- 资源: 12
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Cisco 思科 CP-7945g 7965g sip模式固件 9.4.2
- 贪吃蛇方案设计的方法.zip
- 微信支付账单(20240731-20240731).zip
- minio20240920.tar
- 集成供应链(Integrated Supply Chain,ISC)核心业务流程再造,华为的最佳实践
- zabbix-server-pgsql-7.0-centos-latest.tar
- zabbix-web-apache-pgsql-7.0-centos-latest.tar
- Altium Designer 24.9.1 Build 31 (x64)
- 基于JAVA的人机对弈的一字棋系统设计与实现课程设计源代码,极大极小搜索和α-β搜索算法
- 电子回单_2024092100085000842531409053050071685353.pdf