首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到19条相似文献,搜索用时 156 毫秒
1.
Web应用设计的复杂性和用户使用的不可预测性给如何准确地预测它的性能带来了很大的挑战,而且随着Web应用的规模越来越大、用户越来越多,这个挑战变得更加严重.文中就如何准确地设计负载测试进行了深入研究,提出了对用户导航、用户延迟以及用户放弃进行建模的方法来设计负载测试,以使负载测试能够准确地模拟现实用户环境和预测Web应用的性能.  相似文献   

2.
在整个web应用的测试中,性能测试占非常重要位置,因为性能直接反映了Web应用所提供服务的质量水平。Web应用设计的复杂性和用户使用的不可预测性给如何准确地预测它的性能带来了很大的挑战,而且随着Web应用的规模越来越大、用户越来越多,这个挑战变得更加严重。文中就如何准确地设计负载测试进行了深入研究,提出了对用户导航、用户延迟进行建模的方法来设计负载测试,以使负载测试能够准确地模拟现实用户环境和预测Web应用的性能。最后应用工具loadrunner进行负载测试实战。  相似文献   

3.
Web应用系统的性能包括服务响应时间、资源占用以及系统的稳定性等,Web应用系统在发布之前要进行功能测试、页面测试、性能测试等,其中负载测试是Web应用系统性能测试的一个重要方面。随着Web应用程序的使用越来越广泛,对其性能进行测试也变得越来越重要,而采用自动化的测试工具极大地方便了Web系统的测试。虽然目前存在多种自动化测试工具,但都还不能用于大负载测试(百万级虚拟用户访问量)。本文首先介绍了负载测试的性质及作用,然后以Apache的开源Web测试工具JMeter为基础,通过数据库技术对其分布式的Web负载测试框架进行优化,使得测试工具能真正达到百万级的负载测试。本文着重讨论了分布式的测试框架的实现问题。  相似文献   

4.
提出了一种基于联合压力测试的性能预测方法:在客户端对Web应用程序进行一系列负载测试的同时,对运行Web应用程序的服务器进行资源消耗,接着根据测试结果建立性能模型,做出性能预测。在一个典型的Web应用系统上应用了这种方法,通过与传统负载测试结果的比较,证明了这种方法的可行性、准确性和效率。  相似文献   

5.
利用LoadRunner实现Web负载测试的自动化   总被引:5,自引:0,他引:5  
对一个软件系统而言,系统的性能包括执行效率、资源占用、稳定性等等,其中负载压力是性能的一个重要方面。负载压力测试有助于确认被测系统是否能够支持性能需求,以及预期的负载增长,并找出系统出现异常的原因,从而对系统性能进行调优。随着Web应用程序的使用越来越广泛,对它的性能进行测试也变得越来越重要,而采用自动化的测试工具极大地方便了Web的测试。文中利用MI的自动化测试工具LoadRenner,初步实现了Web负载测试的自动化。  相似文献   

6.
杨萍  李杰 《微机发展》2007,17(1):242-244
对一个软件系统而言,系统的性能包括执行效率、资源占用、稳定性等等,其中负载压力是性能的一个重要方面。负载压力测试有助于确认被测系统是否能够支持性能需求,以及预期的负载增长,并找出系统出现异常的原因,从而对系统性能进行调优。随着Web应用程序的使用越来越广泛,对它的性能进行测试也变得越来越重要,而采用自动化的测试工具极大地方便了Web的测试。文中利用MI的自动化测试工具LoadRunner,初步实现了Web负载测试的自动化。  相似文献   

7.
一种模拟驱动的Web应用程序性能测试方法   总被引:6,自引:0,他引:6  
性能是Web应用程序成功的要素之一,性能测试则是保证这一要素的重要手段.但由于Internet及Web用户的不确定性,Web应用程序的性能测试难于传统Client/Server的测试.比较了3种主要的Web性能测试方法;提出了一种简单可行的、通用的方法——模拟驱动的自动负载测试方法.关键的步骤有:根据系统使用方式和客户端各种特征的分布信息来确定测试负载、设计测试用例;利用测试工具开发相应的测试脚本;运行测试用例模拟不同类型用户的典型行为;收集被测程序的性能数据.结合实例详述了该方法,并给出了测试计划的模板.  相似文献   

8.
Web负载测试的研究与应用   总被引:3,自引:1,他引:3  
尹高嵩  范辉 《微机发展》2004,14(10):94-96,130
Web应用对并发服务性能的严格要求决定了对其进行负载测试的必要性。通过分析B/S系统结构模型和Web应用的服务形式,确定了Web负载测试的理论基础和可行性,并建立了测试模型。以OpenSTA为例介绍了当前主流自动化Web负载测试工具基于脚本的工作机制和测试步骤,讨论了对测试结果数据的分析与可视化方法,并总结了评估Web应用系统性能的主要指标。  相似文献   

9.
Web系统性能测试及工具优化   总被引:1,自引:0,他引:1  
针对客户端、网络及服务器性能测试,改造了传统的测试技术,研究了Web应用软件特点的测试理论和技术,给出了不同环境的测试策略、测试指标和计算方法,并指出系统瓶颈,提出优化策略,研制了Web性能测试工具——Webtest。实验显示:Webtest具有自动快速生成测试脚本、模拟真实负载测试、灵活修改测试用例、准确分析测试结果等优势,同时可实现跨平台测试,符合一般用户测试需求。  相似文献   

10.
提出一种基于日志分析的Web负载测试方法。通过序列模式挖掘得到用户访问的频繁序列模式,日志分析得到负载的相关参数,并据此构造出逼近于真实的测试负载。利用性能测试工具LoadRunner对Web应用系统进行负载测试。将测试日志与真实日志进行对比,验证了测试负载与真实负载的相似性。  相似文献   

11.
In this paper, we present WS‐TaaS, a Web services load testing platform built on a global platform PlanetLab. WS‐TaaS enables load testing process to be simple, transparent, and as close as possible to the real running scenarios of the target services. First, we briefly introduce the base of WS‐TaaS, Service4All. Second, we provide detailed analysis of the requirements of Web service load testing and present its conceptual architecture as well as algorithm design for improving resource utilization. Third, we present the implementation details of WS‐TaaS. Finally, we perform the evaluation of WS‐TaaS with a set of experiments based on the testing of real Web services, and the results illustrate that WS‐TaaS can efficiently facilitate the whole process of Web service load testing. Especially, comparing with existing testing tools, WS‐TaaS can obtain more effective and accurate test results. Copyright © 2014 John Wiley & Sons, Ltd.  相似文献   

12.
Software systems with a graphical user interface (GUI) front end are typically designed using user interface (UI) Patterns, which describe generic solutions (with multiple possible implementations) for recurrent GUI design problems. However, existing testing techniques do not take advantage of this fact to test GUIs more efficiently. In this paper, we present a new pattern‐based GUI testing (PBGT) approach that formalizes the notion of UI Test Patterns, which are generic test strategies to test UI patterns over their different implementations. The PBGT approach is evaluated via 2 case studies. The first study involves 2 fielded Web application subjects; findings show that PBGT is both practical and useful, as testing teams were able to find real bugs in a reasonable time interval. The second study allows deeper analysis by studying software subjects seeded with artificial faults; the findings show that PBGT is more effective than a manual model‐based test case generation approach.  相似文献   

13.
由于Web应用系统的迅速发展,如何进行有效的Web测试对于保证Web系统的可靠性越来越重要。设计的Web功能测试用例自动执行系统,改进了传统的录制/回放方式,可以模拟用户操作,对Web系统进行功能性测试。提出一种基于XML的测试用例的结构描述,称之为X-Case,对于经常更新的Web系统,修改X-Case结构内的相关数据就可以进行回归测试,不需要重新生成大量的测试用例,节约Web测试的成本。该系统支持部分测试数据自动生成,对动态和静态网页均能执行自动化测试。  相似文献   

14.
Web 应用的发展,使其涉及的领域也越来越广。随之而来的安全问题也越来越严重,尤其是 SQL注入攻击,给Web应用安全带来了巨大的挑战。针对SQL注入攻击,将基于SQL语法树比较的安全策略引入用户输入过滤的设计中,提出了一种新的SQL注入过滤方法。实验结果表明,该方法能够有效地防止SQL注入攻击,并有较高的拦截率和较低的误报率。  相似文献   

15.
The continuous use of the Web for daily operations by businesses, consumers, and the government has created a great demand for reliable Web applications. One promising approach to testing the functionality of Web applications leverages the user-session data collected by Web servers. User-session-based testing automatically generates test cases based on real user profiles. The key contribution of this paper is the application of concept analysis for clustering user sessions and a set of heuristics for test case selection. Existing incremental concept analysis algorithms are exploited to avoid collecting and maintaining large user-session data sets and to thus provide scalability. We have completely automated the process from user session collection and test suite reduction through test case replay. Our incremental test suite update algorithm, coupled with our experimental study, indicates that concept analysis provides a promising means for incrementally updating reduced test suites in response to newly captured user sessions with little loss in fault detection capability and program coverage.  相似文献   

16.
随着Web应用的功能日趋复杂,其安全问题不容乐观, Web应用安全性测试成为软件测试领域的研究重点之一.漏洞报告旨在记录Web应用安全问题,辅助Web应用测试,提升其安全性与质量.然而,如何自动识别漏洞报告中的关键信息,复现漏洞,仍是当前的研究难点.为此,本文提出一种自动化的漏洞报告理解和漏洞复现方法,首先,依据漏洞报告的特点,归纳其语法依存模式,并结合依存句法分析技术,解析漏洞描述,提取漏洞触发的关键信息.其次,不同于常规自然语言描述, Web漏洞的攻击负载通常是非法字符串,大多以代码片段的形式存在,为此,本文针对攻击负载,设计提取规则,完善漏洞报告中攻击负载的提取.在此基础上,考虑漏洞报告与Web应用文本描述不同但语义相近,提出基于语义相似度的漏洞复现脚本自动生成方法,实现Web应用漏洞的自动复现.为验证本文方法的有效性,从漏洞收集平台Exploit-db的300余个Web应用项目中收集了400份漏洞报告,归纳出其语法依存模式;并针对23个开源Web应用涉及的26份真实漏洞报告进行漏洞复现实验,结果表明本文方法可有效提取漏洞报告的关键信息,并据此生成可行测试脚本,复现漏洞,有效减少...  相似文献   

17.
Data Preparation for Mining World Wide Web Browsing Patterns   总被引:8,自引:0,他引:8  
The World Wide Web (WWW) continues to grow at an astounding rate in both the sheer volume of traffic and the size and complexity of Web sites. The complexity of tasks such as Web site design, Web server design, and of simply navigating through a Web site have increased along with this growth. An important input to these design tasks is the analysis of how a Web site is being used. Usage analysis includes straightforward statistics, such as page access frequency, as well as more sophisticated forms of analysis, such as finding the common traversal paths through a Web site. Web Usage Mining is the application of data mining techniques to usage logs of large Web data repositories in order to produce results that can be used in the design tasks mentioned above. However, there are several preprocessing tasks that must be performed prior to applying data mining algorithms to the data collected from server logs. This paper presents several data preparation techniques in order to identify unique users and user sessions. Also, a method to divide user sessions into semantically meaningful transactions is defined and successfully tested against two other methods. Transactions identified by the proposed methods are used to discover association rules from real world data using the WEBMINER system [15].  相似文献   

18.
梁力图  陆璐 《计算机科学》2014,41(11):46-49,68
近年来,Web应用成为互联网时代基础设施中最重要的组成部分。随着互联网技术的不断进步以及使用用户数量的不断增长,Web应用也越发变得复杂。为了保证Web应用性能测试的有效性和真实性,提出一种利用服务器日志中的用户会话信息、结合经过序列匹配算法改进的层次凝聚算法来自动产生Web应用性能测试脚本的方法。提出的方法通过从服务器日志中提取出用户会话信息,分析用户真实的访问模式,通过聚类算法将同类型的用户访问模式进行聚集,自动产生相应的测试请求序列,生成测试集。相比于传统的基于录制/回访的测试方法,基于用户会话的性能测试方法通过对用户会话进行聚类分析,还原实际的用户访问模式,减少了设计测试用例时的人工参与,保证了测试结果的有效性和真实性。  相似文献   

19.
基于Web应用的快速压力测试研究   总被引:1,自引:0,他引:1  
Web压力测试是评价一个Web程序应用的主要手段。介绍了Web应用程序压力测试的相关概念和测试过程,提出了一种Web压力测试方法。通过估算系统的并发用户数初值,合理确定步长值,用效率较高的二分法得到系统的最终并发用户数目,实现了Web应用程序并发多用户访问的快速区间收敛。文章还对一个简单的在线考试系统进行了压力测试,对最终并发用户数量的确定得到了较为满意的收敛速度。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号