apache-jmeter-redline13-load-testing

A while loop is a control flow statement that allows code to be executed repeatedly based on a given Boolean condition. It’s just a repeated IF→THEN statement. IF the condition is true, THEN execute the statements inside the IF block. JMeter implements this while loop by using the JMeter While Controller. The JMeter While Controller basically runs children Samplers and the controller continues to run until the condition becomes false in the condition field. The possibleRead More →

Rest APIs are increasingly popular these days.  They are also frequently being used in Microservices. In this guide, we are going to test REST APIs with authentication using JMeter.  We will see that HTTP Headers play a crucial role in access authentication. Introduction Let’s imagine you want to measure your Rest API request with JMeter and configure the request using JSON format and click the run button.  You will most likely receive an error from theRead More →

This document describes different types of JMeter thread groups and their usage. When talking about performance testing, a very important factor is to try to simulate the actual user behavior as best as possible. In JMeter, Virtual user groups are represented by Thread Groups. A Thread Group is a set of threads executing the same scenario. It is the base element for every JMeter test plan. There are multiple thread groups available which can be configuredRead More →

A question sometimes comes up: can you load test an AWS hosted site, that uses products such as AWS WAF, AWS CloudFront, and the AWS Elastic Container Service, with AWS Load Generators? The concern is that AWS networking may optimize routes and utilize internal large network pipes, etc.  The premise is that that will render the results inaccurate compared to real world results. Let’s look at Load Testing AWS from AWS and what you need toRead More →

People often ask how to share load tests. This is a premium feature within team management. Team Management Team management enhances the sharing of tests and data between different groups of users. With this feature users can see what teams they are on, manage them, add or remove users from a team, and when team members log in they will have the ability to access test results from all members on their team. By default you onlyRead More →

The purpose of the SyncTimer is to block threads until X number of threads have been blocked, and then they are all released at once. A SyncTimer can thus create large instant loads at various points of the test plan. Here’s how you can use JMeter SyncTimer for Load Testing. An Example – A Registration System Let’s say you’re load testing against a Racing Registration system. You have a JMeter script that pulls user information fromRead More →

Increasing the transaction levels and user levels can require you to tune your load tests. That may take some detective work. Here’s a real example. The Problem. A RedLine13 customer had an API test that ran for 12 minutes and generated around 500 transactions a second when run locally on their PC. Taking the same test running on Redline with 4 separate machines they expected to generate 2000 transactions but they were generating around 1040 transactions.Read More →

Writing a chat application with popular web applications has traditionally been very hard. It involves polling the server for changes, keeping track of timestamps, and it’s a lot slower than it should be. In this post we’ll walk through how to improve your WebSocket application performance. Socket.io Sockets have traditionally been the solution around which most realtime chat systems are architected. Socket.io is a JavaScript library for realtime web applications. It enables realtime, bi-directional communication betweenRead More →