Reader small image

You're reading from  Master Apache JMeter - From Load Testing to DevOps

Product typeBook
Published inAug 2019
Reading LevelBeginner
Publisher
ISBN-139781839217647
Edition1st Edition
Languages
Right arrow
Authors (3):
Antonio Gomes Rodrigues
Antonio Gomes Rodrigues
author image
Antonio Gomes Rodrigues

Antonio Gomes Rodrigues has been an expert in the field of application performance for more than 10 years. Antonio has significant experience working with load testing tools like JMeter and LoadRunner. He is currently a committer and a PMC member of the JMeter project within the Apache Software Foundation.
Read more about Antonio Gomes Rodrigues

Bruno Demion (Milamber)
Bruno Demion (Milamber)
author image
Bruno Demion (Milamber)

Bruno Demion, better known as Milamber, is a French computer scientist. Since December 2003, he has been working with JMeter to perform load tests in various missions and training courses. He contributes to the JMeter project, in particular on the translation into French of the graphical interface, corrections of anomalies as well as some behaviors (proxy HTTPS, new results tree, icon bar, and so on). He is currently a committer, PMC member and the PMC Chair of the Apache JMeter project within the Apache Software Foundation.
Read more about Bruno Demion (Milamber)

Philippe Mouawad
Philippe Mouawad
author image
Philippe Mouawad

Philippe Mouawad is a technical expert and architect in J2E and web environments in the company Ubik-Ingenierie. He has been using JMeter since 2009. He contributes to the JMeter-Plugins (Redis DataSet, Graphs Generator Listener, and various patches) project. He is currently a committer and a PMC member of the JMeter project within the Apache Software Foundation. He is also a lead developer of the Ubik Load Pack solution.
Read more about Philippe Mouawad

View More author details
Right arrow

Running Your Test on the Command Line with Taurus

Taurus (https://gettaurus.org/) is a command-line tool for running load test scripts from various tools, including JMeter.

To perform a JMeter test, it's easy:

     bzt myscript.jmx

The advantage over the classic JMeter command line is that this provides more information while running:

Figure 11.4: Taurus

If you want to use more advanced features of Taurus, you need to create a YAML file – let's call it demo.yml. Be careful: the YAML syntax is very sensitive to indentation.

In the following example, we will do three things:

  1. Define how the load will be injected (ramp-up, plateau, and so on) by this syntax:

    execution:

    - scenario: existing

     competition: 10

     hold-for: 10s

     ramp-up: 30s

    scenarios:

     existing:

         script: demo.jmx

    We tell Taurus to run the demo.jmx script with 10 threads by setting a ramp from 0 to 10 virtual users in 30 seconds, then a virtual...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Master Apache JMeter - From Load Testing to DevOps
Published in: Aug 2019Publisher: ISBN-13: 9781839217647

Authors (3)

author image
Antonio Gomes Rodrigues

Antonio Gomes Rodrigues has been an expert in the field of application performance for more than 10 years. Antonio has significant experience working with load testing tools like JMeter and LoadRunner. He is currently a committer and a PMC member of the JMeter project within the Apache Software Foundation.
Read more about Antonio Gomes Rodrigues

author image
Bruno Demion (Milamber)

Bruno Demion, better known as Milamber, is a French computer scientist. Since December 2003, he has been working with JMeter to perform load tests in various missions and training courses. He contributes to the JMeter project, in particular on the translation into French of the graphical interface, corrections of anomalies as well as some behaviors (proxy HTTPS, new results tree, icon bar, and so on). He is currently a committer, PMC member and the PMC Chair of the Apache JMeter project within the Apache Software Foundation.
Read more about Bruno Demion (Milamber)

author image
Philippe Mouawad

Philippe Mouawad is a technical expert and architect in J2E and web environments in the company Ubik-Ingenierie. He has been using JMeter since 2009. He contributes to the JMeter-Plugins (Redis DataSet, Graphs Generator Listener, and various patches) project. He is currently a committer and a PMC member of the JMeter project within the Apache Software Foundation. He is also a lead developer of the Ubik Load Pack solution.
Read more about Philippe Mouawad