⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 200603291559575.html

📁 软件工程的红包书
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<P><FONT face=Verdana>* Successful Hits Per Second :每秒成功的点击次数; </FONT></P>
<P><FONT face=Verdana>* Failed Hits Per Second :每秒失败的点击次数; </FONT></P>
<P><FONT face=Verdana>* Attempted Connections :尝试链接数;</FONT></P>
<P><FONT face=Verdana>CS结构程序,由于一般软件后台通常为数据库,所以我们更注重数据库的测试指标:</FONT></P>
<P><FONT face=Verdana>* User 0 Connections :用户连接数,也就是数据库的连接数量; </FONT></P>
<P><FONT face=Verdana>* Number of deadlocks:数据库死锁; </FONT></P>
<P><FONT face=Verdana>* Butter Cache hit :数据库Cache的命中情况</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 当然,在实际中我们还会察看多用户测试情况下的内存,CPU,系统资源调用情况。这些指标其实是引申出来性能测试中的一种:竞争测试。什么是竞争测试,软件竞争使用各种资源(数据纪录,内存等),看他与其他相关系统对资源的争夺能力。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我们知道<a href="200602281452595.html" tppabs="http://www.itisedu.com/phrase/200602281452595.html" target="_new">软件架构</a>在实际测试中制约着测试策略和工具的选择。如何选择性能测试策略是我们在实际工作中需要了解的。一般软件可以按照系统架构分成几种类型:</FONT></P>
<P><FONT face=Verdana><a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604291148225.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604291148225.html'" tppabs="http://www.itisedu.com/phrase/200604291148225.html" target="_new">c/s</a></FONT></P>
<P><FONT face=Verdana><a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604231337375.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604231337375.html'" tppabs="http://www.itisedu.com/phrase/200604231337375.html" target="_new">client</a>/Server 客户端/服务器架构</FONT></P>
<P><FONT face=Verdana>基于客户端/服务器的<a href="javascript:if(confirm('http://www.itisedu.com/phrase/200604091924455.html  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?'))window.location='http://www.itisedu.com/phrase/200604091924455.html'" tppabs="http://www.itisedu.com/phrase/200604091924455.html" target="_new">三层架构</a></FONT></P>
<P><FONT face=Verdana>基于客户端/服务器的分布式架构</FONT></P>
<P><FONT face=Verdana>b/s</FONT></P>
<P><FONT face=Verdana>基于浏览器/Web服务器的三层架构</FONT></P>
<P><FONT face=Verdana>基于中间件应用服务器的三层架构l</FONT></P>
<P><FONT face=Verdana>基于Web服务器和中间件的多层架构l<BR>&nbsp;<BR><STRONG>三、性能测试的步骤</STRONG></FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在每种不同的系统架构的实施中,开发人员可能选择不同的实现方式,造成实际情况纷繁复杂。我们不可能对每种技术都详细解说,这里只是介绍一种方法提供给你如何选择测试策略,从而帮助分析软件不同部分的性能指标,进而分析出整体架构的性能指标和性能瓶颈。 </FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由于工程和项目的不同,所选用的度量,评估方法也有不同之处。不过仍然有一些通用的步骤帮助我们完成一个性能测试项目。步骤如下</FONT></P>
<P><FONT face=Verdana>1.&nbsp; 制定目标和分析系统<BR>2.&nbsp; 选择测试度量的方法<BR>3.&nbsp; 学习的相关技术和工具<BR>4.&nbsp; 制定评估标准<BR>5.&nbsp; 设计<a href="200603291707535.html" tppabs="http://www.itisedu.com/phrase/200603291707535.html" target="_new">测试用例</a><BR>6.&nbsp; 运行测试<a href="200604240937105.html" tppabs="http://www.itisedu.com/phrase/200604240937105.html" target="_new">用例</a><BR>7.&nbsp; 分析测试结果</FONT></P>
<P><FONT face=Verdana><STRONG>·制定目标和分析系统</STRONG></FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp; 每一个性能测试计划中第一步都会制定目标和分析系统构成。只有明确目标和了解系统构成才会澄清测试范围,知道在测试中要掌握什么样的技术。&nbsp;&nbsp;&nbsp; </FONT></P>
<P><FONT face=Verdana>目标:</FONT></P>
<P><FONT face=Verdana>1.&nbsp; 确定客户需求和期望</FONT></P>
<P><FONT face=Verdana>2.&nbsp; 实际业务需求</FONT></P>
<P><FONT face=Verdana>3.&nbsp; 系统需求</FONT></P>
<P><FONT face=Verdana>系统组成</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp; 系统组成这里包含几方面含义:系统类别,系统构成,系统功能等。了解这些内容的本质其实是帮助我们明确测试的范围,选者适当的测试方法来进行测试。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp; 系统类别:分清系统类别是我们掌握什么样的技术的前提,掌握相应技术做性能测试才可能成功。例如:系统类别是bs结构,需要掌握 http协议,java,html等技术 。或者是cs结构,可能要了解操作系统,winsock,com等。所以甄别系统类别对于我们来说很重要。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp; 系统构成:硬件设置,操作系统设置是性能测试的制约条件,一般性能测试都是利用测试工具模仿大量的实际用户操作,系统在超负荷情形下运作。不同的系统构成性能测试就会得到不同的结果。</FONT></P>
<P><FONT face=Verdana>&nbsp;&nbsp;&nbsp; 系统功能:系统功能指系统提供的不同<a href="200604161433025.html" tppabs="http://www.itisedu.com/phrase/200604161433025.html" target="_new">子系统</a>,办公管理系统中的公文子系统,会议子系统等,系统工能是性能测试中要模拟的环节,了解这些是必要的。</FONT></P>
<P><FONT face=Verdana><STRONG>·选择测试度量的方法</STRONG></FONT></P>
<P><FONT face=Verdana>经过第一步,将会对系统有清醒的认识。接下来我们将把精力放在<a href="200603081545075.html" tppabs="http://www.itisedu.com/phrase/200603081545075.html" target="_new">软件度量</a>上,收集系统相关的数据。</FONT></P>
<P><FONT face=Verdana>度量的相关方面:</FONT></P>
<P><FONT face=Verdana>* 制定规范 </FONT></P>
<P><FONT face=Verdana>* 制定相关流程, 角色,职责</FONT></P>
<P><FONT face=Verdana>* 制定改进策略 </FONT></P>
<P><FONT face=Verdana>* 制定结果对比标准 </FONT></P>
<P><FONT face=Verdana><STRONG>·学习的相关技术和工具</STRONG> </FONT></P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -