From configuration to file splitting, learn how to change the data every thread is using, with this in-depth CSV Dataset tutorial.
You’re probably asking several legitimate questions:
How can I simulate concurrent users with unique logins using JMeter ? How can I split JMeter CSV Data Set over multiple load generators in case of Remote Testing? Is there a solution to Randomize the content of the CSV before a test run? Let me tell you a secret: you’ll get all the answers below.
You will learn how to swarm your system with dynamically behaving users thanks to JMeter CSV Data Set Config.
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:
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.
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.
Struggling to get JMeter working on Mac? Downloaded the tarball but don’t know what to do next? Learn how to install JMeter on your Mac, Macbook, iMac.
You have always wanted to use JMeter, on your Mac, but you don’t know how to get started. You might have downloaded JMeter so far, so now how do you get that software installed, up and running? Running a Java program on a Mac isn’t obvious so we are going to explain how to install and run JMeter within minutes using a few command lines.
The great thing is JMeter is a Java program.
How to enable Gzip compression in JMeter to allow requesting Gzipped content, using HTTP Header Managers and JSR223 Pre Processors.
You’re probably asking yourself: How can I enable Compression support in JMeter?
JMeter can use up to 10x more bandwidth when compression is disabled.
Learn how to configure JMeter to support Request and Response Compression like GZip.
HTTP Compression As explained on HTTP Compression, the client advertises itself as capable of handling various compression formats:
GET /encrypted-area HTTP/1.1 Host: www.example.com Accept-Encoding: gzip, deflate The server should then respond with the Content-Encoding: gzip header:
Learn 12 amazing ways to analyze JMeter HTML Report, JTL Results and more! Includes a complete test of 3 major cloud load testing tools.
I’m sure you agree that: There are so many ways to collect and interpret JMeter Results, you feel lost.
Well, it turns out after reading this post, you will know 12 different ways to collect and analyze results!
We’re going to explore every single possible way to get insightful metrics, including graphs, charts, tables, html reports and more. JMeter is such a complex tool with so many amazing possibilities that it becomes difficult to know what to do.
Tips and Tricks to solve JMeter Out Of Memory, Garbage Collector issues. Learn how to optimize JMeter memory usage.
If you’re here, it’s because you’ve probably experienced Java Heap Space exceptions while running JMeter. Isn’t it?
JMeter Out Of Memory exceptions happen during a heavy load tests, with the following log lines appearing in jmeter.log:
2017/10/01 13:35:16 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.OutOfMemoryError: Java heap space
It can also be a message like Unable to create new native Thread. Don’t panic!
You’ll learn 12 ways to get ride of memory issues and get a better understanding of how the JVM works.