随着Web 2.0技术的迅速发展,许多公司都开发了一些基于Web的 网站服务,通常在设计开发Web应用系统的时候很难模拟出大量用户同时访问系统的实际情况,因此,当Web网站遇到访问高峰时,容易发生服务器响应速度变慢甚至服务中断。为了避免这种情况,需要一种能够真实模拟大量用户访问Web应用系统的性能测试工具进行压力测试,来测试静态HTML页面的响应时间,甚至测试动态网页(包括ASP、PHP、JSP等)的响应时间,为服务器的性能优化和调整提供数据依据。
我推荐各位Web 2.0开发测试人员使用Microsoft 的 Web Application Stress Tool这个工具软件,这个微软提供的小工具仅9.58M,很小巧且实用。虽然功能上比不了专业的LoadRunner,但LoadRunner体积庞大,价格不菲,一般的企业也不会花那么多钱去购买LoadRunner,而微软的WAS则是完全免费,并且主要的功能都有,够用就行。
Microsoft Web Application Stress Tool能有效测试一个网站的负载性能,这个软件可以通过脚本模拟100个强并发用户的访问,并模拟实际用户的一些点击操作,WAS还可以连接上远程Windows网站服务器的性能计数器(Performance Counter),通过对服务器性能(CPU/内存等)的性能分析来找到系统的瓶颈。CPU使用百分比反映了处理器开销,CPU使用百分比持续地超过75%是性能瓶颈在于处理器的一个明显的迹象。
每次测试运行结束后WAS会生成详细的报表,WAS报表可以从View菜单选择Reports查看。
另外,CSDN也 总结了一些其他的测试工具,包括性能测试工具和功能测试工具,前十大测试工具排名如下:
业级自动化测试工具WinRunner
Mercury Interactive公司的WinRunner是一种企业级的功能测试工具,用于检测应用程序是否能够达到预期的功能及正常运行。通过自动录制、检测和回放用户的应用操作,WinRunner能够有效地帮助测试人员对复杂的企业级应用的不同发布版进行测试,提高测试人员的工作效率和质量,确保跨平台的、复杂的企业级应用无故障发布及长期稳定运行。
工业标准级负载测试工具Loadrunner
LoadRunner 是一种预测系统行为和性能的负载测试工具。通过以模拟上千万用户实施并发负载及实时性能监测的方式来确认和查找问题,LoadRunner 能够对整个企业架构进行测试。通过使用LoadRunner ,企业能最大限度地缩短测试时间,优化性能和加速应用系统的发布周期。
全球测试管理系统testdirector
TestDirector 是业界第一个基于Web的测试管理系统,它可以在您公司内部或外部进行全球范围内测试的管理。通过在一个整体的应用系统中集成了测试管理的各个部分,包括需求管理,测试计划,测试执行以及错误跟踪等功能,TestDirector极大地加速了测试过程。
功能测试工具Rational Robot
IBM Rational Robot 是业界最顶尖的功能测试工具,它甚至可以在测试人员学习高级脚本技术之前帮助其进行成功的测试。它集成在测试人员的桌面 IBM Rational TestManager 上,在这里测试人员可以计划、组织、执行、管理和报告所有测试活动,包括手动测试报告。这种测试和管理的双重功能是自动化测试的理想开始。
单元测试工具xUnit系列
目前的最流行的单元测试工具是xUnit系列框架,常用的根据语言不同分为JUnit(java),CppUnit(C++),DUnit (Delphi ),NUnit(.net),PhpUnit(Php )等等。该测试框架的第一个和最杰出的应用就是由Erich Gamma (《设计模式》的作者)和Kent Beck(XP(Extreme Programming)的创始人 )提供的开放源代码的JUnit.
功能测试工具SilkTest
Borland SilkTest 2006属于软件功能测试工具,是Borland公司所提出软件质量管理解决方案的套件之一。这个工具采用精灵设定与自动化执行测试,无论是程序设计新手或资深的专家都能快速建立功能测试,并分析功能错误。
性能测试工具WAS
Microsoft Web Application Stress Tool 是由微软的网站测试人员所开发,专门用来进行实际网站压力测试的一套工具。透过这套功能强大的压力测试工具,您可以使用少量的Client端计算机仿真大量用户上线对网站服务所可能造成的影响。
自动化白盒测试工具Jtest
Jtest是parasoft公司推出的一款针对java语言的自动化白盒测试工具,它通过自动实现java的单元测试和代码标准校验,来提高代码的可靠性。parasoft同时出品的还有C++ test,是一款C/C++白盒测试工具。
功能和性能测试的工具JMeter
JMeter是Apache组织的开放源代码项目,它是功能和性能测试的工具,100%的用java实现。
性能测试和分析工具WEBLODE
webload是RadView公司推出的一个性能测试和分析工具,它让web应用程序开发者自动执行压力测试;webload通过模拟真实用户的操作,生成压力负载来测试web的性能。
工具 相关网址
LoadRunner http://www.mercuryinteractive.com/products/loadrunner/ SilkPerformer http://www.segue.com/products/load-s ... nce-testing/index.asp QALoad http://www.compuware.com/products/qacenter/qaload.htm WebLoad OpenSTA 开源 Jmeter 开源 自动测试工具集 工具 相关网址 WinRunner http://www.mercuryinteractive.com/products/winrunner/ SilkTest http://www.segue.com/products/functio ... l-testing/silktest.asp QARun http://www.compuware.com/products/qacenter/qarun.htm SAFS http://safsdev.sourceforge.net/Default.htm Bug追踪系统 工具 相关网址 JIRA http://www.atlassian.com/software/jira/ Bugzilla http://www.bugzilla.org TestDirector http://www.mercuryinteractive.com/products/testdirector/ GNATS http://www.gnu.org/software/gnats/ TestTrackPro http://www.seapine.com/ttpro.html 软件测试网站 http://www.51cmm.com http://www.sqe.com http://www.qadirect.com http://www.bonoy.com http://www.sztest.net http://www.testage.net http://www.sqatester.com http://www.testingfaqs.org 软件测试工具集锦见正文 类型 名称 公司 网址 测试设计工具 ALLPAIRS http://satisfice.com/ Caliber-RBT http://www.tbi.com Caliber-RM http://www.tbi.com DARTT http://home.t-on line.de/home/bsse.info/ Datatect http://www.datatect.com DGL http://www.csee.usf.edu/~maurer/ McCabe Test http://www.mccabe.com McCabe TestCompress http://www.mccabe.com Multi http://www.testing.com/ Panorama C/C++ http://www.softwareautomation.com Reactis Tester http://www.reactive-systems.com TDGEN http://www.soft.com/Products/index.html T-VEC Test Generation System http://www.t-vec.com GUI测试驱动器 Android http://www.smith-house.org/open.html Atesto Functional Testing Service "http://www.atesto.com/ " AutoTester for Windows http://www.autotester.com AutoTester for OS/2 http://www.autotester.com CAPBAK http://www.soft.com/Products/index.html Certify http://www.worksoft.com/ CitraTest http://www.tevron.com e-Monitor http://www.empirix.com/ e-Tester http://www.empirix.com/ eValid http://www.e-valid.com/ imbus GUI Test Case Library http://www.imbus.de QARunTM http://www.compuware.com/qacenter Panorama-2 "http://www.softwareautomation.com " QC/Replay http://www.centerline.com QES/EZ for GUI http://www.qestest.com Monitor Master http://www.argogroup.com SilkTest http://www.segue.com Smalltalk Test Mentor http://www.silvermark.com Test Now http://www.stlabs.com/ TestQuest Pro Test Automation System http://www.testquest.com TestRunner http://www.qronus.com/ WinRunner Mercury Interactive http://www.merc-int.com xrc - X Remote Control http://www.absol.com/ Xrunner http://www.merc-int.com 负荷和性能工具 ANTS - Advanced .NET Testing System http://www.red-gate.com/ Atesto Automated Load Test http://www.atesto.com/ AutoController http://www.autotester.com AutoController with Virtual DirectTest http://www.autotester.com Benchmark FactoryTM http://www.quest.com Capacity Calibration http://www.capcal.com Chariot? http://www.ganymedesoftware.com CYRANO ServerPack http://www.cyrano.com e-Load http://www.empirix.com/ FORECAST http://www.facilita.co.uk ITF - Internetworking Test Facility http://www.acomtech.com Load http://www.pushtotest.com Load Runner Product Family http://www.merc-int.com Microsoft Web Application Stress Tool (WAS) http://webtool.rte.microsoft.c om/ NetPressure http://www.syntheticnets.com PegasusTM http://www.ganymedesoftware.com Portent http://www.loadtesting.com preVue-ASCII http://www.rational.com/products/prevue/ preVue-X http://www.rational.com/products/prevue/ "PureLoad " http://www.minq.se QALoadTM http://www.compuware.com Rational Suite PerformanceStudio http://www.rational.com/products/pstudio/ "Rational SiteLoad " http://www.rational.com/products/siteload/ RemoteCog Product Family http://www.fiveninesolutions.com Scapa StressTest for Citrix MetaFrame http://www.scapatech.com SilkPerformer http://www.segue.com/ Teleprocessing Network Simulator http://www.networking.ibm.com/tns/tnsprod .htm WebLoad 3.0 http://www.radview.com Web Roller http://webapplicationstesting.com Webserver Stress Tool http://www.paessler.com WebSpray http://www.redhillnetworks.com 非GUI测试驱动器 "AdaTEST " http://www.qcsltd.com ANVL http://www.midnight.com/ AutoAdviser http://www.autotester.com AutoTester Client/Server for use with SAP R/3 http://www.autotester.com Cantata http://www.qcsltd.com "CONVEX Integrated Test Environment (CI TE) " http://www.cirr.com/ CTA++ http://www.testwell.fi CTB http://www.testwell.fi ITF - Internetworking Test Facility http://www.acomtech.com/ OTF - An Object Testing Framework "http://www.mcgsoft.com/ " QADirector? http://www.compuware.com/qacenter "QCIT " http://www.qistest.com QES/Architect http://www.qestest.com QES/EZ http://www.qestest.com QMTest http://www.codesourcery.com/ SilkPilot http://www.segue.com SMARTS http://www.soft.com/Products/index.html SDTF - SNA Development Test Facility http://www.acomtech.com TALC2000 http://www.talc2000.com TBGEN http://www.testwell.fi TEO http://www.gako.fr Test Manager http://www.launchsoftware.com Test Mentor - Java Edition http://www.javatesting.com Test Library Manager http://www.autotester.com "Test Station " http://www.autotester.com TestWorks http://www.soft.com/Products/index.html VectorCAST http://www.vectors.com VersaTest http://www.softsell.com 测试实现工具 Access for DB2 http://www.princetonsoftech.com/ Aprobe http://www.ocsystems.com Aqtest http://www.automatedqa.com/ BoundsChecker compuware http://www.numega.com/ C++Test http://www.parasoft.com DateWise FileCompare http://www.datewise.com/mt dmalloc http://www.dmalloc.com/ EXDIFF http://www.soft.com/Products/index.html "fakesmtpd " http://www.jera.com/ "FREstimate " http://www.softrel.com/ HeapAgent http://www.microquill.com InCtrl5 http://www.zdnet.com/downloads/stories/info/0,77424,.html JSUnit http://www.edwardh.com/jsunit/ Junit http://www.junit.org/ MDBDiff http://jupiter.drw.net/matpie/PBS ... ts/retired/MDBDiff.h tml Move for DB2 http://www.princetonsoftech.com/ mpatrol http://www.cbmamiga.demon.co.uk/mpatrol/ "ObjectTester " http://www.obsoft.com Inuse http://www.parasoft.com Rational Purify http://www.rational.com/products/purify_unix/index.jtmpl Rational Test RealTime http://www.rational.com SilkRealizer http://www.segue.com WhenToStop http://www.softrel.com/ ZeroFault http://www.tkg.com 测试评估工具 AdaTEST95 http://www.qcsltd.com Aonix Validator/Req http://www.aonix.com/ C-Cover http://www.bullseye.com Cantata++ http://www.qcsltd.com CodeTEST http://www.amc.com CTC++ http://www.testwell.fi Glass JAR Toolkit http://glassjartoolkit.com/gjtk.html "Hindsight/TCA " http://www.integrisoft.com Hindsight/TPA http://www.integrisoft.com "Insure++ " http://www.parasoft.com "Java Test Coverage " http://www.semdesigns.com/Products/TestCoverage/index.html LDRA Testbed http://www.ldra.com "LOGISCOPE toolset " http://www.telelogic.com/ ObjectCoverage http://www.obsoft.com Panorama C/C++ "http://www.softwareautomation.com " Rational PureCoverage http://www.rational.com/products/purecoverage/index. jtmpl "TCMON " http://www.testwell.fi TCA "http://www.parasoft.com " TCAT C/C++ http://www.soft.com/Products/index.html TCAT for Java http://www.soft.com/Products/index.html TCAT-PATH http://www.soft.com/Products/index.html T-SCOPE http://www.soft.com/Products/index.html TestWorks/Coverage http://www.soft.com/Products/index.html 静态分析工具 AccVerify SE for FrontPage http://www.hisoftware.com/msacc/ Aivosto Project Analyzer http://www.aivosto.com/vb.html ASSENT http://www.tcs.com ccount "http://www.cs.umd.edu/users/cml/resources/cmetrics/ " "Cleanscape lint-Plus " http://www.cleanscape.net/stdprod/lplus/index.html ClearMaker http://www.balthazar.hu "CMT++ " http://www.testwell.fi CodeCompanion http://www.jenssoft.com CodeSurfer http://www.grammatech.com "Dependency Walker " http://www.dependencywalker.com/ floppy/fflow http://netlib2.cs.utk.edu/floppy/ ftnchek http://www.dsm.fordham.edu/~ftnchek Hindsight/SQA http://www.integrisoft.com Krakatau http://www.powersoftware.com/ McCabe QA http://www.mccabe.com METRIC http://www.soft.com/Products/index.html ObjectDetail http://www.obsoft.com CodeWizard http://www.parasoft.com Jtest http://www.parasoft.com PC-lint/FlexeLint http://www.gimpel.com/ PC-Metric http://www.molalla.net/~setlabs PolySpace Verifier http://www.polyspace.com Plum Hall SQS http://www.plumhall.com QA C http://www.prqa.co.uk QA C++ http://www.prqa.co.uk "QA Fortran " http://www.prqa.co.uk "QStudio Java " http://www.qa-systems.com Safer C Toolset http://www.oakcomp.co.uk/SoftwareProducts.html SofAudit http://www.soring.hu/index.html STATIC http://www.soft.com/Products/index.html TestBed http://www.easternsystems.com TestWorks/Advisor http://www.soft.com/Products/index.html 缺陷跟踪工具 1CR http://www.plus-on e.com/+1CR_fact_sheet.html Aardvark http://www.red-gate.com/ AdminiTrack http://www.adminitrack.com Alcea Fast BugTrack http://www.alceatech.com/ AllChange 2000 http://www.intasoft.co.uk/intasoft/ BugAware http://www.bugaware.com "Bugbase 2000 " http://www.threerock.com "Bugcentral.com " http://www.bugcentral.com/ BugCollector Pro http://www.nesbitt.com/ Bug/Defect Tracking Expert http://www.bug-defect-tracking-expert.com/ "Buggit " http://www.pb-sys.com/ Buggy http://www.novosys.de/Buggy/Buggy.html "Bugzero " http://www.websina.com/bugzero/ Bugzilla http://www.mozilla.org/projects/bugzilla/ "Census " http://www.metaquest.com/ "ClearQuest " http://www.rational.com/products/clearquest/ CustomerFirst http://www.custfirst.com/products.html Debian Bug Tracking System http://www.chiark.greenend.org.uk/~ian/debbugs/ Defect Tracker (New Fire) http://www.newfire.com/ Defect Tracker (Pragmatic) http://www.Pragmaticsw.com/Pragmatic/DefectTrac ker.asp Defect Tracking System (DTS) http://www.open.com.au/dts/ "defectX " http://www.defectx.com/ DevTrack http://www.techexcel.com/ "d-Tracker " http://www.empirix.com/ elementool http://elementool.com/ "ExtraView " http://www.extraview.com/extraview_home.html FogBUGZ http://www.fogcreek.com/FogBUGZ/ JitterBug http://samba.anu.edu.au/cgi-bin/jitterbug Keystone Problem Tracking System http://www.stonekeep.com/ NeumaPT http://www.neuma.com/ SWBTracker http://www.softwarewithbrains.com/swbtrack.htm "Squish " http://www.squishlist.com T-Plan Incident Manager http://www.t-plan.co.uk TeamTrack http://www.teamshare.com TeamTrack Workgroup http://www.teamshare.com Team Tracker http://www.hstech.com.au/TeamTracker/ TestTrack http://www.seapine.com "TrackWeb Defects " http://www.soffront.com/ Trackgear http://www.logigear.com/ TrackRecord http://www.numega.com/devcenter/tr.shtml "Trackwise " http://www.sparta-systems.com/ |