{"id":3267,"date":"2015-09-07T22:56:15","date_gmt":"2015-09-07T22:56:15","guid":{"rendered":"http:\/\/www.abstracta.us\/?p=3267"},"modified":"2025-05-05T21:21:36","modified_gmt":"2025-05-05T21:21:36","slug":"introduction-taurus-alternative-jmeter","status":"publish","type":"post","link":"https:\/\/abstracta.us\/blog\/performance-testing\/introduction-taurus-alternative-jmeter\/","title":{"rendered":"Introduction to Taurus: An Alternative to JMeter"},"content":{"rendered":"<p><!-- Go to www.addthis.com\/dashboard to customize your tools --><script src=\"\/\/s7.addthis.com\/js\/300\/addthis_widget.js#pubid=ra-58d80a50fc4f926d\" type=\"text\/javascript\"><\/script><\/p>\n<h1><span style=\"font-weight: 400; color: #333333;\">JMeter struggles? Taurus to the rescue!<\/span><\/h1>\n<p><span style=\"font-weight: 400; color: #333333;\">For those of you who know<\/span> <a href=\"http:\/\/jmeter.apache.org\/\" target=\"_blank\" rel=\"nofollow noopener\">JMeter<\/a> <span style=\"font-weight: 400; color: #333333;\">(the most popular open source tool for<\/span>\u00a0<span style=\"font-weight: 400; color: #00b674;\"><a href=\"http:\/\/abstracta.us\/blog\/performance-testing\/types-of-performance-tests\/\" target=\"_blank\" rel=\"nofollow noopener\">testing performance<\/a><\/span><span style=\"font-weight: 400; color: #333333;\">), your first thought was probably not \u201cWhat a user-friendly software program! It\u2019s so clear what this script does!\u201d Taurus is here to fix that by\u00a0keeping you afloat in a sea of scripts.<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">Undoubtedly, most people with a lot of experience eventually find JMeter\u2019s script very easy to understand. Abstracta&#8217;s tool (which is still in development, yet free and available on Github),<\/span> <span style=\"color: #0000ff;\"><span style=\"color: #00b674;\"><a href=\"https:\/\/github.com\/abstracta\/ScriptGenerator\" target=\"_blank\" rel=\"nofollow noopener\">ScriptGenerator<\/a><\/span><span style=\"color: #333333;\">,<\/span><\/span><span style=\"font-weight: 400; color: #333333;\"> helps with this task of generating a simpler JMeter script that still follows the best practices we have defined.<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">In this post, we\u2019ll look at Taurus, an open source tool developed by the creators of Blazemeter, as another approach to facilitate the task of developing a script and how we can take advantage of its various features.<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\"><strong>The idea of Taurus is to provide language creation\/configuration scripts in a more user-friendly way.<\/strong> Taurus, with its written language based on JSON or YAML generates scripts in JMeter, Grinder or Gatling. Not only can you create scripts from Taurus, but one of its many benefits is that you can also use pre-existing scripts.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Some_Advantages_of_Taurus\"><\/span><strong><span style=\"color: #00b674;\">Some Advantages of Taurus<\/span><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><span style=\"font-weight: 400; color: #333333;\">The scenario definition is clearer than JMeter. The plugins<\/span> <span style=\"font-weight: 400; color: #00b674;\"><a href=\"http:\/\/jmeter-plugins.org\/wiki\/UltimateThreadGroup\/\" target=\"_blank\" rel=\"nofollow noopener\">Ultimate Thread Group<\/a><\/span> <span style=\"font-weight: 400; color: #333333;\">and<\/span> <span style=\"font-weight: 400; color: #00b674;\"><a href=\"http:\/\/jmeter-plugins.org\/wiki\/UltimateThreadGroup\/\" target=\"_blank\" rel=\"nofollow noopener\">Stepping Thread Group<\/a><\/span> <span style=\"font-weight: 400; color: #333333;\">try to solve that problem.<\/span><\/li>\n<li><span style=\"font-weight: 400; color: #333333;\">Versioning of scripts is easier, as it is a YAML or JSON instead of XML.<\/span><\/li>\n<li><span style=\"font-weight: 400; color: #333333;\">The configuration script in Taurus can be understood by someone without much experience.<\/span><\/li>\n<li><span style=\"font-weight: 400; color: #333333;\">Real-time reporting during test execution<\/span><\/li>\n<li><span style=\"font-weight: 400; color: #333333;\">The possibility of using pre-existing scripts<\/span><\/li>\n<li><span style=\"font-weight: 400; color: #333333;\">Integration with BlazeMeter<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400; color: #333333;\">On the Integration with BlazeMeter, Taurus allows us to move the information from the test execution servers into the cloud and get the graphical response time using BlazeMeter\u2019s interface. For those who already know BlazeMeter, you may wonder if it is possible to run it on BlazeMeter\u2019s infrastructure and, well\u2026 the answer is no. Not yet at least.<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\"><strong>UPDATE AUGUST 2016:<\/strong><\/span> <span style=\"font-weight: 400; color: #333333;\">Yes, you can now execute in BlazeMeter, there are actually 9 executors with quite a few added in the last year. Learn more about<\/span> <span style=\"color: #00b674;\"><a href=\"http:\/\/gettaurus.org\/docs\/ExecutionSettings\/\" target=\"_blank\" rel=\"noopener\">execution settings<\/a><\/span>.<\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">An example of a YAML in Taurus is shown in the following figure.<\/span><\/p>\n<p><a href=\"http:\/\/abstracta.us\/wp-content\/uploads\/2015\/09\/Screen-Shot-2018-12-06-at-12.20.36-PM-min.png\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-10383\" src=\"http:\/\/abstracta.us\/wp-content\/uploads\/2015\/09\/Screen-Shot-2018-12-06-at-12.20.36-PM-min-1024x400.png\" alt=\"yaml in taurus\" width=\"1024\" height=\"400\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">(Source: <a href=\"https:\/\/gettaurus.org\/kb\/Basic1\/\" target=\"_blank\" rel=\"noopener\">https:\/\/gettaurus.org\/kb\/Basic1\/<\/a>)<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">This file defines a simple load test with 10 concurrent users, ramp-up of 1 minute, with a length of \u00a02m 30s invoking the web http:\/\/example.com using GET. This will generate a JMeter file with the code to run the defined test.\u00a0Clearly, its much more simple and readable than the equivalent test in JMeter.<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">You may wonder, how do I do it if I need to set a parameter? What if the body of a POST is very large and I do not want it in my configuration file? Below shows a complete example of the definition of a request, where the only required attribute is the URL. It shows the use of parameters in a request and even the use of files for building\u00a0a request. The use of variables is also allowed in the form $ {variable}. In the Taurus<\/span> <span style=\"font-weight: 400; color: #00b674;\"><a href=\"http:\/\/gettaurus.org\/docs\/JMeter\/\" target=\"_blank\" rel=\"nofollow noopener\">user manual<\/a><\/span><span style=\"font-weight: 400; color: #333333;\"><span style=\"font-weight: 400; color: #00b674;\">,<\/span> you can find this information and more.<\/span><span style=\"font-weight: 400; color: #333333;\"><img decoding=\"async\" class=\"center\" src=\"https:\/\/media.licdn.com\/mpr\/mpr\/shrinknp_800_800\/AAEAAQAAAAAAAAaTAAAAJDRkOTVhZmQyLTIxNWEtNGZiYi1hNDJmLWQyYzIzNmEyM2U2NQ.png\" alt=\"\" width=\"640\" height=\"319\" data-loading-tracked=\"true\" \/>\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #333333;\">What do you think of this tool? Would you find it useful? Has anyone used it on a project? Looking forward to your comments!\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2><span class=\"ez-toc-section\" id=\"Recommended_for_You\"><\/span><strong>Recommended for You<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"http:\/\/abstracta.us\/blog\/performance-testing\/gatling-tool-review-performance-tests-written-scala\/\">Gatling Tool Review for Performance Tests (Written in Scala)<\/a><br \/>\n<a href=\"http:\/\/abstracta.us\/blog\/performance-testing\/performance-testing-in-production\/\">Performance Testing in Production<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JMeter struggles? Taurus to the rescue! For those of you who know JMeter (the most popular open source tool for\u00a0testing performance), your first thought was probably not \u201cWhat a user-friendly software program! It\u2019s so clear what this script does!\u201d Taurus is here to fix that&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,61],"tags":[89,50,163],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.0.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Introduction to Taurus: An Alternative to JMeter | Abstracta<\/title>\n<meta name=\"description\" content=\"JMeter struggles? Taurus to the rescue! For those of you who know JMeter (the most popular open source tool for testing performance), your first thought was\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introduction to Taurus: An Alternative to JMeter | Abstracta\" \/>\n<meta property=\"og:description\" content=\"JMeter struggles? Taurus to the rescue! For those of you who know JMeter (the most popular open source tool for testing performance), your first thought was\" \/>\n<meta property=\"og:url\" content=\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog about AI-powered quality engineering for teams building complex software | Abstracta\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AbstractaQA\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-07T22:56:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-05T21:21:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/abstracta.us\/wp-content\/uploads\/2015\/09\/Taurus-min.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"420\" \/>\n\t<meta property=\"og:image:height\" content=\"236\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AbstractaUS\" \/>\n<meta name=\"twitter:site\" content=\"@AbstractaUS\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/abstracta.us\/blog\/#website\",\"url\":\"https:\/\/abstracta.us\/blog\/\",\"name\":\"Blog about AI-powered quality engineering for teams building complex software | Abstracta\",\"description\":\"AI-powered quality engineering\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/abstracta.us\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/abstracta.us\/wp-content\/uploads\/2015\/09\/Screen-Shot-2018-12-06-at-12.20.36-PM-min-1024x400.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/#webpage\",\"url\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\",\"name\":\"Introduction to Taurus: An Alternative to JMeter | Abstracta\",\"isPartOf\":{\"@id\":\"https:\/\/abstracta.us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/#primaryimage\"},\"datePublished\":\"2015-09-07T22:56:15+00:00\",\"dateModified\":\"2025-05-05T21:21:36+00:00\",\"author\":{\"@id\":\"https:\/\/abstracta.us\/blog\/#\/schema\/person\/78cd0dcae50ce820b25e86d3330e9762\"},\"description\":\"JMeter struggles? Taurus to the rescue! For those of you who know JMeter (the most popular open source tool for testing performance), your first thought was\",\"breadcrumb\":{\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/\",\"url\":\"https:\/\/abstracta.us\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/\",\"url\":\"https:\/\/abstracta.us\/blog\/testing-tools\/\",\"name\":\"Testing Tools\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\",\"url\":\"https:\/\/abstracta.us\/blog\/testing-tools\/introduction-taurus-alternative-jmeter\/\",\"name\":\"Introduction to Taurus: An Alternative to JMeter\"}}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/abstracta.us\/blog\/#\/schema\/person\/78cd0dcae50ce820b25e86d3330e9762\",\"name\":\"Sof\\u00eda Palamarchuk, Co-CEO at Abstracta\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/abstracta.us\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/222e8b1136482564fe25acc4de2b9b7a?s=96&d=blank&r=g\",\"caption\":\"Sof\\u00eda Palamarchuk, Co-CEO at Abstracta\"},\"description\":\"Co-Chief Executive Officer at Abstracta\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/3267"}],"collection":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/comments?post=3267"}],"version-history":[{"count":13,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/3267\/revisions"}],"predecessor-version":[{"id":17534,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/posts\/3267\/revisions\/17534"}],"wp:attachment":[{"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/media?parent=3267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/categories?post=3267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abstracta.us\/blog\/wp-json\/wp\/v2\/tags?post=3267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}