软件测试大作业_第1页
软件测试大作业_第2页
软件测试大作业_第3页
软件测试大作业_第4页
软件测试大作业_第5页
已阅读5页,还剩22页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

《软件测试工具与应用》期末考试大作业

题目教学综合服务平台网站测试

学院数信学院___________

班级计科181______________

学号201859225110_________

学生姓名张希宁____________

指导教师王晓琳____________

H期2021.1.3____________

成绩:

评语:

目录

第1章任务描述...............................................................................3

L1题目任务背景..........................................................................3

1.2被测系统描述.........................................................................3

1.3评测环境.............................................................................4

第2章性能测试场景设计、执行与分析.........................................................4

2.1登录功能............................................................................4

2.2查询个人信息功能....................................................................8

2.3查询课表信息功能....................................................................II

2.4查询学生学业情况功能...............................................................15

2.5查询学生考试信息功能...............................................................19

2.6退出功能............................................................................22

第3章心得体会..............................................................................25

参考文献.....................................................................................26

第1章任务描述

1.1题目任务背景

随着社会发展的不断进步,各型各类的软件应用越来越多。如何检测软件的性能好坏?

软件测试应运而生。软件在使用的过程中可能会出现严重的问题,这就需要我们用软件测试

工具来检测,避免造成巨大损失。现在为检测嘉兴学院的教学综合服务平台网站的性能,分

析该网站系统可能产生故障的原因。检测是否存在过多人使用而导致程序出现异常的情况。

1.2被测系统描述

被测系统是嘉兴学院的教学综合服务平台网站,具有一开始的登录功能,并且在在登录

账号之后可以进入主页面,通过点击相关的按钮进入到对应的页面并且显示所需要的功能需

图1T教学综合服务平台网站部分功能表

1.3评测环境

表l-l系统评测环境

产品名称嘉兴学院教学综合服务平台网站版权嘉兴学院

实施机构嘉兴学院评测类别性能测试

评服务器硬件企业级服务器

软件WebServer

客户端硬件CPU:Intel(R)Core(TM)i7-8550,NVDIAGeForceMX150

软件LoadRunner

第2章性能测试场景设计、执行与分析

2.1登录功能

(1)场景测试设计

GroupNameScriptPath|QuantityLoadGenerators

S|国login|E\ceshi\rj^iaoben\WebHttpHtml1localhost

GlobalSchedule

><■>*♦*Total:10Vusers

ActionProperties

InitializeInitializeeachVuserjustbeforeitruns

StartV...Start10Vusers:2every00:00:15(HH:MM:SS)

;DurationRunfor00:00:20(HH:MM:SS)

StopVusersStopallVusers:5every00:00:30(HH:MM:SS)

此次场景设计是为了测试登录时的情况。

测试过程应该是没有问题的。登录事务都能够完成。

(2)场景记录

用户数图:

RunnngVusers-wholescenario

11

9.9

B.8

7.7

56

5.5

4.4

13

2.2

1.1

00:00:0000:00:1000:00:2000:00:3000:00:4000:00:5000:01:0000:01:1000:01:2000:01:3000:01:4000:01:5000:02:00

ElapsedTone

事务运行图:

TransResponseTime-wholescenario

18

G

M

•)

.9

I

OL7.2

S5.4

OU

SD36

/18

00:00:0000:00:1000:00:2000:00:3000:00:4000:00:5000:01:0000:01:1000:01:2000:01:3000:014000:01:5000:02:00

ElapsedTime(Hour:Min:Sec)

每秒点击事件图:

67HtsperSecond-wholescenario

63

0.6

53.

石9

4

O2

4

5

36.

3.8

2(1

2O

1.4

3$.7

00:00:0000:00:1000:00:2000:00:3000:00:4000:00:5000:01:0000:01:1000:01:2000:01:3000:01:4000:01:5000:02:00

ElapsedTime(HourMin:Sec)

吞吐量图:

Throughput-wholescenario

1,800,000

1,620,000

1,440,000

1,260,000

"1.080.000

1900,000

§720.000

540,000

360,000

180,000

00:00:0000:00:1000:00:2000:00:3000:00:4000:00:5000:010000:01:1000:01:2000:01:3000:014000:01:5000:02:00

ElapsedTime(HourMm:Sec)

(3)分析结果

StatisticsSummary

MaximumRunninoVuxrs:10

TotalThroucihput(byteQ:(S)73,975,242

AveraqeThrouqhput(bytes/second):G)587,05

TotalHits:G)3,695

AverageHitsperSecond:G)29.325ViewHTTPRespon-Summary

TotalErrors:G)I

YoucandefineSLAdatausingtheSLA8nfiaurat2nwizard

YoucananalyzetransactionbehaviorusingtheAnalyzeTransactionEechanism

最大并发用户数为:10

总吞吐量为:73975242

平均每秒吞吐量为:587105

总点击数:3695

平均每秒点击数:29.325

TransactionSummary

Transactions:TotalPassed:67TotalFailed:1TotalStopped:0AveraoeResgnseTime

TransactionNameSLAStatusMinimumAverageMaximumStd.Deviation90PercentPassFailStop

ActionTransaction03.7225.48919.1462.6567.3434710

vuserendTransaction0000001000

vuserinitTransaction0000001000

ServiceLevelAgreementLegend:4Pass□Fail0NoData

总的完成事务数为:47

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

TransactionnanwSLAStatusGoalActual

Action_Tr«ns«ction♦Succeeded85.568

vuser_end_Transaction♦Succeeded40

vus«r_init_Tr»ns»ction.Succeeded20

运行用户数:

RunningVusers

0000000400080012001600:20002400280032003600400044004800S2005601000104010801:12011601200124012801:3201360140014401480152015602000204

Elapsedscenariotimemmss

每秒点击数:

HitsperSecond

吞吐量:

Throughput

1.800,000

1.700,000

1.600,000

1.500.000'

1.400,000

1.300.000

1.200.000/\

§,100,000

场.000.000

®900.000"

S800,000

m700,000,

600,000K>

500,000.

400.000

300.000••・

200,000

100,000

00050010001500200025003000:35004000450050005501000105011001150120012S01:3001:350140014501:5001550200

Elapsedscenariotimemmss

平均事务响应时间:

AverageTransactionResponseTime

(

ps

ou

8。

s)

8

E

1

S8

0U

S-8

a

§e>

8j

A4

0004000800120016002000^240028003200:3600400044004800520056010001040108011201160120012401280132013601400144014801:5201560200

Elapsedscenanotimemmss

2.2查询个人信息功能

(1)场景测试设计

I.GroupNameScriptPath|QuantityLoadGenerators

LaiSz\E:\ceshi\f]^iaoben\WebHttpHtml1localhost

GlobalSchedule

>V域♦-Total:10Vusers

ActionProperties

InitializeInitializeeachVuserjustbeforeitruns

StartV...Start10Vusers:2every00:00:20(HH:MM:SS)

DurationRunfor00:01:00(HH:MM:SS)

jStopVusersJStopallVusers:5every00:00:20(HH:MM:SS)

(2)场景记录

用户数图:

RunningVusers-wholescenario

00:00:1500:00:3000:00:4500:01:0000:01:1500:01:3000:01:4500:02:0000:02:1500:02:3000:02:45

ElapsedTime

事务运行图:

TransResponseTime-wholescenario

G

e

s

)

O

E

G

s

u

o

d

s

g

a

00:00:1500:00:3000:00:4500:01:0000:01:1500:01:3000:01:4500:02:0000:02:1500:02:3000:02:45

ElapsedTime(Hour:Min:Sec)

每秒点击事件图:

HitsperSecond-wholescenario

吞吐量图:

Throughput-wholescenario

2,000,000

1,800,000

1,600,000

1.400,000

a

1,200,000

-sSe

S1,000,000

J

A

m800,000

600,000

400,000

200,000

00:00:1500:00:3000:00:4500:01:0000:01:1500:01:3000:01:4500:02:0000:02:1500:02:3000:02:45

EiaosedTime(HourMin:Sec)

(3)分析结果

StatisticsSummary

MaxinwmRunninq10

TotalThrouahput(bytes):(S)87,911,602

AveeqeThrouahput(bytes/second):(S)526,417

TotalHits:(S)4,397

AveracieHitsperSecond:(S)26.329ViewHTTPRe-pon-esSummary

TotalErrors:G)2

YoucandefineSLAdatausingtheSLAconfiQurationwizard

YoucananalyzetransactionbehaviorusingtheAnalyzeTransactionmcchanisE

最大并发用户数为:10

总吞吐量为:87911602

平均每秒吞吐量为:526417

总点击数:4397

平均每秒点击数:26.329

TransactionSummary

Trassactioss:TotalPassed:71TotalFailed:2TotalStopped:0AveraaeResponseTime

TransactionNameSIAStatusMinimumAverageMaximumStd.Dev,at,on90PercentPassFailStop

ActionTransaction04.1955.91314.5931.9827.8835120

vuserendTransaction0000001000

vusefinltTransaction0000001000

ServiceLevelAgreementLegend:彳PassQFail0NoData

总的完成事务数为:51

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

TransactionnameSLAStatusGoalActual

Action_Transaction▼Succeeded107.883

vuser_end_Transaction.Succ««ded50

vus«r_init_Tr»nMction.Succeeded30

运行用户数:

RunningVusers

00050010001500:200025003000:3500400045005000:5501:00010501100115012001:2501:3001:350140014501SO01:5502:000205021002:1502200225023002:35024002:45

Elapsedscenanotimemmss

每秒点击数:

HitsperSecond

00:05001000150020002S003000350040004S00500055010001OS011001IS01200125013001:350140014S01SO01550200020502:100215022002250230023S024002:45

Elapsedscenanotimemmss

吞吐量:

Throughput

1,900,000

1.800,000

1,700,000

1,600,000

1,500,000

1.400.000

1.300,000

TJ^OO.OOO

9,100,000

a>

(2,000,000

9900,000

*800.000

CD

700,000

600,000

500,000

400,000

300,000

200,000

100.000

00:050010OOIS002000250030003500400045005000SS01000105011001150120012$01300135014001<5015001S5020002D50M00215*200225030023502400Z4«

平均事务响应时间:

(

PS

0U

83

)S

8

E

-

1

8

s

u

o

d

s

8

a

g

e

j

8

A

q

000500100015002000:25003000350040004500:5000550100010501100115012001:250130013501400145015001550200020502:100?1502:20022502:300?350240

Elapsedscenanotimemmss

2.3查询课表信息功能

(1)场景测试设计

GroupNameScriptPathQuantityLoadGeneratorsA

S忖webhttphtmll|E:\ceshi\rj'iiaoben\WebHttpHtml1localhost

GlobalSchedule

,二歌♦Total:20Vusers

ActionProperties

InitializeInitializeeachVuserjustbeforeitruns

StartV...Start20Vusers:2every00:00:15(HH:MM:SS)

DurationRunfor00:00:40(HH:MM:SS)

|[>:StopVusers〔StopallVusers:5every00:00:20(HH:MM:SS)

(2)场景记录

用户数图:

事务运行图:

TransResponseTime-wholescenario

0000:0000:00:1500:00:3000:004500:01:0000:01:1500:01:3000:014500:02:0000:02:1500:02:3000:02:4500:03:0000:03:1500:03:3000:03:4500:040000:04:15

ElapsedTime(Hour:Min:Sec)

每秒点击事件图:

HtsperSecond-wholescenario

ElapsedTime(HourMinrSec)

吞吐量图:

Throughput-wholescenario

1,500,000

1,350,000

1,200,000

1,050,000

o900,000

f750,000

600,000

450,000

300,000

150,000

00:00:3000:01:0000:01:3000:02:0000:02:3000:03:0000:03:3000:04:00

ElapsedTine(HourMin:Sec)

(3)分析结果

StatisticsSummary

MaximumRunninqVusers:20

TotalThroughput(bytes):(S)173,095,231

AueraaeThrounhputfbytes/second):G)653,190

TotalHits:<S)10,102

AveraqeHitsperSecond:(S)38.121ViewHlIPRespon-Summary

TotalErrors:(S)1

YoucandefineSLAdatausingtheSSconfiaurdtionwizird

YoucananalyzetransactionbehaviorusingtheAnalyzeTransactionEechamsm

最大并发用户数为:20

总吞吐量为:173095231

平均每秒吞吐量为:653190

总点击数:10102

平均每秒点击数:38.121

TransactionSummary

Transactions:TotalPassed:132TotalFailed:1TotalStopped:0AveraqeResponseTime

TransactionNameSLAStatusMinimumAverageMaximumStd.Deviation90PercentPassFailStc

ActionTransaction08.57513.49928.8224.8721.29992I0

vuserendTransaction0000002000

vuserinitTransaction0000002000

ServiceLevelAgreementLegend:.Pass臼Fail

总的完成事务数为:92

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

GoalActual

Action_Transaction1221.299

vuser_end_Transaction00

vuser_init_Transaction00

运行用户数:

RunningVusers

20

19

18

17

W

15

4

3

2

82

s

n1

>

j

o0

J

s9

q

s

n8

N

000000080016002400:3200400048005601040112012001280136014401S2020002:08021602240232024002480256030403:12032003:28033603:4403s20400040804160424

Elapsedscenanotimemmss

每秒点击数:

HitsperSecond

70

UP

O

S3

J

2.

00:0000080016002400320040004800:5601040112012001280136014401S202000208021602:2

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论