Currently Browsing

Author Archive

Jmeter – How to improve performance

Jmeter is a powerful load testing tool. If you are new to it you might run into some of the following problems: Out of memory error, it consumes a a lot of memory and CPU or even with a high end pc it can only work with 200 threads at the time.
Here are some tips and tricks about how can you improve the performance of Jmeter.
A simple and an important thing is to always you the latest version of Jmeter. Memory usage and performance is improved with every version so always be up to date.
The biggest error that the beginners do is the usage of listeners. Using a lot of listeners will result in out of memory since report generating takes a lot of resources. The best thing to do is to remove all the listeners. If you are asking how will you know the results then, you can use the “Simple Data Writer” to collect the results and you view the results later and generate the graphs.

If you decide to remove the listeners and go with the data writer, you need to add these lines into the file:;

Mobile Website Load Testing

Internet usage on mobile devices increases every year. Even though mobile screens became bigger, its size is still significantly smaller than PC monitors. As the result the website won’t appear correctly or the content will be too small. Because of that the websites needs to be adjusted for the current device. For this purpose there is usually created a mobile version of the website. These changes can cause different performance and stability issues. That’s why there is a need for testing on those pages as well.
There is a variety of devices and web browsers. The website to identify from what device/browser the request came from it will check the “User agent” header string which contains this information. In the later part we will show an example of the header.

For the load test we will be using JMeter. You can download the newest release from here: Download JMeter

Setting up and running a simple AngularJS test

For running our tests we will use Protractor. Protractor is an end-to-end test framework for AngularJS applications.
We will use an existing Selenium grid to run our tests.

You will need NodeJS to install Protractor. You can download it from here: