Topic Category: JMeter

L14-T1: Properties

Properties are the most general data holder in JMeter. There is also the distinction between system properties and user properties. Refer to the JMeter documentation to look into system properties. I haven’t had a need for them yet. Unlike User Defined Variables which are defined in a Configuration Element, properties are defined:  1.      In a .properties file loaded at …

L14-T1: Properties Read More »

L13-T1: Functions and variables

JMeter functions are special values that can populate fields of any Sampler or other element in a test tree. A function call looks like this: ${__functionName (var1, var2, var3)} Where “__functionName” matches the name of a function.  Parentheses surround the parameters sent to the function, for example ${__time (YMD)} the actual parameters vary from function to function. Functions …

L13-T1: Functions and variables Read More »

L12-T1: Web services test plan

Here we will learn how to test web services or API. Let us first quickly understand what an API is. API stands for Application Programming Interface. It is code that allows two software programs to communicate with each other. Let us take an example of ‘makemytrip’ website. Here you can search flights for any airlines. …

L12-T1: Web services test plan Read More »

L11-T1: FTP test plan

Now we will see how to test a FTP site using JMeter. Let us create a Test Plan to test the FTP site.Rename Test Plan• Open the JMeter window by clicking /some folder/apache-jmeter-2.9/bin/jmeter.sh• Click on the Test Plan node.• Rename this Test Plan node as TestFTPSite. Add Thread GroupAdd one Thread Group, which is placeholder …

L11-T1: FTP test plan Read More »

L10-T2: Save and execute test plan

Now save the above test plan as db_test.jmx. Execute this test plan using Run > Start option. Verify the Output After executing, go to View Results Tree to verify the output. Refer the screenshots below.

L10-T1: Create JMeter test plan

Let us start the JMeter from C:\Program Files\apache-jmeter-3.2 \bin\jmeter.sh. Add Users To create a Thread group, Right-click on Test Plan. Select Add > Threads (Users) > Thread Group. Thus, thread group gets added under the Test Plan node. Rename this Thread Group as JDBC Users Adding JDBC Requests Now that we defined our users, it is time …

L10-T1: Create JMeter test plan Read More »

L8-T3: Ultimate thread group

Ultimate Thread group: In this activity we will learn how to add/ configure the Ultimate thread group in a test plan. Let’s understand what an Ultimate thread group is: JMeter’s Ultimate Thread Group is an element that enables sophisticated management of the thread groups in your load. This is done by enabling you to have an infinite number …

L8-T3: Ultimate thread group Read More »

L8-T2: Assignment

SCENARIO: Start recording and access the Home page of Training application 1. Click on STUDENT->Modify,    Find the student and edit the details2. Click on MARK INFO->Add,   Find the student and add marks for each course Let’s create the below scenario by increasing the load in portions: – 200 threads as target load – 0 seconds …

L8-T2: Assignment Read More »