Weitere ähnliche Inhalte
Ähnlich wie Pre-Con Lab: Test Automation Across Nine Open Source Tools—Taurus (20)
Mehr von CA Technologies (20)
Kürzlich hochgeladen (20)
Pre-Con Lab: Test Automation Across Nine Open Source Tools—Taurus
- 3. 3 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Abstract
In the not so distant past, load testing tools had one clear purpose: to generate load. All the tools created at
that time answered this requirement perfectly. The rationale has evolved as we discovered, fine-tuned, and
extended aspects of the process. Now, the test preparation stage is so complex and crucial that we spend
more time preparing tests than running the load. We want to see live test results alongside the hardware
monitoring data. Finally, the post-test phase requires checking SLA conditions, sending automated
notifications, and storing results for future analytics. The 'good old' tools were not designed well for such a
broad use case. But it isn't just the scope of work that has changed. Even the habits of the people building the
services have also changed. They primarily use two types of tools: command-line tools and Web 2.0 services.
Think how often you encounter Linux, Git and Ansible, Wget and cURL. Or how many of these tabs - Gmail and
AWS, GitHub and Splunk, Salesforce and Hubspot, NewRelic and Jenkins - you currently have open? The
"cherry on top" is the "continuous" aspect of modern development processes. Teams want to automate all
possible parts of the flow, and, in such cases, the testing tool should naturally fit into the "pipeline chain" of
the CI machine. We're left with two possible solutions: modernizing old tools or creating new tools from
scratch. Neither solution is perfect, both require spending a lot of resources on redoing something that has
already been done. In this session, Andrey Pokhilko will explore a third approach - an open source hybrid tool
called "Taurus". This tool meets the broad use cases mentioned above, while enabling you to utilize 'tried and
tested' tools for generating load. To suit the user's habits, Taurus is a simple-to-learn command-line tool that
also connects to Web 2.0 services. This session will have a hand-on section that will provide you with an
opportunity to create, configure and execute Selenium scripts for performance tests in the Cloud using Taurus.
Andrey
Pokhilko
CA Technologies
Chief Scientist,
BlazeMeter
- 21. 21 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
9 Tools Supported
§ Some are cross-platform: JMeter, Gatling, Selenium, Grinder,
Locust, ab
§ Some are Linux/Unix-only: Siege, Pbench, Tsung
§ Selenium is very special: Java, Python, JavaScript, Ruby
supported
§ You can write your own and plug it into Taurus
- 23. 23 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Taurus
• Open Source initiative sponsored by CA BlazeMeter
• Automation-friendly framework for Continuous Testing
• Define scenarios in Taurus YAML or execute existing tests
• Wide variety of test executors, including JMeter, Selenium, Gatling, …
• Ability to generate load locally or in the cloud
• Consistent reporting through Taurus UI or BlazeMeter
• Easy integration with Continuous Delivery systems
Summary
scenarios:
home-page:
requests:
- label: Home
url: /
method: GET
think-time: 500ms
assert:
- contains:
- Welcome
subject: body
regexp: false