JMeter

L6-T3: Regular expression extractor

In this activity, we will configure Regular Expression Extractor and know various parameters. Let us understand, how to add regular expression extractor? To add regular expression extractor, Right click on Sampler Request –> Add –>Post Processor –>Regular Expression Extractor NOTE: Sampler to click depends on, from which sampler response we are extracting data Ex 1: Configure Regular …

L6-T3: Regular expression extractor Read More »

L6-T2: Build regular expression

In this activity, we will learn how to write Regular Expression syntax. Suppose if we have to capture/extract sub-string from the sampler response string then we have to match the pattern. We will understand different types of extractions with examples: 1. Extract Single String Suppose you want to match the following portion of the response: …

L6-T2: Build regular expression Read More »

L6-T1: Extracting data

In this activity we will discuss one of the features of JMeter which allows us to capture response data during execution using regular expression extractor. Let us know understand what is regular expression? > Regular expression is a pattern matching language that performs a match on a given value, content or expression.> They are written …

L6-T1: Extracting data Read More »

L5-T7: Exercise 2

Enhance the existing script AddCourse – AddMarks.jmx by recording Modify and Search Course using Training application. Let us try to modify course details and then search for 2 new courses. SCENARIO: Start recording and access the Home page of Training application. 1. Click on COURSE INFO->Modify, enter course details    Semester-1, Course ID- TD 106    …

L5-T7: Exercise 2 Read More »

L5-T6: Exercise 1

Record a scenario by using Training application, Let us try to add 2 new courses into Mechanical department and start adding marks for students in that department. SCENARIO: Start recording and access the Home page of Training application 1. Click on COURSE INFO->Add, enter course details    Department-ME,Semester-1,Course Name-Thermo-Dynamics,    Course ID- TD 106    Department-ME,Semester-1,Course …

L5-T6: Exercise 1 Read More »

L5-T4: Run and analyze results

In this activity we will run the script which we captured and will analyze results. Ex 1: Run test plan 1. Click on File->Open in JMeter UI and navigate to local drive:\apache-jmeter-3.0\bin\scripts\Add_Student.jmx 2. Right click on Thread Group-> Hover over to Add-> Listener ->View Results in Table 3. Right click on Thread Group-> Hover over …

L5-T4: Run and analyze results Read More »

L5-T3: Configure CSV data set

In this activity, we will configure CSV Data set and know various parameters. Let us understand, why do we need CSV data set config element? CSV data set config element is required to read data from a file. Let us first add CSV Data Set Config, Click on Thread group-> Add->Config Element->CSV Data Set Config. Ex …

L5-T3: Configure CSV data set Read More »

L5-T1: Altering data

In this activity we will discuss one of the features of JMeter which allows us to alter data (parameterize) using CSV file. Let us know understand what is parameterization? In simple words, parameterization in JMeter is the process where test plans are executed with multiple sets of user input data. By the way, why is it required? …

L5-T1: Altering data Read More »

L4-T3: Set up JMeter

In this activity we will try to download, install and set up JMeter. Step 1: Download JMeter Download the latest version of JMeter from http://jmeter.apache.org/downl… Choose the Binaries file (either zip or tgz) to download as shown in figure below Step 2: Install JMeter Installation of JMeter is extremely easy and simple. Un-zip the zip/tar file into …

L4-T3: Set up JMeter Read More »

Scroll to Top