Taurus is an open source test automation tool that extends and abstracts leading open source tools including JMeter, Gatling, Locust.io, The Grinder, and Selenium and helps to overcome various challenges. Taurus provides a simple way to create, run and analyze performance tests.
Taurus can consume configuration files written in JSON or YAML languages which are very human readable. For instance, a simple load test with 10 concurrent users, a ramp-up time of 1 minute, a duration of 2.5 minutes and hitting a blazedemo.com site with HTTP GET requests will look as simple as:
As you can see, it’s only eleven lines of simple human-readable language that represents a (more or less) complete load scenario. It’s really simple to use.
This is the whole idea of Taurus: to provide a unified, simplified way of configuring and running automated tests, then present the results in the most effective form. To learn more about Taurus, first check out Taurus's Beginner's Course, then for more information about Taurus's configuration syntax, visit the Taurus Tool Documentation.
Uploading a YAML/JSON Script with Test Assets
At the top of the screen, you'll find a central location to upload your YAML/JSON script. Here, you can either click the "+" button to browse to your script or drag the script from your desktop to the "+" button.
- All the files in your account are downloaded to the remote servers at the beginning of each test.
- During the test, the files in your account are synchronized every few minutes.
- Files can only be deleted once the test has ended or before it has started.
If you require more information regarding uploading files to the test configuration page, please refer to this article.
Under the 'Configuration Preview', you will see the YAML/JSON code of the file you uploaded.
Now that you've set up your test, you can choose to receive the report to your email by toggling the 'Send email when test is done' button.
All done? Now just give it a name and you're Taurus test is ready to go!
- New Relic APM: Just enter your New Relic API key here and you'll be able to select profiles. Further details here
- CA Technologies APM: Integrate your CA APM application to run and investigate load tests through test metadata. Further details here
- Cloudwatch: Integrate your AWS application monitoring tool and you'll be able to select profiles and view your Application server's side KPIs. Further details here
- AppDynamics APM: Enter your account's details to access AppDynamics. Further details here
- DynaTrace APM: Choose a DynaTrace integration mode and the monitoring KPIs will be immediately available to you in your DynaTrace app. Further details here
Once again, make sure you name your test, save it, and then you're ready to go! Great! You've now successfully set up your Taurus test. Ready to move on to the next step? Read our article on Running BlazeMeter Tests to find out how.
Want to learn more about running a Taurus tests with open source tools? View our on-demand webcast How to Stop Waiting & Start Testing With Open Source Tools