Use Jenkins For Continuous Load Testing And Mobile Test Automation October 1, 2014 www.appvance.com Building mobile apps and Ajax apps effectively requires a blended approach to test automation. Frank Cohen, CTO/Founder at Appvance, shows how to leverage the best application performance test methodology with test tools to deliver excellent Ajax, iOS and Android apps. Learn how to: * Effectively choose a mobile testing method for Agile shops * Reduce costs by choosing the best tools (Appium, Jenkins, Appvance PerformanceCloud) * Scale-up your mobile testing to thousands of test suites automatically * The mix-and-match mobile testing methodology for just-in-time performance testing [email protected]
32
Embed
Use Jenkins For Continuous Load Testing And Mobile Test Automation
Building mobile apps and Ajax apps effectively requires a blended approach to test automation. Frank Cohen, CTO/Founder at Appvance, shows how to leverage the best application performance test methodology with test tools to deliver excellent Ajax, iOS and Android apps. Learn how to: * Effectively choose a mobile testing method for Agile shops * Reduce costs by choosing the best tools (Appium, Jenkins, Appvance PerformanceCloud) * Scale-up your mobile testing to thousands of test suites automatically * The mix-and-match mobile testing methodology for just-in-time performance testing
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Use Jenkins For Continuous Load Testing And Mobile Test Automation October 1, 2014
www.appvance.comBuilding mobile apps and Ajax apps effectively requires a blended approach to test automation. Frank Cohen, CTO/Founder at Appvance, shows how to leverage the best application performance test methodology with test tools to deliver excellent Ajax, iOS and Android apps. Learn how to: * Effectively choose a mobile testing method for Agile shops * Reduce costs by choosing the best tools (Appium, Jenkins, Appvance PerformanceCloud) * Scale-up your mobile testing to thousands of test suites automatically * The mix-and-match mobile testing methodology for just-in-time performance testing [email protected]
Use Jenkins For Continuous Load Testing And Mobile Test Automation
•Performance Testing Identifies Business Risk To Launch
• How Many People Are We Ready To Serve At Any Given Time
•Stress Testing Identifies The Experience As The App Fails
• International Bank App Showing Other User Details
Testing Measures Business Risk
Sprint Review
Acceptance
✓ Unit Tests Pass✓ Functional Tests Pass✓ Usability Tests Pass✓ Perf Under Load Pass✓ Stress Tests Completed✓ Production Monitor In Place
A Testing Strategy for You
•Working With Today’s Apps, Pages, Tools • Serverless Architecture means pages that have state, workflow, communication
• Real time analytics and immediate fix - at the same time
• Extending tools to support new technology
•Beginning To End Testing •Scaling Up Your Team’s Efforts
• Higher Productivity
• Test Management
•Cost Effectiveness and Immediate Support
How Do I Get App Testing?
•Ajax App Testing
• Sahi, Selenium, WebDriver
• Unit Testing more difficult, easier to maintain
• JMeter does not work in Ajax
•Mobile App Testing
• Appium for iOS, Android
• Unit Testing of REST and SOAP services using soapUI, HAR, JMeter
• Others, very limited support and no repurposing to performance tests
Continuous DevOps In Practice
Data Center Switches Testing
svn, GIT
TestNode4
TestNode5
OracleAPC Controller 1
Test Scenario
1
DPL,Logging
Scale Up To Multiple Teams
Data Center Switches Testing
svn, GIT
TestNode4
TestNode5
OracleAPC Controller 1
Test Scenario
1
DPL,Logging
TestNode2
TestNode3
APC Controller 2
Test Scenario
2
TestNode1
Router Team Testing
Connect To Continuous Integration, Deployment
Data Center Switches Testing
svn, GIT
TestNode4
TestNode5
OracleAPC Controller 1
Test Scenario
1
DPL,Logging
TestNode2
TestNode3
APC Controller 2
Test Scenario
2
TestNode1
Executing Appium Tests from Jenkins
#Start appium server appium_log=appium.log appium_cmd="node <REPLACE_WITH_APPIUM_PATH>/appium/lib/server/main.js" echo "[INFO] Appium command: $appium_cmd" $appium_cmd &> $appium_log& appium_pid=$! #check if appium was successfully started sleep 1 appium_pid_start=`ps -p $appium_pid | grep node | awk '{ print $1 }'` if [ -z $appium_pid_start ] ; then echo "[ERROR] Appium failed to start! Port $appiumport may be already in use. " exit 1 fi echo "[INFO] Appium started with pid: $appium_pid . Logging to: ${appium_log}" # be sure to kill appium on script stop trap "kill $appium_pid" SIGINT SIGTERM EXIT