1摘要软件开发和使用的历史已经留给了使用者很多由于软件缺陷而导致的巨大财力、物力损失的经验教训。这些经验教训迫使软件开发者们必须添加一个相应的流程,并在此流程中采取强有力的检测措施来检测未发现的隐藏的软件缺陷,也就是软件测试。随着计算机软件的规模越来越大,软件测试成为了软件质量保障的关键环节,软件测试自动化也成为了软件测试领域所无法逾越的发展阶段。软件测试的核心是测试思维,你的思维能深入到什么程度,测试就能做到什么程度,本次课题旨在训练我们的测试思维,同时通过本次的课题实例掌握测试流程与技巧,为我们成为真正的测试人员打下坚实的基础。本文将使用网上飞机订票系统进行测试,通过设计测试方案,对程序进行系统的单元测试,收集测试数据,对测试数据进行分析等手段,最终生成相关资料及最终测试报告,详细介绍及探讨软件测试技术在Web中的研究和实现。本论文的展开将通过以下三个部分:第一部分:软件测试以及性能测试技术的相关介绍,市场上主流测试管理工具的对比分析。第二部分:本论文相关项目的案例分析和测试规划,网上飞机订票系统测试的测试思路和测试方案设计第三部分:网上飞机订票系统性能外部测试的具体测试细则关键字:黑盒测试,白盒测试,测试管理,测试桩,测试点。SoftwaretestingtechnologyintheWebintheResearchandImplementationAbstractSoftwaredevelopmentanduseofhistoryhasleftmanyusersduetosoftwaredefectscausedbytheenormousfinancialandmaterialresources,experiencesandlessonsofloss.Theselessonstoforcesoftwaredevelopershavetoaddacorrespondingprocesses,andinthisprocesstotakestrongmeasurestodetectionofdetectiondidnotfindthehiddensoftwaredefects,thatis,softwaretesting.Softwaretestingistotestthecoreofthinking,thinkingyoucangotowhatextent,willbeabletotesttowhatextent,thesubjectofthistestdesignedtotrainourthinking,atthesametimethesubjectofthisexampleofthetestingprocessandtechniquestomasterinordertobecomearealtestofourstaffandlayasolidfoundation.Withtheincreasingscaleofsoftware,softwaretestingsoftwarequalityassurancehasbecomeakeylinkinthesoftwaretestautomationhasbecomethefieldofsoftwaretestingstageofdevelopmentcannotbecrossedThisarticlewillusetheonlinebookingsystemfortestingaircraft,throughthedesignoftestprograms,proceduresandsystemsforunittesting,testdatacollection,analysis2oftestdataandothermeans,andultimatelytogeneraterelevantinformationandfinaltestreports,andtoexplorethedetailsofsoftwaretestingtechnologyintheWebresearchandtoachieve.Inthispaper,thelaunchwillbetheadoptionofthefollowingthreeparts:PartI:Softwaretestingandperformancetestingoftherelatedtechnology,themainstreamofthemarkettestofthecomparativeanalysisofmanagementtools.PartII:Inthispaper,thetextofthecasestudiesrelatedtoprojectplanningandtesting,on-linebookingsystemtotesttheaircraft'stestprogramdesignandtestingofideasPartIII:OnlinebookingsystemperformanceaircraftexternaltestspecifictestrulesKeywords:black-boxtesting,white-boxtesting,testmanagement,testpiles,testpoints目录1引言.........................................................................41.1选题背景.................................................................41.2本文的目标和主要工作.....................................................51.3测试环境的搭建............................................错误!未定义书签。2软件测试分类...................................................................52.1按测试策略分类...........................................................62.1.1白盒测试...........................................................62.1.2代码测试...........................................................72.1.3接口测试...........................................................82.1.4白盒测试的六种覆盖方法.............................................82.1.5主流白盒测试工具..................................................112.1.6黑盒测试..........................................................122.1.7ALAC(Act-like-a-customer)测试.....................................122.1.8测试管理工具......................................................122.2按测试阶段分类..........................................................122.2.1单元测试..........................................................122.2.2集成测试..........................................................142.2.3系统测试和验收测试................................................152.3其他常见测试方法........................................................152.3.1功能测试..........................................................152.3.2性能测试..........................................................152.3.3界面测试..........................................................162.3.4负载测试..........................................................162.3.5强度测试..........................................................162.3.6数据库容量测试....................................................173性能测试研究..................................................................173.1软件测试概述............................................................173.1.1性能测试..........................................................173.1.2测试工具..........................................................1833.2主流性能测试工具比较....................................................183.2.1MicrosoftWebApplicationStressTool(WAS)........................183.2.2OpenSystemTestingArchitecture(OpenSTA).........................193.2.3QALoad............................................................193.2.4IBMRationalTeamTest(Teamtest).................................193.2.5WebLoad...........................................................203.2.6LoadRunner........................................................204项目分析与规划测试............................................................224.1《网上飞机订票系统2.3版》项目分析.....................................234.1.1背景概述..........................................................234.1.2功能概述..........................................................234.1.3系统组件与配置...........