Using Commandline Parameters in JMeter

It is a common practice to create performance test scripts by using JMeter GUI. For test execution however, it would be best to use command line mode of JMeter. So whenever you need to change a parameter like thread number, base url, etc.. you need to go to GUI mode, do some modifications and run your test. We can't call that a good practice. JMeter lets you pass parameters in command line mode. How to Pass Argument via Command Line Basic command line parameter is jmeter -n -t your_script.jmx -n - tells JMeter to run in non-GUI mode -t - specifies [...]

By | 2018-07-31T20:47:12+00:00 May 22nd, 2018|Tags: , , , |

How to record HTTP/HTTPS traffic with mitmproxy?

Mobile performance engineering projects require record and playing while dealing with mobile apps. JMeter has a very good Proxy Recorder but there are other tools to help you overcome the challenges. One of these tools is; mitmproxy. You can browse its web site by https://mitmproxy.org/ Mitmproxy is a lightweight, fully capable proxy recorder. It has an interactive console and many functionalities to explore. We’ll do some basic stuff as an entry level tutorial. How to Install Mitmproxy You can use the below command to install it. [crayon-5c11be3154987054616064/] It will download and install all the dependency in a minute. How to [...]

By | 2018-07-31T20:48:28+00:00 May 16th, 2018|Tags: , , |

How to test SOAP Services with JMeter!

SOAP is a messaging protocol specification for exchanging structured information in the implementation of web services. Its purpose is to induce extensibility, neutrality, and independence. It uses XML Information Set for its message format and relies on application layer protocols. SOAP is used in a variety of messaging systems. It is delivered via a variety of transport protocols and the initial focus of SOAP is remote procedure calls transported via HTTP. Many applications run on web services in today's world. Some of them runs on SOAP services, some of them on RESTFUL services which support the JSON messaging format. That’s [...]

By | 2018-07-31T20:49:28+00:00 May 7th, 2018|Tags: , , , |

Database Testing with JMeter

Most of the applications' performance can be tested by triggering HTTP, FTP or some other protocols. But there are some cases where we want to directly test the database system without interfering the HTTP calls. Apache JMeter has a built-in JDBC Request module. We can do database testing with Jmeter. Let's see how! JMeter can connect to any database and run SQL queries concurrently. In order to do so, it's mandatory to have necessary JDBC drivers in the lib folder of your installation. Most important part of the Database performance testing is to have valid connection strings in JDBC Connection [...]

By | 2018-07-31T20:54:01+00:00 March 23rd, 2018|Tags: , , , |

Why you should Execute Load Tests on Cloud?

Cloud testing tools operate on a SaaS (Software as a Service) platform using real-world traffic over the cloud which enables to automate and fasten performance and load testing services. Offering a fast, secure and scalable online load testing on cloud is crucial for many reasons. First of all, cloud load testing allows you to test your applications under real-life conditions. Important values such as response time, throughput, etc. are all taken into account on a live server and cloud testing enables the simulation of real users from the internet. Secondly, by using SaaS for load testing, you gain flexibility and [...]

By | 2018-07-31T20:58:44+00:00 February 6th, 2018|Tags: , , |

How To Use Custom Jars in JMeter and Loadium?

Why do you need to use custom jars in Jmeter? In some cases, we need to share or pass variables between threads and thread groups in JMeter. There are a few ways to do this and using custom jars in Jmeter is one of them. At Jmeter documentation: But sometimes we want to ensure synchronization between threads and thread groups. In this case, one of the best ways is to "write your own Java classes." Creating a Custom Jar Create a new java class in your favorite IDE. Our java package structure is as follows:   Create the methods that you need [...]

By | 2018-09-21T14:06:25+00:00 February 1st, 2018|Tags: , , , |