Find out the purpose of JMeter response assertions. From configuration to best practices, learn how to make the most out of them.
When running a protocol based load test with JMeter, it is always a challenge to make sure the server responses are correct. The default validation is only done on HTTP response codes based on their value:
OK < 400 <= KO And since 4XX and 5XX HTTP response codes are error messages it makes sense. But it’s easy to understand why this is not enough.
What to expect with no assertions Take any web application with a login, when you enter invalid credentials you might get something like this:
How to find what business to launch when you have no idea? The answer is surprisingly easy to figure out yet not so obvious.
Before revealing the secrets behind every successful business idea to you, let’s first dive into the story of some of the most successful business men who bootstraped their companies.
Philip Knight (Nike) Philip Knight, originating from Oregon, is a runner. He deeply embraces this sport since he is young. Running six miles a day, he enjoys the relaxation you feel when completing a new milestone. The endorphins build up in your body, giving you this joyful sensation of being completely relaxed and safe.
You need to create a different thread with unique session for each user? Learn how to use different logins per user with a CSV file.
Problem You want to simulate a realistic load test where every user is having a unique user session. You application may only accept one user login per account at a time. You want each concurrent user to pick a different login password.
It’s way more realistic to simulate concurrent users using unique logins and passwords because it’s closer to the real world load. It’s a good practice to avoid using a single user login and password for all concurrent users.
Got an handshake_alert or any other Https related issue with JMeter? It might be linked to Server Name Indication HTTPS extension.
SNI is the acronym for Server Name Indication:
Server Name Indication (SNI) is an extension to the TLS computer networking protocol by which a client indicates which hostname it is attempting to connect to at the start of the handshaking process.
SNI extension may not work with legacy web-servers who doesn’t support it. Fortunately, SNI extension can be disabled in JMeter. JMeter is a Java program. Java has enabled SNI support in Java 7.
A complete guide on how to use JMeter’s While Controller to design loops that break on a specific condition.
JMeter’s While controller is best suited for advanced scripts which simulate realistic user behaviors. It allows to define a behavior which occurs on a certain condition. Designing realistic behaving users involves designing users whose behavior depends on the server responses, and act accordingly.
This post explores in details various JMeter While usages and explains them thoroughly.
Difference with If Controller The difference is pretty simple to understand:
If controller children are executed zero or one time when the condition is met, While controller children are executed zero, one or multiples times depending how many times the condition is met.
Thanksgiving is over, but it’s Christmas before time with OctoPerf 7.5. The biggest present being the addition of Service Level Agreements.
Now that we prepare to enter winter, our developers (Jérôme & Gérald) do not need an excuse to stay at home and code new features. Plus since the weather is cool here they will not be distracted by snow. Which is why even though our latest post about new features was just 6 weeks ago, here we are again with a new batch. Oh and don’t worry for them, as long as we pay them 1€ at the end of each month; it’s technically not slavery!
Learn more about how Privalia increased its platform’s capacity by 325%.
E-commerce growth predictions estimate that the market size will likely double and even triple between 2014 and 2021. This translates to a constant need to improve user experience and performances. Privalia as a company is particularly aware of this situation.
Founded in 2006, Privalia holds short brand oriented flash sales on several markets like Brazil, Mexico, Spain and Italy. Privalia belongs to the vente-privee Group, creator and worldwide leader of flash sales concept.
Ultimate Guide testing and comparing 22 Most Popular Performance Testing Tools like JMeter, Gatling Tool, Locust or The Grinder.
I think you will agree when I say:
It’s really hard to find an open-source load testing tool which suits best your needs.
You may ask yourself:
Which Open-Source load testing tool should I use? Should I use an UI or Code oriented Load Testing Tool? Which tools are valid JMeter Alternatives? And there are just so many. Well, it turns out you can save a huge amount of time by reading our complete guide!
A collection of useful and reusable JMeter JSR223 / BeanShell / Groovy scripts to reuse in your different JMeter JMX Projects.
This blog post aims to be a collection of sample JSR223, Beanshell and other useful reusable scripts. Use them freely in your JMeter projects to leverage the power of JMeter! Reuse them in JSR223 samplers directly as is, or modify them to fit your needs.
Many other example JSR223 samples can be found in our documentation.
Log a Message log.info("This is the log for INFOR level"); log.warn("This is the log for WARNING level"); log.
If you want to increase your productivity, automate all the things from development to software testing and going in production.
You may have recognized the famous indie game Factorio used as the picture for this article. Factorio is best described as:
Factorio is a game in which you build and maintain factories. You will be mining resources, researching technologies, building infrastructure, automating production and fighting enemies.
Basically the goal of this game is to build a fully automated supply chain to produce a rocket to escape an hostile planet where you crashed.