Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.51 KB

README.MD

File metadata and controls

55 lines (33 loc) · 1.51 KB

This install is for a lab that uses an Ubuntu Desktop to work from.

If you have jmeter or need to follow other install direction all you really need is the plan which is is in spring-petclinic/jmeter

  1. Add jmeter to your machine

From "/home/{user}"

Run the commands to download and unpack jmeter

wget https://mirrors.gigenet.com/apache//jmeter/binaries/apache-jmeter-5.4.1.zip
unzip apache-jmeter-5.4.1.zip
  1. Move the jmeter folder to /opt/ and set a soft link from /opt/ to user

sudo mv apache-jmeter-5.4.1 /opt/
sudo ln -s /opt/apache-jmeter-5.4.1/bin/jmeter /usr/local/bin/jmeter
  1. Download jmeter plugins manager from: https://jmeter-plugins.org/install/Install/

And move it to the jmeter install dir '/lib/etx'

sudo mv jmeter-plugins-manager-1.6.jar /opt/apache-jmeter-5.4.1/lib/ext
  1. Open the jmeter gui and the provided petclinic test plan from the terminal.

Run command

jmeter -t ./spring-petclinic/jmeter/petclinic_test_plan.jmx

You should then get the jmeter ui

jmeter gui

In here you want to change "Server name or IP" to match the External IP of your api-gateway service and set "Port Number to 80

Then click the "Run" button

Expand the test plan and click "View Results Tree" to make sure tests are running ok

jmeter gui two

You should also see new data showing in the app

petclinic data

Back to Main README