资源描述:
《软件测试中有关性能测试结果的几点分析原则(some analysis principles of performance test in software testing)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、软件测试中有关性能测试结果的几点分析原则(Someanalysisprinciplesofperformancetestinsoftwaretesting)Analysisprinciplesofperformancetestresults:Specificissuesarespecificallyanalyzed(thisisduetodifferentapplicationsystems,differenttestpurposes,anddifferentperformanceconcerns)W
2、henlookingforbottlenecks,followthefollowingorderfromeasytodifficult.Theserverhardwarebottleneck-"networkbottleneck(ontheLAN,cannotconsider)-"serveroperatingsystembottleneck(parameterconfiguration)-"bottleneck(parameterconfiguration,databasemiddleware,we
3、bserver(SQL)-"applicationbottleneckstatements,databasedesign,businesslogicalgorithm,etc.)Note:theaboveprocessisnotrequiredineachanalysis.Thedepthofanalysisshouldbedeterminedaccordingtothepurposeandrequirementsofthetest.Forsomelowrequirements,weanalyzeth
4、eapplicationsystem,inthefuturelargeloadpressure(concurrentusernumber,datavolume),wherethesystemhardwarebottleneckisenough.Intheanalysisofperformancetestresults,thesubsectioneliminationmethodisveryeffectiveSourcesofinformationforanalysis:1)accordingtothe
5、errorinformationduringthesceneoperation2)monitoringindexdatacollectedaccordingtotestresultsErroranalysisofperformancetestresultsAnalysisexample:())Error:,Failed,to,connect,to,server,payment.baihe.com,,[10060],ConnectionError:,timed,out,Error:,Server,use
6、r.baihe.com,has,shut,down,the,prematurely,connection,...Analysis:A,applicationservicedead.(smalluser:proceduralproblems.TheproblemofprocessingdatabasesonaprogramBandapplicationservicesarenotdead(applicationserviceparametersettingproblem)Example:inmanycl
7、ientconnections,theWeblogicapplicationserverisrejected,andthereisnoerrordisplayontheserverside.ItispossiblethattheAcceptBacklogattributevalueoftheserverelementintheWeblogicissettoolow.Iftheconnectionrefusedmessageisreceivedduringtheconnection,itshouldbe
8、increasedby25%eachtimeC,databaseconnection(1.Theperformanceparameterintheapplicationservicemaybetoosmall.2.Themaximumnumberofconnectionsthatthedatabasestarts(withthememoryofthehardware).)2)Error:,Page,download,timeout(120,seconds