首页> 外文会议>Annual Pacific northwest software quality conference >Automated Synthetic Exploratory Monitoring of Dynamic Web Sites Using Selenium
【24h】

Automated Synthetic Exploratory Monitoring of Dynamic Web Sites Using Selenium

机译:使用硒的动态网站自动综合探索监测

获取原文

摘要

Web search engines are very dynamic in nature; not only are the backend and data powering the site evolving, but the frontend is always adapting to different browsers, devices and form-factors, and experiments are often running in production. In fact, when it comes to User Experience (UX), it is likely that users are always falling into some live experiment in production: variation of colors, fonts, typography, different Java Scripts and so on. Issues can occur on the live site for very particular contexts, where a context is defined as a particular configuration of browser, market and experiment. As an example, a JavaScript error can occur on a certain page, for certain types of queries, against a certain market on a particular browser. Creating a priori monitoring for all these different contexts is not feasible. We at the Microsoft Bing Experiences Team developed a concept of synthetic exploratory monitoring that can focus on the important features on the sites and pages, and use invariants (conditions that should always hold true, or always hold false, for specific contexts) to detect potential anomalies in the current context. We make use of stochastic models to ensure maximum relevant coverage of contexts and devices. We use the power of the Selenium testing framework to drive end-to-end automation on browsers and devices, the notion of exploratory tests based on simple finite-state machines, and a set of heuristics and invariants (text-based and image-based) that can auto-detect problems on the live site in very particular contexts. We implemented the idea explained in this paper to monitor large-scale web sites such as Bing Search Engine where alerts are generated automatically whenever the anomaly conditions are detected. The solution is easily expandable to other sites. We envision, as future work, moving this technology to the cloud that would allow easy customization of all parameters (browsers used, definition of the finite-state machine, heuristics and invariants). This paper explains the fundamental principles to create a stochastic monitoring model and demonstrates how to apply the principles to large-scale web sites and services. We will utilize Bing Search Engine to illustrate the techniques explained here.
机译:网络搜索引擎的性质非常动态;不仅是现场发展的后端和数据,但前端始终适应不同的浏览器,设备和形式因素,实验通常在生产中运行。事实上,涉及用户体验(UX)时,用户可能总是落入生产中的一些实时实验:颜色,字体,排版,不同的Java脚本等变化。对于非常特定的上下文,在实时站点上可能发生问题,其中上下文被定义为浏览器,市场和实验的特定配置。例如,针对特定浏览器上某个市场的某些类型的某些类型的某些类型的某些类型,可以在特定页面上发生JavaScript错误。为所有这些不同的上下文创建先验监视是不可行的。我们在Microsoft Bing经验团队开发了一种综合探索监控的概念,可以专注于站点和页面上的重要功能,并使用不变性(应始终保持真实的条件,或者始终保持特定上下文的假,或者始终保持FALSE)以检测潜力当前背景中的异常。我们利用随机模型来确保上下文和设备的最大相关覆盖范围。我们使用Selenium测试框架的力量来驱动浏览器和设备的端到端自动化,基于简单的有限状态机的探索性测试的概念,以及一组启发式和不变性(基于文本和基于图像的)可以在特定的环境中自动检测实时站点上的问题。我们实施了本文中解释的想法,以监视大规模网站,例如Bing搜索引擎,每当检测到异常条件时会自动生成警报。该解决方案易于扩展到其他网站。我们设想,作为未来的工作,将这项技术移动到云端,以便易于自定义所有参数(使用的浏览器,有限状态机,启发式和不变的定义)。本文介绍了创建随机监测模型的基本原则,并演示了如何将原则应用于大型网站和服务。我们将利用Bing搜索引擎来说明这里解释的技术。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号