Skip to main content
Penyaskito Blog

Main navigation

  • Home
  • Contact
Language switcher
  • English
  • Español
User account menu
  • Log in

Breadcrumb

  1. Home

Non-interactive performance tests and reporting with JMeter

By penyaskito, 26 September, 2012

Once you have modelled your stress tests with JMeter (that's another story that deserves its own post), maybe you want to launch them in a non-interactive way from your continuous integration server.

For doing so, you just need to launch JMeter with the non-interactive mode:

./apache-jmeter-2.6/bin/jmeter.sh -t my-test-plan.jmx \
-l my-test-plan-2012-16-09.jtl -n

This commands launch the test plans, but the output file is XML. How could I send this as a report to the QA team or the management people? Just launch:

xsltproc ./apache-jmeter-2.6/extras/jmeter-results-report_21.xsl \
my-test-plan-2012-16-09.jtl > report-2012-16-09.html 

The result will be an HTML file which is rendered as the image attached.

Tags

  • JMeter
  • performance
  • load testing
The content of this field is kept private and will not be shown publicly.
About text formats

Plain text

  • No HTML tags allowed.
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Manuel Jesús Recena (not verified)

10 years 6 months ago

Hola penyaskito:

Hola penyaskito:

Qué bien quedarían usos reportes en integración continua ejecutados todas las noches tras los últimos commits del día.
Y si además incluyes el despliegue automatizado, mejor aun ;)

Me han dicho que todo lo que necesitas para eso lo tienes resuelto en http://clinkerhq.com ;)

Un abrazo crack!

  • Reply

Tim Koopmans (not verified)

10 years 5 months ago

Gridinit

For real time reporting and distributed jmeter tests across the globe we'd love you to try gridinit.com

  • Reply

Fco Antonio García (not verified)

10 years 6 months ago

Me lo apunto para ponerlo en

Me lo apunto para ponerlo en práctica. Hasta ahora las pruebas de rendimiento las hacía jugando con Apache AB. Un día de estos me debería currar un artículo de optimización de Apache, MySQL, Wordpress, he conseguido bajar bastante el tiempo que tarda en servirse las páginas aunque no estoy del todo contento. Los recursos estáticos enlentecen mucho los portales y estoy pensando en usar Varnish o incluso un CDN.
¿Alguna experiencia al respecto?

  • Reply
Profile picture for user penyaskito

penyaskito

10 years 6 months ago

In reply to Me lo apunto para ponerlo en by Fco Antonio García (not verified)

Buenas Fco Antonio,

Buenas Fco Antonio,
Actualmente acostumbro a servirlos con Varnish, y jugando bien con los TTL y los expires. A ver si pronto puedo escribir sobre ello. Si tienes acceso a un CDN seguramente sea lo mejor y delegar los recursos estáticos. Muchas veces además no sólo afectan al sistema en sí, sino a la percepción del usuario por la limitación de conexiones simultáneas de los navegadores.
Gracias por tu comentario.

  • Reply

Fco Antonio (Ño) (not verified)

10 years 6 months ago

In reply to Buenas Fco Antonio, by penyaskito

Qué formal te pones al

Qué formal te pones al responderme por poner mi nombre completo :P.
En principio en lo que tengo montado he jugado con optimización de MySQL, pendiente hacerlo en el Postgre, luego Apache+APC (que mejora bastante el rendimiento), también módulo Modspeed y luego en los Wordpress jugar con plugins de optimización, carga retrasada de imágenes y otros. Dentro de un tiempo vamos a migrar el servidor y estoy pensando si optar por nginx o seguir con Apache; en cualquier caso montaría Varnish a ver qué tal se comporta. Con los CDN no tengo experiencia y hay que pagar por el servicio, por lo que si Varnish me da un rendimiento aceptable, me lo quedo y de paso bicheo la configuración. Ya te contaré.

  • Reply
  • Add new comment

Monthly archive

  • December 2021 (1)
  • May 2021 (2)
  • April 2021 (1)
  • September 2014 (1)
  • November 2012 (1)
  • September 2012 (2)
  • August 2012 (3)
  • June 2012 (6)

Recent content

Rewriting history on a git repository for editing author and email on past commits
1 year 3 months ago
A Drupal JavaScript behavior for marking edited line items in the cart
1 year 10 months ago
Profiling Drupal, WordPress or any php application with DDEV, XHProf and XHGui
1 year 10 months ago
A personal site upgrade from Drupal 7 to Drupal 9: some migration tips
1 year 11 months ago
Salesforce: generating Excel files from VisualForce APEX pages
8 years 6 months ago
Drupalcamp Spain 2012
10 years 4 months ago
Non-interactive performance tests and reporting with JMeter
10 years 6 months ago
Git workflow with submodules for Drupal deployment
10 years 6 months ago
Remoting for the Drupalcon Munich D8MI Sprint
10 years 7 months ago
Drupal Sevilla Talk: Contributing to Drupal
10 years 7 months ago

Recent comments

Thanks for the comment
1 year 10 months ago
Thanks for sharing this…
1 year 10 months ago
Looking good!
1 year 11 months ago
lopd
8 years 11 months ago
LOPD
9 years ago
Gridinit
10 years 5 months ago
Ya la tiene
10 years 6 months ago
Debería :-P
10 years 6 months ago
Ei! tiene buena pinta...
10 years 6 months ago
Buenas Fco Antonio,
10 years 6 months ago

Blogs I follow

Mateu Aguiló "e0ipso"
Gábor Hojtsy
Pedro Cambra
The Russian Lullaby, davidjguru
Can It Be All So Simple
Maria Arias de Reyna "Délawen"
Matt Glaman
Josef Ottosson (dotnet)
Daniel Wehner
Jacob Rockowitz
Syndicate

Footer

  • Contact
  • Drupal.org
  • LinkedIn
  • GitHub
  • Twitter
Powered by Drupal