JMeter - SPLessons

Jmeter Testing Example

Home > Lesson > Chapter 4
SPLessons 5 Steps, 3 Clicks
5 Steps - 3 Clicks

Jmeter Testing Example

Jmeter Testing Example

shape Description

Execution testing is huge to check that the web application under test will satisfy high load requirements. JMeter gives an assortment of graphical investigations of execution reports. JMeter can be utilized to test execution of both static assets such as JavaScript and HTML, and in addition dynamic assets, for example, JSP, Servlets. JMeter can find most extreme number of simultaneous clients that site can deal with. It can be used to separate general server execution under overpowering weight.

shape Step - 1

The performance can be done two ways such as load testing, stress testing. Here first add the Add Thread Group as follows. Increase Period urges JMeter to what degree to surrender before beginning next client. For instance, on the off chance that we have 100 clients and a 100 second Ramp-Up period, then the postponement between beginning clients would be 1 second. After doing the above step now enter thread properties as follows.

shape Step - 2

Now add the JMeter elements as follows. To add the element right click on Add and go to Configure element and go to Http Request Defaults.

shape Step - 3

Now add the Sampler as follows. To give the some response to the server give any data such as calender in the path as follows.

shape Step - 4

Now add the listner as follows, listener will be used if any errors occurs in the result.

shape Step - 5

After the completion of above steps run the code then result will be as follows. The deviation is a measure of complexity between the watched estimation of a variable and some other regard, consistently that variable's mean. The sign of the deviation , reports the course of that refinement . The enormity of the regard demonstrates the traverse of the refinement.

Summary

shape Key Points

  • Thread group is the primary block of the test plan.
  • The medianis the esteem isolating the higher portion of an information test.
  • The throughput has been a measure of the near adequacy of substantial business PCs.