Follow

Creating a New Taurus Test With Gatling, Locust.io, JMeter or Selenium

Introduction

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 an blazedemo.com site with HTTP GET requests will look as simple as:

---
execution:
   concurrency: 10
   hold-for: 2m30s
   ramp-up: 1m
   scenario:
      requests:
         - url: http://blazedemo.com/
           method: GET

 

As you can see, it’s only 8 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, and represent the results in the most effective form. For more information about Taurus configuration syntax visit Taurus documentation

Creating a new Taurus Test

You can start creating your Taurus test by clicking on the "Create Test" button on the top navigation bar and then select Taurus.


Uploading a YAML/JSON and the test assets

On the top left section of the screen you'll find a central location to upload the YAML/JSON.

  • 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.
  • You cannot delete files during the load test. Files can be deleted only 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 checking 'Send email on report end'.

All done? Now just give it a name, click save and you're Taurus test is ready to go!

Advanced Options

  • New Relic APM: Just enter your New Relic API key here and you'll be able to select profiles. Further details here
  • New Relic Insights: Enter your credentials to access New Relic Insights. Further details here
  • Cloudwatch: Integrate you AWS application monitoring tool and and you'll be able to select profiles and view your Application server's side KPIs. 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
  • AppDynamics APM: Enter your account's details to access AppDynamics. Further details here

Once again, make sure you name your test, save it and 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

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.