Showing posts with label Apache Jmeter. Show all posts
Showing posts with label Apache Jmeter. Show all posts

HTTP request defaults in jmeters is one of the configuration element. You can set default values for HTTP Requests using jmeter http request defaults in your software load test plan. Let's say, You have software load test plan with 10 HTTP requests and all requests are being sent to same server. In this case, You can add http request defaults jmeter and set server name in Server Name or IP field of http request default in jmeter. Then you do not need to set Server Name or IP in all 10 HTTP requests. HTTP requests will inherit Server Name or IP field's value from HTTP Request Defaults. Let's see how it works with practical example.

Size assertion in jmeter software load test plan is useful to assert the byte size of request response. You can use different conditions in response assertion like equal to, not equal to, greater than, less than, greater than or equal to, less than or equal to a given number of bytes for response. Here we will learn how to use size assertion in your jmeter software load test plan to assert size of response.

XPath Assertion is useful to assert the page element's xpath. You can learn more about XPath and how to find it guide on THIS PAGE. Earlier we learnt different assertions of jmeter to use them in software load test plan so i think now you are well aware about assertion. Let's learn XPath assertion with example to know how to use it in your practical software load test plan using jmeter.

Duration assertion is used to assert the response time of request in jmeter software load test plan. It will assert that response of request is received within given amount of time or not. If response of request is received in given amount of time then it will be pass and if it exceeds given amount of time then it will be fail. Let's learn how to use duration assertion in jmeter software load test plan.

Earlier we learnt how to use response assertion in your jmeter software load test to assert response code of request in my previous post. So now you already aware about how response assertion works. Here we will see example on how to use response assertion in your software load test to assert response message.

Response assertion in jmeter is most important element as it helps you to assert the response of request in your software load test plan. It will show request result failed if response of request is not as expected and show pass if response of request is as expected. So you can verify your software load test result using the response assertion. In this section, We will learn how to assert response code of request using response assertion.

Stop Thread On EOF? is parameter of CSV Data Set Config configuration element in apache jmeter. Earlier we learnt about CSV Data Set Config in THIS POST and usage of Recycle On EOF? parameters in THIS POST.  So here we will discuss about Stop Thread On EOF? parameter of CSV Data Set Config and how to use it in your software load test plan.

Recycle On EOF? is one of the multiple parameters of CSV Data Set Config configuration element. CSV Data Set Config is config element of apache jmeter and you can use it in your software load test plan if you wants to read data from csv file. You can READ MORE about CSV Data Set Config if you wants to know how it works and when to use it in your software load test plan. Here we will learn about usage of Recycle On EOF? parameter.

Earlier we learnt about CSV Data Set Config and how to use it software load test plan to read data from csv file as described in my PREVIOUS POST. So now here we will talk only about usage of allow quoted data? parameter of CSV data set config.

CSV Data Set Config is one of the configuration element of Apache JMeter software load testing tool. CSV Data Set Config allows you to read variable values from csv file and then you can use those values in samples of your software load test plan as per your requirement. Here we will see, How to add CSV Data Set Config in your software load test plan and how to read data from csv file. Let's learn with example.

Earlier we have learn different components of Counter config element of Jmeter and how to use it in your software load test plan with example in THIS ARTICLE. So here we will not discuss all those things and directly focus on usage of "Track Counter Independently for each User" parameter of Counter config element and how it will works in your software load test plan with practical example.

Apache JMeter has many different configuration elements and counter is one of the configuration element of JMeter. Counter config element allows you to set a counter and then you can use it's reference anywhere in your thread group of your software load test plan. Let's understand how to add and configure counter in your software load test plan.

Random order controller in apache jmeter is used to execute requests of jmeter software load test plan in random order. This is the only difference between simple controller and random order controller. We will learn usage of random order controller in jmeter software load test plan with example.

Add Random Order Controller In Load Test Plan
Generally, Random Order Controller is being added under thread group. To add random order controller in jmeter software load test plan,
  • Right click on your Thread Group -> Add -> Select Logic Controller -> Random Order Controller. See below given image.

It will add random order controller under thread group.

Transaction Controller is one of the logic controllers of apache jmeter which is useful to measure over all time taken to perform complete transaction of any software web application's load testing scenario. Example : Total time taken to place online order on any eCommerce software web application. This includes all the requests which are required to place order from software web application. Transaction controller will add additional sample after nested samples to show total time taken by it's nested samples.

Constant Timer is very useful element of JMeter software load test plan as it allows you to pause each thread for same amount of time when executes the requests. You can add constant timer under controller and parallel to software load test plan's requests if you wants to put pause on each request. Also you can add constant timer under request if you wants to put pause on that specific request. Let's see how to add and use constant timer parallel to requests in software load test plan with example.

We already learnt usage of constant timer parallel to requests to pause threads on all requests for given amount of time in my earlier post. Also you can put constant timer under specific request of your software load test plan to pause thread on that specific request for given amount of time. Let's learn how to pause thread on specific request of your software load test plan for given amount of time using constant timer.

Constant throughput timer in jmeter is one of the mostly used timer in jmeter software load test plan. Using JMeter constant throughput timer, You can decide how many samples should be executed per minute. Constant throughput timer will add random pauses between requests during test execution to match required throughput figure(samples per minute). Let's learn usage of constant throughput timer in apache jmeter software load test plan.

We already learnt about what is about uniform random timer and how to use it in your software load test plan in my earlier posts. As you know, uniform random timer has parameters called constant delay offset and Random delay maximum. So if you will set only constant delay offset and run your software load test then it will behave as constant timer. Let's see with example.

Now you already knows what is uniform random timer and how it works in software load test plan as we have already discussed all those things in previous posts. So i will not detail it more now. Let's move to practical example directly. Here we wants to see how uniform random timer behaves if we put it under specific request.

Earlier we learnt whats is the main concept of uniform random timer, usage of it's different parameters and how to add it in your software load test plan. Now here we will see how to add uniform random timer parallel to requests of your software load test plan and how it will works. Let's see with example.