training webinar - smooth integrator

13
Smooth Integrator Load Testing Script Maintenance, Automation and Orchestration

Upload: outsystems

Post on 22-Jan-2018

237 views

Category:

Technology


1 download

TRANSCRIPT

Smooth IntegratorLoad Testing Script Maintenance, Automation and Orchestration

Rui MendesPlatform Operations Expert Services

[email protected]

Paulo CostaPlatform Operations Expert Services

[email protected]

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

Load Test Scripting Maintenance

Original Application:

Load Test Scripting Maintenance

New version:

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

LifeTime Deployment API

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!

Live Demo

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