教务管理系统测试报告.docx

上传人:b****6 文档编号:7317102 上传时间:2023-01-22 格式:DOCX 页数:16 大小:205.64KB
下载 相关 举报
教务管理系统测试报告.docx_第1页
第1页 / 共16页
教务管理系统测试报告.docx_第2页
第2页 / 共16页
教务管理系统测试报告.docx_第3页
第3页 / 共16页
教务管理系统测试报告.docx_第4页
第4页 / 共16页
教务管理系统测试报告.docx_第5页
第5页 / 共16页
点击查看更多>>
下载资源
资源描述

教务管理系统测试报告.docx

《教务管理系统测试报告.docx》由会员分享,可在线阅读,更多相关《教务管理系统测试报告.docx(16页珍藏版)》请在冰豆网上搜索。

教务管理系统测试报告.docx

教务管理系统测试报告

测试报告

 

§1.功能测试

1.1.测试对象

兰州交通大学教务管理系统

1.2.测试计划

1):

登录功能

Ø用户是否可以成功登登录

Ø是否可以区分不同类别的用户登录

Ø错误密码是否可以登录

2):

学生模块的查看信息模块

Ø学生是否能看到自己的信息

Ø学生能否越权看到别人的信息

1.3.测试用例

1.3.1.输入

注:

这里以学生登录为例

账号:

"学生"

密码:

正确的密码

1.3.2.输出

登录该学生主页

1.3.3.步骤及操作

1、打开系统的首页

2、填写密码

3、点击登录

4、查看信息

1.3.4.允许偏差

允许有少许偏差

1.4.测试实施

1、启动winrunner窗体录制(ContextSensitivemode)

2、打开系统登录界面

#Shell_TrayWnd

set_window("Shell_TrayWnd",1);

toolbar_button_press("ToolbarWindow32_1","欢迎使用正方教务管理系统!

请登录-GoogleChrome");#ButtonNumber14;

3、输入用户名及密码进行登录

#欢迎使用正方教务管理系统!

请登录-GoogleChrome

set_window("欢迎使用正方教务管理系统!

请登录-GoogleChrome",3);

obj_type("Chrome_RenderWidgetHostHWND","200905420");

obj_mouse_click("Chrome_RenderWidgetHostHWND",877,250,LEFT);

obj_type("Chrome_RenderWidgetHostHWND","8350365");

obj_mouse_click("Chrome_RenderWidgetHostHWND",805,325,LEFT);

4、进入主界面

#202.201.29.21says:

上的网页

win_mouse_click("202.201.29.21says:

上的网页",304,121);

5、信息查询

#正方教务管理系统-GoogleChrome

set_window("正方教务管理系统-GoogleChrome",7);

obj_mouse_click("Chrome_RenderWidgetHostHWND",538,77,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",524,122,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",530,143,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",144,131,LEFT);

#Chrome_RenderWidgetHostHWND

win_mouse_click("Chrome_RenderWidgetHostHWND",50,160);

obj_mouse_click("Chrome_RenderWidgetHostHWND",123,156,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",548,100,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",550,161,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",542,186,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",545,199,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",451,75,LEFT);

obj_mouse_click("Chrome_RenderWidgetHostHWND",457,97,LEFT);

6、脚本执行结果

§2.性能测试

2.1.测试对象

兰州交通大学教务管理系统

2.2.测试计划

使用loadrunner对系统进行性能测试,主要测试其负载能力,包括服务器稳定性及操作响应时间

2.3.测试环境

2.3.1.软件环境

资源

描述

数量

测试客户端软件环境

LoadRunner7.8

负载生成工具软件,License为10000

1

Office2000办公软件

用于测试数据处理

1

Windows2000professional

测试客户端操作系统软件

1

IE6.0及其相应页面组件

测试客户端应用软件

1

测试服务器端软件环境

Windows2000professional

服务器端操作系统软件

1

Weblogic8.1(jdk1.4.2)

应用服务器软件

1

AIX5.2.0.0/Informix7以上

DBServer

1

2.3.2.硬件环境

资源

描述

数量

测试客户端硬件环境

台式PC:

CPU=2.8GHz,1G内存(最低512M),40G硬盘

2

测试服务器端硬件环境

AIX-6000:

1

2.4.测试场景

场景

并发用户数量

运行场景设置

测试点

登录

100

每15秒创建5个用户

服务器稳定性及操作响应时间

2.5.测试实施

2.5.1.测试脚本

#include"web_api.h"

#include"lrw_custom_body.h"

vuser_init()

{

web_add_cookie("1000014384_5695919051669582850=6625f235e89061ea7d5a9d813b9635ae;DOMAIN=");

web_url("videourlsnifferconfig.xml",

"URL=

"Resource=0",

"RecContentType=text/xml",

"Referer=",

"Snapshot=t1.inf",

"Mode=HTML",

LAST);

web_url("202.201.29.21",

"URL=http:

//202.201.29.21/",

"Resource=0",

"RecContentType=text/html",

"Referer=",

"Snapshot=t2.inf",

"Mode=HTML",

EXTRARES,

"URL=/style/base/base.css",ENDITEM,

"URL=/style/base/forms.css",ENDITEM,

"URL=/style/base/module.css",ENDITEM,

"URL=/style/base/page.css",ENDITEM,

"URL=/style/standard/base.css",ENDITEM,

"URL=/style/standard/module.css",ENDITEM,

"URL=/style/standard/forms.css",ENDITEM,

"URL=/style/standard/page.css",ENDITEM,

"URL=/style/js/ie6comm.js",ENDITEM,

"URL=/style/standard/images/login_bg.jpg",ENDITEM,

"URL=/logo/logo_school.png",ENDITEM,

"URL=/style/standard/images/login_zf.jpg",ENDITEM,

"URL=/style/standard/images/login_right.jpg",ENDITEM,

"URL=/logo/logo_jw.png",ENDITEM,

"URL=/style/standard/images/login_in.gif",ENDITEM,

"URL=/style/standard/images/login_ico2.gif",ENDITEM,

"URL=/style/standard/images/login_res.gif",ENDITEM,

"URL=/style/standard/images/logo_copy.gif",ENDITEM,

"URL=/logo/login_pic.png",ENDITEM,

"URL=/style/standard/images/login_left.jpg",ENDITEM,

LAST);

lr_think_time(38);

web_submit_form("default2.aspx",

"Snapshot=t3.inf",

ITEMDATA,

"Name=TextBox1","Value=200905420",ENDITEM,

"Name=TextBox2","Value=8350365",ENDITEM,

"Name=RadioButtonList1","Value=学生",ENDITEM,

"Name=lbLanguage","Value=",ENDITEM,

"Name=Button1","Value=",ENDITEM,

EXTRARES,

"URL=/style/base/base.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/base/forms.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/base/module.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/base/page.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/base.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/module.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/page.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/forms.css","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/js/ie6comm.js","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/head_bg.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/head_leftbg.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/linge_3.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/nav_bg.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/nav_bg_down.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/logo_copy.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/icons.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/footer_r.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

"URL=/style/standard/images/info_bg.gif","Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",ENDITEM,

LAST);

return0;

}

#include"as_web.h"

Action()

{

web_url("base.css",

"URL=http:

//202.201.29.21/style/standard/base.css",

"Resource=1",

"RecContentType=text/css",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("page.css",

"URL=http:

//202.201.29.21/style/standard/page.css",

"Resource=1",

"RecContentType=text/css",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("module.css",

"URL=http:

//202.201.29.21/style/standard/module.css",

"Resource=1",

"RecContentType=text/css",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("forms.css",

"URL=http:

//202.201.29.21/style/standard/forms.css",

"Resource=1",

"RecContentType=text/css",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("nav_lirighthover_down.gif",

"URL=http:

//202.201.29.21/style/standard/images/nav_lirighthover_down.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",

LAST);

web_url("nav_lilefthover.gif",

"URL=http:

//202.201.29.21/style/standard/images/nav_lilefthover.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",

LAST);

web_url("con_midright.gif",

"URL=http:

//202.201.29.21/style/standard/images/con_midright.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("con_topright.gif",

"URL=http:

//202.201.29.21/style/standard/images/con_topright.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("con_botright.gif",

"URL=http:

//202.201.29.21/style/standard/images/con_botright.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("nav_sub_bg.png",

"URL=http:

//202.201.29.21/style/standard/images/nav_sub_bg.png",

"Resource=1",

"RecContentType=image/png",

"Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",

LAST);

web_url("con_topleft.gif",

"URL=http:

//202.201.29.21/style/standard/images/con_topleft.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("nav_lirighthover_down.gif_2",

"URL=http:

//202.201.29.21/style/standard/images/nav_lirighthover_down.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",

LAST);

web_url("con_botleft.gif",

"URL=http:

//202.201.29.21/style/standard/images/con_botleft.gif",

"Resource=1",

"RecContentType=image/gif",

"Referer=http:

//202.201.29.21/content.aspx",

LAST);

web_url("xsgrxx.aspx",

"URL=http:

//202.201.29.21/xsgrxx.aspx?

xh=200905420&xm=周瑞&gnmkdm=N121501",

"Resource=0",

"RecContentType=text/html",

"Referer=http:

//202.201.29.21/xs_main.aspx?

xh=200905420",

"Snapshot=t4.inf",

"Mode=HTML",

EXTRARES,

"URL=/style/standard/images/con_midleft.gif","Referer=http:

//202.201.29.21/content.aspx",ENDITEM,

"URL=/style/standard/images/con_midright.gif","Referer=http:

//202.201.29.21/xsgrxx.aspx?

xh=200905420&xm=周瑞&gnmkdm=N121501",ENDITEM,

"URL=/style/standard/images/toolbox_right.gif","Referer=http:

//202.201.29.21/xsgrxx.aspx?

xh=200905420&xm=周瑞&gnmkdm=N121501",ENDITEM,

"URL=/style/standard/images/con_topleft.gif","Referer=http:

//202.201.29.21/xsgrxx.aspx?

xh=200905420&xm=周瑞&gnmkdm=N121501",ENDITEM,

"URL=/style/standard/images/button_nor.gif","Referer=http:

//202.201.29.21/xsgrxx.aspx?

xh=200905420&xm=周瑞&gnmkdm=N121501",ENDITEM,

"URL=/style/standard/images/con_botright.gif","Refer

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 幼儿教育 > 唐诗宋词

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1