When we think of performance testing we normally think of thousands of requests with thousands of users generating huge volumes on our application under test or increasing the load until the application under test fails or runs out of resources.
This is not a good approach when determining load for your performance tests for several reasons and can in some cases render your performance testing meaningless.
This post will outline some of the pitfalls that are commonly made when it comes to generating load and will look at ways to suggest improvements to your approach to load profiles.
JMeter has many plug-ins and downloadable JAR Files you can use to support your testing, it is also possible to write your own custom Jar files and use these as well.
Why would you want to do that, you may say, well whilst it is unlikely that you would need to create anything too complicated.
You may feel the need to create utilities to support your own in-house performance testing or just something to make your testing process easier.
We could easily write a custom Jar file to push the results of test run to any reporting tools your organisation uses, if they expose their API's, at the end of the test execution cycle.
Alternatively, you could write something that sends your results to a mail server or web server for the purposes of results distribution.
For the purposes of this post lets imagine a situation where your company has a dashboard technology that displays the status of development builds or testing progress through a series of APIs, there are many examples of these type of status boards and they are common in many technology departments.
And let’s write a JAR file to output our JMeter test results in the form of JSON which can be sent to this imaginary endpoint we will then use the Custom Class we create in a JMeter test script.
Decathlonis a network of innovative retail chains and brands providing enjoyment for all sports people.
At Decathlon, 85,000 of co-workers live a common Purpose on a daily basis: To sustainably make the pleasure and benefits of sport accessible to the many.
Decathlon presently operates in 58 countries in Retail with more than 1654 sport hypermarkets, and in 26 countries with Production.
At Decathlon, innovation is at the heart of all activities: from research to retail, including conception, design, production and logistics. Signed sport teams channel all their energy into developing technical, good-looking and simple products, always at the lowest possible prices.
These products are aimed at all sports enthusiasts, from beginners to experts, and are sold at Decathlon.
Nicolas Zangari, the digital platform manager at Decathlon was actively looking for better, simpler load testing solutions than legacy tools.
Nicolas had previously heard about OctoPerf during a french testing event called JFTL.
He was looking out for a tool for his project since the RFID API was being redesigned and would soon require testing.
This blog post is a guide to help you write Gatling scripts in order to load test web applications efficiently.
It follows our second Gatling Simulation scripts parameterization article.
We will continue to load test a fake e-commerce, and so we are going to improve our Virtual User to make it browse the store in a more humanly way.
To do it we will cover several topics:
Loops to make it browse several articles of each category,
Conditions to change its behavior depending on dynamic parameters,
We start where the previous blog post ended, with a simulation script that uses a CSV feeder and a Regular Expression extractor to visit dynamic pages of the pet store: Download Sample Script.
Most of you have already recognized the name SNCF, it is obviously one that is hard to miss when you live in France. But for everybody else, allow me to do a quick reminder of what SNCF stands for.
The Société Nationale des Chemins de fer Français (Chemin de fer, literally, 'path of iron', means railway) is France's national state-owned railway company. It operates 32,000 km (20,000 mi) of route and in 2017 had €33.5 billion of sales in 120 countries. The SNCF Group employs more than 260,000 people.
Lately, SNCF's IT strategy could be summarized as follows:
Have state-of-the-art, multi-cloud, application execution capabilities,
Work as a business partner with hand-picked software vendors to help them grow and learn from a real life use case.
This means re-thinking the strategy in many areas, including performance testing.
Julien Leclère is the Head of software factory at SNCF, with a range of 1500 applications.
The factory provides assets to manage the entire application lifecycle. Julien was looking for
a solution that could fit in the factory while still answering to a large variety of requirements.
To help with his task, Julien was assisted by Joaquin De Ibar Aguado who took the role of project manager on the migration to OctoPerf. Joaquin would help integrate OctoPerf in the factory as well as migrate a few key projects as a proof of concept.