How To Extract CSRF Token

The CSRF Token is something you might encounter on most e-commerce sites. For this reason, we receive a lot of questions about exceeding this token within a JMeter script. CSRF token usually changes multiple times in an end-to-end flow. The token you get in first visit is going to be different from the token you need to use after you login. So here is how to extract it using multiple post processors. Here is my request flow: We are getting our first CSRF Token from our login page html with CSS selector. It is [...]

By |2022-09-02T14:12:43+03:00September 2nd, 2022|

How To Use Switch Controller & Simple Controller On JMeter

Did you know that it is possible to use the Java’s Switch-Case structure on JMeter as well? Even if you didn’t, now you know, and we will discover how to use switch controller & simple controller on JMeter in this blog post. Let’s learn how! We use Switch Controller in cases where we dynamically need to change the requests we want to send, depending on a value. Simple Controllers are mostly used for organizing and documentation, but if you use them inside a Switch Controller, each one will become a case of Switch-Case structure. To better understand, let’s create [...]

By |2022-08-08T15:28:54+03:00August 8th, 2022|

Part 4: JMeter Installation and JMeter Tests with Loadium

Interpreting Test Results on Loadium Previously, we learnt how to install JMeter, how to create a scenario, and how to execute our tests on Loadium. In this part, we will briefly explain how to understand Loadium reporting screens and parameters. Let’s start to interpretation of test results with summary report page. On the summary report page, in addition to the values we saw on the previous page, we can see the values max and min response times, number of errors received, latency and connect time. Connect Time → Time taken to establish TCP connection between the server [...]

By |2022-07-19T13:40:40+03:00July 20th, 2022|Tags: , , , , |

Part 3: JMeter Installation and JMeter Tests with Loadium

Running JMeter Tests with Loadium The first and second parts of the series briefly explained how to install JMeter and an example JMeter scenario. In the third part, namely this part, it will be explained how to run JMeter Tests with Loadium. Let’s start. So, this is the first screen you’ll see once you are logged into your account. As you can see, there are 5 different testing option for you to choose. First one is JMeter Test which we will dive deep into soon. Second option is Gatling Test. It’s also a load test framework that [...]

By |2022-07-18T16:37:22+03:00July 19th, 2022|Tags: , , , |

Part 2: JMeter Installation and JMeter Tests with Loadium

Example Scenario on JMeter Tests Previously, it was mentioned how to install JMeter, in the first part of this series. In this part of the blog series, an example scenario on JMeter tests will be explained in detailed. There is an example scenario in following table; Scenario Name End to End Test Participating Actor Client Flow Of Events The client logs in the Trendyol’s system. Then, the client selects a random product. The client adds the product in the basket. The client logs out. In order to record, we open the JMeter recorder as we explained [...]

By |2022-07-18T10:21:39+03:00July 18th, 2022|Tags: , , |

Part 1: JMeter Installation and JMeter Tests with Loadium

In this article, firstly we will learn how to install JMeter and how to run our scripts that we created with Jmeter on Loadium. Jmeter is the most used testing tool for doing performance testing of web based applications. It’s completely open source tool and based on Java language. That’s why we have to download Java to our computer first. We can use this link for downloading Java. There is one thing to do before download the Jmeter. We have to configure the path of Java on our computer. After that, we can download Jmeter. It’s pretty simple. We [...]

By |2022-07-05T14:12:40+03:00July 5th, 2022|Tags: , , |

System Stability Test | Part 2

Advantages of System Stability Test And How To Do It How to Do System Stability Test To determine the scope and objective of the testing, we must ensure that the application server does not crash during the load test executions. Determine the business issues, verify the system performance, and load as per the end-user perspective. Assign the different responsibilities and roles like; creating test plan, test case design, test case review, test execution, etc. Ensure the test deliverables within the specified time Ensure proper load testing tools and experience team is present for the same. Measure the [...]

How To Test Login Page Using JMeter

If you are starting your career as a Performance Test Engineer, you will be dealing with lots of login flows during your working hours. Since it is really important for the sake of your load test, the login page should be tested thoroughly. Here are some tips for you to create and execute a proper test to test login page using JMeter. 1. Practice Login Flow Manually Before recording the requests for login flow, you should perform a couple of manual tests for login components. Make sure that the login button, user credential sections and other basic [...]

Checklist To Advance JMeter Scripts in 9 Steps

As a professional software testing services firm, we supply JMeter scripts to our clients so that they may use Loadium to run performance tests fast and easily. Even if you are not a Loadium customer, you can benefit this checklist to advance JMeter scripts in 9 Steps. We recognize that the scripts we provide are frequently utilized by teams that do not have formal JMeter training but still want to be able to modify them and understand what they do. We've been working on creating scripts that are simple enough for anyone who isn't a JMeter expert and can [...]

By |2022-02-04T16:43:18+03:00February 4th, 2022|Tags: , , |

JMeter How to Solve NoHttpResponseException

During load testing, it is very normal that you get some errors for your requests. But sometimes these errors don't occur because of server problems. One of the most common exceptions in JMeter is NoHttpResponseException. To solve this issue, you can try the following alternative solutions. Change the Implementation of Your HTTP Requests On JMeter, choose a specific HTTP request sampler. On Advanced tab, you will see a section called “Implementation”. Change this option to “HttpClient4”. Then rerun your load test. Change Your “user.properties” File Adding some values to your user.properties file [...]

Go to Top