2

Friday Lunchtime Hack - jmeter on OCP

 5 months ago
source link: https://chrisphillips-cminion.github.io/apiconnect/2023/11/10/jmeter-on-ocp.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Friday Lunchtime Hack - jmeter on OCP

Friday Lunchtime Hack - jmeter on OCP

Nov 10, 2023 • Category APIConnect by Chris Phillips

A few years ago I was playing around with jmeter-on-ocp. https://github.com/ChrisPhillips-cminion/jmeter-on-ocp. Please note this is my fork, I am unsure what is happening to the original but credit must go to https://github.com/alvarolop for the start of this.

This week I had to go back into performance test to reproduce a clients issue. So I dusted off this repo. Now the point of friday lunchtime hack is to quickly knock something together to solve a problem. It WONT be pretty.

This repo was designed to quickly be able to run a JMETER workload in three replicas on OCP. It is not clever.

To make this work clone the repo. And open the auto-install.sh.

Inside the auto-install script file you can reference the test file and on line 43.

Then you can run the auto-install script to build the container, and initiate the test.

I like to wrap this in another shell script to extract the jmeter logs using oc logs -lapp=jmeter -n jmeter


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK