Continuous Performance Testing
From Jmeter to Blazemeter Taurus and Jenkins
import random
import time
import requests
class Speaker(object):
def __init__(self):
born = "Avilés - Asturias"
studies = "Applied Maths and Computability"
jobdescription = "Performance Jedi"
company = "SCRM"
project = "LidlPlus"
talks = [VLC Testing, DevopsDays, WebPerfDays, Velocity]
def talk(self):
start_timer = time.time()
r = requests.get('http://www.slideshare.net/almudenavivanco')
r.raw.read()
latency = time.time() - start_timer
self.custom_timers[Devops] = latency
if __name__ == '__main__':
speech = Speaker()
speech.talk()
print trans.custom_timers
Almudena Vivanco
(@MrsDaehin)
Review Hell
Clean Code,
sustainable and repositable
Integration with
other tools
Gatling
Apache Benchmark
Locust
Non gui execution
Same Scenario different test and workloads
Version Control
Code vs GUI
Tool Integration
Parallel Testing
pip install bzt
more information https://gettaurus.org/
Repo for devops https://github.com/daehin/DevopsBCN
From Scratch
Executors:
Jmeter
Gatling
Selenium
Appium
Locust
With an existing script
Include Scenario
yaml vs xml
Command Line Jmx2yaml
Multiplataforma
Integracion con Jenkins
Swagger2yaml
5 Razones para usar Swagger/OpenAPI
https://www.blazemeter.com/blog/five-reasons-you-should-use-openapi-swagger-for-your-apis
1.- Colaboración
2.- Eficiencia ahorrando tiempo y errores al escribir código
3.- Evaluar y asegurar la calidad
4.- Generar Documentación útil e interactiva
5.- Publica tu API
Reuse your code
your scripts must be maintainable and READABLE
there are more tools than Jmeter out there, USE THEM!
Collaborate with the whole team
Let jenkins do the job