1.

Can we perform spike testing in JMeter? If yes how?

Answer»

Spike TESTING is conducted to determine how an application behaves when the number of users accessing the system decreases or increases ABRUPTLY. This is because generally when the number of users varies abruptly and suddenly (leading to a spike), then the system behaviour will have unexpected changes. This can be tested in JMeter using Synchronizing Timer. This is simulated by jamming the threads by synchronizing the time until the stipulated number of threads have been blocked and once that is achieved, then release the threads suddenly at once to simulate a large load.

The FOLLOWING steps can be performed:

  • Create a performance TEST plan
  • Create a thread group within it
  • Add all the JMeter ELEMENTS specific to business requirements
  • Add listeners to view the results
  • Run the tests
  • Get the results
  • Monitor the behaviour.


Discussion

No Comment Found