资源描述:
《软件测试中有关性能测试结果的几点分析原则(analysis principles of performance test results in software testing)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、软件测试中有关性能测试结果的几点分析原则(Analysisprinciplesofperformancetestresultsinsoftwaretesting)Analysisprinciplesofperformancetestresults:Specificissuesspecificanalysis(thisisduetodifferentapplicationsystems,differenttestpurposes,differentperformanceconcerns)Findthebottleneckinthefollowingorder,fr
2、omeasytodifficult.Theserverhardwarebottleneck-"networkbottleneck(ontheLAN,cannotconsider)-"serveroperatingsystembottleneck(parameterconfiguration)-"bottleneck(parameterconfiguration,databasemiddleware,webserver(SQL)-"applicationbottleneckstatements,databasedesign,businesslogicalgorit
3、hm,etc.)Note:theaboveprocedureisnotrequiredineachanalysis,andthedepthofanalysisshouldbedeterminedaccordingtothepurposeandrequirementofthetest.Forsomelowrequirements,weanalyzetheapplicationsysteminthefuturelargeloadpressure(concurrentusernumber,datavolume),wherethehardwarebottleneckof
4、thesystemisenough.Intheanalysisofperformancetestresults,thesubsectioneliminationmethodisveryeffectiveSourcesofinformationforanalysis:1)accordingtotheerrorinformationintheprocessofsceneoperation2)monitoringindexdatacollectedaccordingtothetestresultsErroranalysisofperformancetestresult
5、sAnalysisexample:1)Error:Failedtoconnecttoserver"payment.baihe.com":[10060]ConnectionError:timedoutError:Server"user.baihe.com"hasshutdowntheconnectionprematurelyAnalysis:A,applicationservicedead.Smallusers:Problemsontheprogram.TheproblemofprocessingdatabaseonprogramB,applicationserv
6、icesarenotdead(applicationserviceparametersettingproblem)Example:inmanyclientconnections,theWeblogicapplicationserverisrejected,andthereisnoerrordisplayontheserverside,itmaybethattheAcceptBacklogattributevalueoftheserverelementintheWeblogicissettoolow.Iftheconnectionrefusedmessageisr
7、eceivedduringtheconnection,thevalueshouldbeincreasedby25%eachtimeConnectionofCanddatabase(1)theperformanceparametersoftheapplicationservicemaybetoosmalltobe2,andthemaximumnumberofconnectionsthatthedatabasestartsisrelatedtothememoryofthehardware2)Error:Pagedownloadtimeout(120seconds)h
8、asexpiredAna