Skip to content

Spike Testing

Jyoti Bhushan edited this page Apr 14, 2021 · 3 revisions

We have performed load testing using Jmeter using 3 service replicas and 5 service replicas on the following functions:

  • Landing Page
  • Login
  • Get Image
  • Get Albums

Steps

1. Open terminal at bin folder of apache-jmeter

2.1 GUI Mode

Run $ ./jmeter.sh

Steps to create a test:

  1. Create Thread group :
  2. Number of threads : 1000
  3. Ramp-up period : 10
  4. Loop count: 10
  5. Add sampler -> Http method
  6. Add listener -> View Results Tree
  7. Add listener -> Summary report
  8. Add listener -> Graph Results
  9. Add Timer -> Synchronizing Timer

2.2 Non GUI Mode

  • ./jmeter.sh -n -t <jmx file created with GUI mode> -l <Test file name>.jtl -e -o <Test folder>
  • Once execution is complete, <Test folder> and <Test file name>.jtl are created in bin
  • Open index.html under <Test folder> to view results and dashboard created by Jmeter
Clone this wiki locally