Upload
outsystems
View
237
Download
1
Embed Size (px)
Citation preview
Rui MendesPlatform Operations Expert Services
Paulo CostaPlatform Operations Expert Services
https://www.linkedin.com/in/pauloalex
Agenda
• Load Test Scripting Maintenance
• LifeTime Deployment Process
• LifeTime Deployment API
• Orchestration with Jenkins
○ Automate an OutSystems deployment
○ Launch tests
○ Use Performance Reporting
• Q&A
LifeTime Deployment API
● Part of the LifeTime Public API set
● Manage Applications, Modules, Environments and Deployments within your Infrastructure
● Exposes RESTful services
● Requires Authentication Token associated with a Service Account in LifeTime
● Spec: https://goo.gl/4bqbdr
A possible (automation) scenario
● You have Jenkins in your enterprise
● You use JMeter to run your load tests
● You want to schedule a test run periodically
● You want to compare application versions performance-wise*
● You want to automate deployment plans execution
● You want to orchestrate all of this. Can you?
*Using the Performance Plugin for your Jenkins
Orchestration with Jenkins
● Install Jenkins
● Install the Performance Plugin for Jenkins
● Create a job to use the LifeTime
Deployment API to:
○ Get the Environment Keys
○ Get your Application Key
○ Get your Application Latest Tag Key
○ Create the Deployment Plan
○ Execute the Deployment Plan
● Create another job to run your Load Tests
and publish a Report
Orchestrate!
Resources
Software Resource
Task Manager (Mobile APP) outsystems.com/forge/component/1405/task-manager
Apache JMeter 3.2 jmeter.apache.org
Google Chrome google.com/chrome
Jenkins jenkins.io
Performance Plugin github.com/jenkinsci/performance-plugin