軟件測試大作業(yè)_第1頁
軟件測試大作業(yè)_第2頁
軟件測試大作業(yè)_第3頁
軟件測試大作業(yè)_第4頁
軟件測試大作業(yè)_第5頁
已閱讀5頁,還剩22頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

《軟件測試工具與應(yīng)用》期末考試大作業(yè)

題目教學(xué)綜合服務(wù)平臺網(wǎng)站測試

學(xué)院數(shù)信學(xué)院___________

班級計(jì)科181______________

學(xué)號201859225110_________

學(xué)生姓名張希寧____________

指導(dǎo)教師王曉琳____________

H期2021.1.3____________

成績:

評語:

目錄

第1章任務(wù)描述...............................................................................3

L1題目任務(wù)背景..........................................................................3

1.2被測系統(tǒng)描述.........................................................................3

1.3評測環(huán)境.............................................................................4

第2章性能測試場景設(shè)計(jì)、執(zhí)行與分析.........................................................4

2.1登錄功能............................................................................4

2.2查詢個人信息功能....................................................................8

2.3查詢課表信息功能....................................................................II

2.4查詢學(xué)生學(xué)業(yè)情況功能...............................................................15

2.5查詢學(xué)生考試信息功能...............................................................19

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

第3章心得體會..............................................................................25

參考文獻(xiàn).....................................................................................26

第1章任務(wù)描述

1.1題目任務(wù)背景

隨著社會發(fā)展的不斷進(jìn)步,各型各類的軟件應(yīng)用越來越多。如何檢測軟件的性能好壞?

軟件測試應(yīng)運(yùn)而生。軟件在使用的過程中可能會出現(xiàn)嚴(yán)重的問題,這就需要我們用軟件測試

工具來檢測,避免造成巨大損失。現(xiàn)在為檢測嘉興學(xué)院的教學(xué)綜合服務(wù)平臺網(wǎng)站的性能,分

析該網(wǎng)站系統(tǒng)可能產(chǎn)生故障的原因。檢測是否存在過多人使用而導(dǎo)致程序出現(xiàn)異常的情況。

1.2被測系統(tǒng)描述

被測系統(tǒng)是嘉興學(xué)院的教學(xué)綜合服務(wù)平臺網(wǎng)站,具有一開始的登錄功能,并且在在登錄

賬號之后可以進(jìn)入主頁面,通過點(diǎn)擊相關(guān)的按鈕進(jìn)入到對應(yīng)的頁面并且顯示所需要的功能需

圖1T教學(xué)綜合服務(wù)平臺網(wǎng)站部分功能表

1.3評測環(huán)境

表l-l系統(tǒng)評測環(huán)境

產(chǎn)品名稱嘉興學(xué)院教學(xué)綜合服務(wù)平臺網(wǎng)站版權(quán)嘉興學(xué)院

實(shí)施機(jī)構(gòu)嘉興學(xué)院評測類別性能測試

評服務(wù)器硬件企業(yè)級服務(wù)器

軟件WebServer

環(huán)

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

軟件LoadRunner

第2章性能測試場景設(shè)計(jì)、執(zhí)行與分析

2.1登錄功能

(1)場景測試設(shè)計(jì)

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)

此次場景設(shè)計(jì)是為了測試登錄時(shí)的情況。

測試過程應(yīng)該是沒有問題的。登錄事務(wù)都能夠完成。

(2)場景記錄

用戶數(shù)圖:

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

事務(wù)運(yùn)行圖:

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)

每秒點(diǎn)擊事件圖:

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)分析結(jié)果

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

最大并發(fā)用戶數(shù)為:10

總吞吐量為:73975242

平均每秒吞吐量為:587105

總點(diǎn)擊數(shù):3695

平均每秒點(diǎn)擊數(shù):29.325

TransactionSummary

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

TransactionNameSLAStatusMinimumAverageMaximumStd.Deviation90PercentPassFailStop

ActionTransaction03.7225.48919.1462.6567.3434710

vuserendTransaction0000001000

vuserinitTransaction0000001000

ServiceLevelAgreementLegend:4Pass□Fail0NoData

總的完成事務(wù)數(shù)為:47

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

TransactionnanwSLAStatusGoalActual

Action_Tr?ns?ction?Succeeded85.568

vuser_end_Transaction?Succeeded40

vus?r_init_Tr?ns?ction.Succeeded20

運(yùn)行用戶數(shù):

RunningVusers

0000000400080012001600:20002400280032003600400044004800S2005601000104010801:12011601200124012801:3201360140014401480152015602000204

Elapsedscenariotimemmss

每秒點(diǎn)擊數(shù):

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

平均事務(wù)響應(yīng)時(shí)間:

AverageTransactionResponseTime

(

ps

ou

8。

s)

8

E

1

S8

0U

S-8

a

§e>

8j

A4

0004000800120016002000^240028003200:3600400044004800520056010001040108011201160120012401280132013601400144014801:5201560200

Elapsedscenanotimemmss

2.2查詢個人信息功能

(1)場景測試設(shè)計(jì)

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)場景記錄

用戶數(shù)圖:

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

事務(wù)運(yùn)行圖:

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)

每秒點(diǎn)擊事件圖:

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)分析結(jié)果

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

最大并發(fā)用戶數(shù)為:10

總吞吐量為:87911602

平均每秒吞吐量為:526417

總點(diǎn)擊數(shù):4397

平均每秒點(diǎn)擊數(shù):26.329

TransactionSummary

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

TransactionNameSIAStatusMinimumAverageMaximumStd.Dev,at,on90PercentPassFailStop

ActionTransaction04.1955.91314.5931.9827.8835120

vuserendTransaction0000001000

vusefinltTransaction0000001000

ServiceLevelAgreementLegend:彳PassQFail0NoData

總的完成事務(wù)數(shù)為:51

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

TransactionnameSLAStatusGoalActual

Action_Transaction▼Succeeded107.883

vuser_end_Transaction.Succ??ded50

vus?r_init_Tr?nMction.Succeeded30

運(yùn)行用戶數(shù):

RunningVusers

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

Elapsedscenanotimemmss

每秒點(diǎn)擊數(shù):

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?

平均事務(wù)響應(yīng)時(shí)間:

(

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)場景測試設(shè)計(jì)

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)場景記錄

用戶數(shù)圖:

事務(wù)運(yùn)行圖:

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)

每秒點(diǎn)擊事件圖:

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)分析結(jié)果

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

最大并發(fā)用戶數(shù)為:20

總吞吐量為:173095231

平均每秒吞吐量為:653190

總點(diǎn)擊數(shù):10102

平均每秒點(diǎn)擊數(shù):38.121

TransactionSummary

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

TransactionNameSLAStatusMinimumAverageMaximumStd.Deviation90PercentPassFailStc

ActionTransaction08.57513.49928.8224.8721.29992I0

vuserendTransaction0000002000

vuserinitTransaction0000002000

ServiceLevelAgreementLegend:.Pass臼Fail

總的完成事務(wù)數(shù)為:92

SLAResults:

SLAResults

SLAwasdefinedonthefollowingmeasurements:

TransactionResponseTime(Percentileat90%)

GoalActual

Action_Transaction1221.299

vuser_end_Transaction00

vuser_init_Transaction00

運(yùn)行用戶數(shù):

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

每秒點(diǎn)擊數(shù):

HitsperSecond

70

UP

O

S3

J

2.

00:0000080016002400320040004800:5601040112012001280136014401S202000208021602:2

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論