Distributed Load Testing of CMIS Alfresco Benchmark Framework 2.0

Slides:



Advertisements
Similar presentations
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Advertisements

Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
Alfresco Benchmark Framework Derek Hulley Repository and Benchmark Team.
Google App Engine Cloud B. Ramamurthy 7/11/2014CSE651, B. Ramamurthy1.
Welcome to the Deep Dive into DocuSign Certification Seminar If you would like to ask questions during this session, please: 1.Call into the conference.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
© copyright 2014 BMC Software, Inc. DevOps consultant Niek Bartholomeus Going DevOps with BMC.
By: Raj Akula. Professor: Wei Hao. Course: CSC 599. Semester: Fall 2011.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Google App Engine Google APIs OAuth Facebook Graph API
Introduction to Amazon Web Services (AWS)
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Maven and Stack Starter Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack.
The powerful capabilities of JBoss Middleware as cloud based services on OpenShift. Build applications. Integrate with other systems Orchestrate using.
What’s new in Stack 3.2 Michael Youngstrom. Disclaimer This IS a presentation – So sit back and relax Please ask questions.
Bottlenecks: Automated Design Configuration Evaluation and Tune.
Monitoring Latency Sensitive Enterprise Applications on the Cloud Shankar Narayanan Ashiwan Sivakumar.
ALVIN CHAO GRIDS & PIECES : MINIMIZE LOAD TIME & INCREASE ACCESSIBILITY WITH RSS & CSS.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Overview Scale out architecture Servers, services, and topology in Central Administration.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Running Kuali: A Technical Perspective Ailish Byrne - Indiana University Jay Sissom - Indiana University Foundation.
Using the ALM Module Michael Youngstrom. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in lab Please ask questions.
Looking Ahead to Carbon 5 and Stratos 2 and Beyond By Afkham Azeez, Amila Suriarachchi.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Mark E. Fuller Senior Principal Instructor Oracle University Oracle Corporation.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
EMI INFSO-RI ARC tools for revision and nightly functional tests Jozef Cernak, Marek Kocan, Eva Cernakova (P. J. Safarik University in Kosice, Kosice,
A Technical Overview Bill Branan DuraCloud Technical Lead.
Welcome to Azure App Services! Amie Seisay
Software Deployment & Release 26/03/2015 1EN-ICE.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Alfresco Scalability Benchmarking Before telling how cool Alfresco is, you better prove it!
#SummitNow Load-testing Share Using the Benchmark Framework November 2013 Derek Hulley Michael Suzuki
From Venus to Mars Developer land Real world Maven Alfresco SDK is fun! -Pamp-to-war Alfresco AMP Archetype Share AMP Archetype.
#SummitNow Managing Documents on the Web Using Drupal, Alfresco & Cloud November Ian Norton – Senior Web Architect at Alfresco.
Learn Nodejs by Building 10 projects. What is Nodejs  An Open source, Cross platform, Event Based and Non-blocking framework used to develop server side.
Distributed Load Testing of CMIS Alfresco Benchmark Framework 2.0 Derek Hulley Senior Developer Michael Suzuki Senior Developer.
The Alfresco iOS SDK Gi Lee (Zia Consulting) Peter Schmidt (Alfresco)
Load Testing Your Alfresco Add-ons Michael Suzuki Software Engineer.
#SummitNow Alfresco Workdesk – Technical Insights November 12, 2013 Martin Kappel.
The Maven Alfresco SDK™ At the end of a journey, there is always a new beginning…
Open-O Integration Project Introduction
Device Service SDK Deep Dive
Maven 04 March
Amazon AWS Solution Architect Associate Exam Questions PDF associate.html AWS Solution Training Exam.
Jason Bury Dylan Drake Rush Corey Watt
OpenLegacy Training Day Four Introduction to Microservices
External Web Services Quick Start Guide
Getting Started with Alfresco Development
Operating System.
Alfresco Workdesk – Technical Insights
SAP Hybris Online Training SAP Hybris Online Training
Software Quality Assurance
Introduction to Microservices Prepared for
Advanced Integration and Deployment Techniques
IBM Cognos Analytics Administrator V11 C Questions Answers
CS5220 Advanced Topics in Web Programming Course Overview
Automation execution portal for Customer-Partner businesses
AWS Cloud Computing Masaki.
Building Serverless Enterprise Applications
Workshop Day 1, 7/24 Technical Essential: Introduction of AWS Product, Service, and Business Decision Making Using Amazon Web Service Time Topic 09:00-09:30.
The ELK stack - get to know logs
Attach2Dynamics Drag and Drop multiple files and folders to Cloud Storage within your Dynamics CRM
A platform for the Complete Machine Learning Lifecycle
CS5220 Advanced Topics in Web Programming Course Overview
Implementation of a small-scale desktop grid computing infrastructure in a commercial domain    
DIBBs Brown Dog BDFiddle
Presentation transcript:

Distributed Load Testing of CMIS Alfresco Benchmark Framework 2.0 Derek Hulley Senior Developer Michael Suzuki Senior Developer Good day. The subject I am … I am joined by …

Contents Essential Features Framework Architecture Building and Deploying a Test Alfresco-specific Tests Creating Test Users CMIS Test Deployment Execution Results and Analysis End:

Key Features of the Framework Load Tests are First Class projects Full Maven project lifecycle Java Automated testing GitHub: derekhulley/alfresco-benchmark Central Control Scale up the load drivers Preset test defaults and override only as required Scalability NoSQL storage of results Independent load drivers compete for work Deep Analysis Errors, messages and results are all retained Every event execution is recorded and kept

Framework Architecture Benchmark Server Benchmark Driver Benchmark Driver (xN) Tomcat 7 Benchmark Driver (xN) Tomcat 7 Extras (Selenium) UI Test Services Rest API Rest API Services MongoDB Config Data MongoDB Test Data Servers / APIs Load Balancer

Writing a New Test Maven archetype Then Import into Eclipse https://wiki.alfresco.com/wiki/Benchmark_Framework_2.0#Developing_Tests 01-Using-the-archetype.wmv 02-running-new-project-locally.wmv Import into Eclipse Build and run Deploy and Execute Then Phase out sample code Phase in real test code Execute demo: ~3:30 (01-Using-the-archetype.wmv) mvn archetype:generate -DarchetypeRepository=http://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml org.alfresco:alfresco-benchmark-sample-archetype

CMIS Load Test: Infrastructure BM Driver Ireland 1 54.73.146.12:9080 (Sign Up, CMIS, Sample) BM Server Ireland http://54.217.124.68:9080/alfresco-benchmark-server Config Data Test Data Alfresco 5.0.a CE BM Driver Sydney 1 54.206.178.67:9080 (CMIS) BM Driver Virginia 1 54.167.28.179:9080 (CMIS)

Preparing for the Tests Deploy and run Signup Test alfresco-benchmark-tests-ent-signup-2.0.war 05-Creating-users-in-Alfresco.wmv Permissions and test directories 06-Prepare-the-Alfresco-server.wmv Live demo failure You are receiving this email because your Amazon CloudWatch Alarm "CPU Thrashing" in the EU - Ireland region has entered the ALARM state, because "Threshold Crossed: 1 datapoint (99.92) was greater than or equal to the threshold (50.0).“ Switched to cmis.alfresco.com ~2 min Show results of DEMO4 Collection, login and user search

CMIS Load Test: Scenarios GitHub: Search ‘benchmark-cmis’ Pull requests for new scenarios welcome Repository-agnostic Scenario 01 Find a random folder List folder contents Scenario 02 Get test folder Create folder Upload file Download file Delete folder Scenario 03 Search in folder Scenario weightings adjustable Execute demo: ~3:30 (Using-the-archetype.wmv)

CMIS Load Test: Sweet Spot Load driver “sweet spot”: Ireland IRELAND_03: 240 sessions at 0.25s intervals 07-Finding-the-sweet-spot.wmv Alfresco Ensure only Ireland is connected. http://54.247.12.28:9080/alfresco-benchmark-server/api/v1/tests/CMIS/drivers Look for Driver

Data Comparison Raw results Compared CMIS.IRELAND_05 CMIS.VIRGINIA_03 CMIS Scenario (Ireland-Ireland vs Virginia-Ireland) CMIS.IRELAND_05 CMIS.VIRGINIA_03 xN cmis.scenario.01.findFolder 155 962 6.21 cmis.scenario.01.listFolderContents 81 643 7.94 cmis.scenario.02.createTestFolder 31 209 6.74 cmis.scenario.02.deleteTestFolder 130 279 2.15 cmis.scenario.02.downloadFile 26 391 15.04 cmis.scenario.02.retrieveTestFolder 23 345 15.00 cmis.scenario.02.uploadFile 159 772 4.86 cmis.scenario.03.createTestFolder 194 6.26 cmis.scenario.03.deleteTestFolder 53 230 4.34 cmis.scenario.03.retrieveTestFolder 24 367 15.29 cmis.scenario.03.searchInFolder 25 187 7.48 cmis.startSession 14 412 29.43 Ensure only Ireland is connected. http://54.247.12.28:9080/alfresco-benchmark-server/api/v1/tests/CMIS/drivers Look for Raw results CMIS.IRELAND_05 CMIS.VIRGINIA_03 Compared

References and Questions Presentation Links Presentation Demo Videos GitHub: derekhulley/alfresco-benchmark derekhulley/benchmark-cmis SVN: Alfresco Signup Test V2.0 Wiki: Benchmark Framework 2.0 Maven Artifacts: org/alfresco/alfresco-benchmark-server/2.0.0 org/alfresco/alfresco-benchmark-sample-archetype/2.0.0 org/alfresco/alfresco-benchmark-tests-ent-signup/2.0 org/alfresco/alfresco-benchmark-tests-cmis/1.0-SNAPSHOT Twitter: @derekhulley @suzukimichael Ensure only Ireland is connected. http://54.247.12.28:9080/alfresco-benchmark-server/api/v1/tests/CMIS/drivers Look for