下载此文档

软件测试实验报告.doc


文档分类:中学教育 | 页数:约13页 举报非法文档有奖
1/13
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/13 下载此文档
文档列表 文档介绍
软件测试实验报告
学号:2100912068
姓名:李鑫
班级:计生本102
一、实验要求
(JAVA_HOME配置),Eclipse 进行JSP开发环境配置(Window->Preferences->)
XAMPP+TOMCAT+ECLIPSE
JUnit自动化测试工具使用
Selenium录制回放工具使用
Badboy脚本生成、Apache JMeter监听器的使用
二、实验内容
Eclipse配置
Window->Preferences->JAVA->Installed JREs
Properties For WebExample->Java Build Path
XAMPP Control Panel Application
Apache tomcat-
首页访问:http://localhost:8080/WebExample/
输入用户名,密码登录
登录成功->欢迎页面
Selenium IDE
自制http://localhost:8080/WebExample/ URL
生成的脚本文件:
<?xml version="" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Strict//EN" "/xhtml1/DTD/xhtml1-">
<html xmlns="9/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide./profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="" href="http://localhost:8080/WebExample/" />
<title>New Test</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">New Test</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/WebExample/</td>
<td></td>
</tr>
<tr>
<td>verifyTextPresent</td>
<td>lx</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
Apache JMeter
BadBoy脚本生成:


添加监听器->聚合报告,线程设置
线程数设置

软件测试实验报告 来自淘豆网m.daumloan.com转载请标明出处.

非法内容举报中心
文档信息
  • 页数13
  • 收藏数0 收藏
  • 顶次数0
  • 上传人mh900965
  • 文件大小1.32 MB
  • 时间2018-03-12