Home » Tag Archives: Apache JMeter

Tag Archives: Apache JMeter

Implement custom JMeter samplers

apache-jmeter-logo

As we proceed on different architectures and implementations the need for versatile stress testing tools rises. Apache Jmeter is one the most well known tools when it comes to load testing. It supports many protocols such as ftp http tcp and also it can be used easily for distributed testing. Jmeter also provides you with an easy way to create ...

Read More »

Apache JMeter Tutorial

apache-jmeter-logo

Want to load test your web app? Then you should know about Apache JMeter! This JMeter tutorial explains the basic concepts as well as how to create a test plan and how to execute it to benchmark your application. This is a crossposting of my article on Disy’s Tech-Blog – thanks for letting me write it on company time, guys! ...

Read More »

Apache Server and JMeter debugging

apache-jmeter-logo

I had been using JMeter to generate load for my production server to test my application. The test-plan has 13+ HTTP sampler to make different request and one Regular Expression extractor to extract some value from the response. This value was used in consecutive HTTP Sampler. This test case simple and straight forward. Initially I used 200 JMeter threads to ...

Read More »

JMeter custom function implementation

apache-jmeter-logo

JMeter provides functions that can be used in the sampler. While writing complex test-plan you feel that JMeter is lacking some of the methods. You use Beanshell script to define your own custom method. JMeter invokes Beanshell interpreter to run script the script. This works fine as long as you don’t generate high load (high number of threads). But once ...

Read More »

Performance Analysis of REST/HTTP Services with JMeter and Yourkit

apache-jmeter-logo

My last post described how to accomplish stress- or load-testing of asynchronous REST/HTTP services with JMeter. However, running such tests often reveals that the system under test does not deal well with increasing load. The question is now how to find the bottleneck? Having an in-depth look at the code to detect suspicious parts could be one alternative. But considering ...

Read More »

Extending JMeter with a WS-Trust/STS sampler

apache-jmeter-logo

JMeter does not have any inbuilt support for WS-Security or WS-Trust and that made me develop this STS Sampler for JMeter – which could make anyone’s life better while load testing an STS. First you need to have the Apache JMeter distribution. I am using v2.7. Then you can download sts.sampler.zip from here – unzip it and copy the “repo” ...

Read More »

Extending JMeter with a password digest generator

apache-jmeter-logo

Recently I had to work on loading an OpenLDAP instance with 50,000 user records and carry on some stress testing. JMeter was the best choice to populate the LDAP. But.. in my case, OpenLDAP was configured not to accept any clear text passwords. So, I could not login in with any of the random generated passwords I added via JMeter ...

Read More »

Apache JMeter: Load Test Whatever You Want

apache-jmeter-logo

This is the second post about load testing with Apache JMeter, read the first post here: A step by step tutorial about load testing relational databases. JMeter has lots of Samplers. If you need a sampler that is not provided by JMeter you can write your custom sampler. (custom samplers are called “Java Request” in JMeter terminology) This post will ...

Read More »

JMeter: Load Testing Relational Databases

apache-jmeter-logo

Apache JMeter is a performance testing tool which is entirely written in Java. Any application that works on request/response model can be load tested with JMeter. A relational database is not an exception: receives sql queries, executes them and returns the results of the execution. I’am going to show you how easy it is to set up test scenarios with ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials