JMeter

RedLine13 is answering Stack Overflow questions in Spanish and Portugues

You may have seen answers on Stack Overflow regarding JMeter Load Testing and RedLine13. Recently there have been some questions in Spanish and Portuguese with Stack Overflow answers in Spanish and Portuguese. Rohit, who works for RedLine13, looks for questions that people have in Stack Overflow and other places, and usually responds very quickly with some excellent advice! He recently saw a Stack Overflow questions in Spanish. Thanks to Google Translate he was able to understand the question and responded…in English. However, he was asked to answer in the native language. Thanks again to Google Translate he responded in Spanish. His repost may not have beenRead More →

Recording signifying File Upload with JMeter

This article demonstrates how to do a file upload with JMeter. This will show the steps when you have a load testing scenario where file upload is required. Recording File Upload with JMeter The simplest way of creating a JMeter test plan is recording the corresponding request using the HTTP(s) Test Script Recorder. JMeter acts as a proxy server, capturing all traffic between a web browser and the application under test (AUT), and converting it into the relevant HTTP requests. JMeter has predefined templates which we can use to create test plans. Follow the steps below to set up JMeter for recording. Click on FileRead More →

HTTP Authorization Manager keeps your script from being rejected

Sometimes you will need to load test URLs that are restricted from public access. The types and resources can vary from corporate libraries and knowledge bases to targeted forums or others. All tend to have limited or restricted access. When you try to access such URLs, a browser generates a pop-up window and asks for username and password to authenticate. You should handle this in your JMeter script to get access to the web resources. This is where the HTTP Authorization Manager comes into the picture. Before we begin, let’s understand basic authentication. Basic Authentication Basic Authentication is a method for an HTTP user agentRead More →

Overview – Data Driven Testing Data Driven Testing (DDT) is a popular testing approach, especially for functional testing. The same business requirement or use case can get different reactions when using different data. One of the most popular uses is entering forms. The basic aim of this approach is to design one test case and implement it with different data sets. To use data-driven testing in this scenario, you can record a single automated test, and enter values to be used in the various fields. DDT will run the test with the different values. Introduction Although Data Driven Testing is used generally for Test Automation,Read More →

Database

Database load testing is used to test database applications for performance, reliability, and scalability. We will use varying user loads to identify performance issues. Load testing simulates real-life user load for the target database applications and is used to determine the behavior of the database applications when multiple users hit the applications simultaneously. This article will guide you how to configure and run JMeter Database Testing. We will create a simple test plan to test a MySQL database server, but you can use any database. Prerequisites for JMeter Database Testing: Before you start working with a database by using JMeter, you need to do theRead More →

Pro Tip - Expert Terrain

In this example we will show how to extract AWS instances parameters using JSR223 Sampler on JMeter. In addition, you will learn how to run bash command scripts on remote linux servers using JMeter. This is a JMeter Pro Tip that can save you time.   In some cases it is necessary for the load test to send a linux command to  the remote linux server. For example, after completing a load test and before retesting again you might need to connect to the servers to delete some folder or content. To do this you need to use putty program to connect via ssh protocol. For instance,Read More →

JMeter Test Script Recorder

Mobile app users are demanding high performance at all times and they rarely give a second chance to an app that performs poorly. For this reason, you have to make sure to prepare your app in advance by executing a proper load testing process. JMeter can be used for mobile performance testing. To start with, we will show you the steps you can take to record the scenario in a mobile app with JMeter. It’s similar to recording scripts for web applications. All we have to do is set the correct proxy in place for the mobile device. However, you need to first prepare JMeterRead More →

JMeter Throughput Shaping Timer Results on RedLine13

Imagine you have a task to test the throughput of a system at a specified Requests Per Second (RPS) rate. To achieve the desired rate using regular thread groups you would need to play around with the number of threads and timers. This is not an efficient way to generate load. You can simply use JMeter’s Throughput Shaping Timer Plugin. The Throughput Shaping Timer plugin allows you to load test the RPS more effectively. It is designed to schedule RPS load. You can click here to download the Throughput Shaping Timer. First, download the jar file and place it in lib/ext folder of JMeter and then restartRead More →

apache-jmeter-redline13-load-testing

BeanShell is one of the most advanced JMeter built-in components. JMeter has rich built-in plugins which cover many needs of a performance test. For example, you might need some additional scripting while writing some complex tests. In such cases, it’s worth using Beanshell. In this post, we are going to be talking about testing complex logic with JMeter Beanshell and common use cases. Beanshell has the functionality to run java code and has access to JMeter APIs and external classes that are loaded in the JMeter classpath. JMeter has the following Beanshell enabled components: Beanshell Sampler. Beanshell PreProcessor. Beanshell PostProcessor. __BeanShell function. Beanshell Assertion. BelowRead More →