Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on GKE and supporting all external files shipped with jmx #37

Open
wants to merge 125 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
821eb56
modified gitignore
hshencognizant Mar 24, 2021
31df41c
restrict influxdb version to 1.8.0
hshencognizant Mar 24, 2021
c56e7e3
changed graphana service typo to LoadBalancer
hshencognizant Mar 24, 2021
67848ed
created easy_travel.jmx
hshencognizant Mar 24, 2021
0ae5833
updated to easy travel url
hshencognizant Mar 24, 2021
e183857
rename jmx and fixed homepage url
hshencognizant Mar 24, 2021
5750347
updated jmx
hshencognizant Mar 24, 2021
3101ee3
add reporter.sh
hshencognizant Mar 24, 2021
3911b62
updated date
hshencognizant Mar 24, 2021
815a700
change the app version in the reporter
hshencognizant Mar 24, 2021
87a18c0
refactored README
hshencognizant Mar 25, 2021
39cb829
change the Graphana reporter to LoadBalancer
hshencognizant Mar 25, 2021
b2de618
reverse to NodePort
hshencognizant Mar 25, 2021
ba9d479
expose reporter port
hshencognizant Mar 25, 2021
951c42b
reverse back to NodePort
hshencognizant Mar 25, 2021
8509507
changed to LoadBalancer
hshencognizant Mar 25, 2021
3003f49
added both internal and external grafana services
hshencognizant Mar 28, 2021
b5bb04f
merge grafana reporter into jmeter_cluster_create
hshencognizant Mar 29, 2021
2bf4fdd
updated readme
hshencognizant Mar 29, 2021
049016c
add pv claim; refactoring start_test
hshencognizant Mar 29, 2021
9b0110a
added start_test_jmx_dir.sh
hshencognizant Mar 29, 2021
6113859
added aggregate listener
hshencognizant Mar 29, 2021
089fe07
added jtl option. adding generate_report
hshencognizant Mar 30, 2021
f50849a
packing test report locally
hshencognizant Mar 30, 2021
03f9f5e
quietly zip
hshencognizant Mar 30, 2021
e3fbaac
fixed zip message
hshencognizant Mar 30, 2021
5547a14
adding date to duplicated test plans
hshencognizant Mar 31, 2021
19e06bf
updated messages
hshencognizant Mar 31, 2021
5591fc6
added a properties file
hshencognizant Mar 31, 2021
d33bf35
new argument structure. not working atm
hshencognizant Mar 31, 2021
b44234b
adding the ability to use properties
hshencognizant Mar 31, 2021
30f5418
revert the jmx back to without properties
hshencognizant Mar 31, 2021
28d99e9
branched easyTravel_use_prop.jmx
hshencognizant Mar 31, 2021
5680be9
attempting to use -G in jmeter
hshencognizant Mar 31, 2021
4e48815
change sh permissions
hshencognizant Mar 31, 2021
1b08361
properties works. updated msg
hshencognizant Mar 31, 2021
474d038
changed properties
hshencognizant Mar 31, 2021
60af290
updated msg
hshencognizant Mar 31, 2021
4279352
add csv
hshencognizant Mar 31, 2021
9299ef2
added view journey
hshencognizant Mar 31, 2021
85f9463
add csv path to props
hshencognizant Mar 31, 2021
9b0d7d2
added booking trips
hshencognizant Mar 31, 2021
a353820
added write a message toggle
hshencognizant Mar 31, 2021
29c4b4e
added test_plan_dir in jmx
hshencognizant Mar 31, 2021
5ddc706
change the pod_work_dir to / need to add logic to protect linux syste…
hshencognizant Apr 1, 2021
5e93c79
use /mnt for pod_work_dir
hshencognizant Apr 1, 2021
9584a85
toggled on backednlistener
hshencognizant Apr 1, 2021
696c0e5
fix pod_work_dir
hshencognizant Apr 1, 2021
78ee8d6
removed if controller
hshencognizant Apr 1, 2021
e7d3b9c
remove / in pod_work_dir
hshencognizant Apr 1, 2021
5a473eb
disable groovy script until cd command is built into jmeter images
hshencognizant Apr 1, 2021
8b33e94
update JMeter version to 5.4.1
hshencognizant Apr 1, 2021
a4cabf3
updated README
hshencognizant Apr 1, 2021
ba63d31
chmod
hshencognizant Apr 1, 2021
2007501
added update_jmeter_cluster
hshencognizant Apr 1, 2021
cc3a0dc
chmod
hshencognizant Apr 1, 2021
e4f09e1
removed $node
hshencognizant Apr 1, 2021
2d0fa12
add $tanent
hshencognizant Apr 1, 2021
49a8c2a
rename to create_jmeter_cluster
hshencognizant Apr 1, 2021
fb1825c
added created_jmeter_clster
hshencognizant Apr 1, 2021
4e00f93
chmod
hshencognizant Apr 1, 2021
8d98215
updated message
hshencognizant Apr 1, 2021
03a209a
rm setup_grafana_dashboard.sh
hshencognizant Apr 1, 2021
045ea62
chmod
hshencognizant Apr 1, 2021
37035f9
add a blank line
hshencognizant Apr 1, 2021
7c2662e
Merge branch 'dev_GKE' of https://github.com/Cognizant-Digital-Engine…
hshencognizant Apr 1, 2021
fb06d47
retired old sh
hshencognizant Apr 1, 2021
6695ff2
chmod
hshencognizant Apr 1, 2021
0eb6451
updated to latest dockerfile format
hshencognizant Apr 1, 2021
ee5aec3
updated dockerfile
hshencognizant Apr 1, 2021
aa04130
retired old docker files
hshencognizant Apr 1, 2021
03446a4
add zip into jmeter images
hshencognizant Apr 1, 2021
ae17d7a
retired dockerimages.sh
hshencognizant Apr 1, 2021
63722c5
new argument structure
hshencognizant Apr 1, 2021
c53062f
fix start test
hshencognizant Apr 1, 2021
af9bb94
include checking existing report dir
hshencognizant Apr 1, 2021
230f7c9
enabled groovy message
hshencognizant Apr 1, 2021
1cc12d7
added test elapsed time in groovy message
hshencognizant Apr 1, 2021
373752e
fixed linebreak
hshencognizant Apr 1, 2021
b662558
add printing work path
hshencognizant Apr 1, 2021
baa5519
disagled groovy msg
hshencognizant Apr 1, 2021
b81950b
disagled main thread group
hshencognizant Apr 1, 2021
b9a1758
updated sysout
hshencognizant Apr 1, 2021
668730a
updated jmx
hshencognizant Apr 1, 2021
7d25c28
smuggle out user dir
hshencognizant Apr 1, 2021
84a35e6
added pwd
hshencognizant Apr 1, 2021
5eb2d88
changed POD_WORK_PATH to /
hshencognizant Apr 1, 2021
20bac98
disabled pushing into slaves
hshencognizant Apr 1, 2021
3db0891
add delete path
hshencognizant Apr 1, 2021
bc2ac34
back to pushing into slaves
hshencognizant Apr 1, 2021
a31cdc0
changed to run jmeter master and slave pods as user 10 (nonroot)
hshencognizant Apr 1, 2021
c74ed8d
changed imagePullPolicy: Always
hshencognizant Apr 1, 2021
3972065
set workingDir: /tmp grant root
hshencognizant Apr 1, 2021
ab000b3
fixed slaved workdir
hshencognizant Apr 1, 2021
93c479a
add mkdir in dockerfile
hshencognizant Apr 2, 2021
6e27e64
populate with /tmp/kubermeter/workdir
hshencognizant Apr 2, 2021
fdb1d20
updated mkdir
hshencognizant Apr 2, 2021
771675f
updated mkdir
hshencognizant Apr 2, 2021
c839c8f
fixed typo
hshencognizant Apr 2, 2021
ca41751
added docker system prune -a
hshencognizant Apr 2, 2021
7ce77c4
typo
hshencognizant Apr 2, 2021
b2b77e6
removed -a
hshencognizant Apr 2, 2021
e5da509
try tar
hshencognizant Apr 2, 2021
1687958
changed master workingDir
hshencognizant Apr 2, 2021
317ef3e
new work dir structure
hshencognizant Apr 2, 2021
9e38595
changed configmap
hshencognizant Apr 2, 2021
8a91de0
set master workingdir
hshencognizant Apr 2, 2021
927ce0a
break point
hshencognizant Apr 2, 2021
b472a18
CSV AND GROOVY WORKS!!
hshencognizant Apr 2, 2021
83fb3b6
rm to grafana_dashboard_setup
hshencognizant Apr 2, 2021
d963b13
chmod
hshencognizant Apr 2, 2021
144d0b7
retired old jmx
hshencognizant Apr 2, 2021
4874eb6
retired jmeter-reporter
hshencognizant Apr 2, 2021
af6ab86
retired jmeter reporter
hshencognizant Apr 2, 2021
aca73cb
merged jmeter yamls
hshencognizant Apr 2, 2021
4dda3d8
merged influxdb yamls
hshencognizant Apr 2, 2021
026e3ef
merged jmeter-grafana.yaml
hshencognizant Apr 2, 2021
802bcc0
merged jmeter-slaves
hshencognizant Apr 2, 2021
9cae763
updated readme
hshencognizant Apr 2, 2021
aa06f3f
moved cloudssky.jmx to demo
hshencognizant Apr 2, 2021
fae0b59
change to current_test_plan
hshencognizant Apr 2, 2021
7155ecd
fixed current_test_plan
hshencognizant Apr 2, 2021
8759cee
clean up start_test
hshencognizant Apr 2, 2021
5828005
retired traefik ingress
hshencognizant Apr 2, 2021
088875c
retired_openshift
hshencognizant Apr 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
tenant_export

*.crt
*.key
tls.*

#User Defined
*.jtl
*.log
*.hprof
*.code-workspace
gitign_*
*_gitign
*_gitign_*
.vscode
71 changes: 0 additions & 71 deletions Docker files

This file was deleted.

24 changes: 0 additions & 24 deletions Dockerfile-reporter

This file was deleted.

29 changes: 29 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
= JMeter Cluster Support for Kubernetes

== Prerequisites

Kubernetes > 1.16

[.line-through]#OpenShift version > 3.5#
Implementing on Google Kubernete Engine (GKE) with `dev_GKE` branch.

== Quick Start Guide

. Build docker image for the first-time use: `./build_dockerimages.sh`

. Run the following to create a new name space and deploy all components in the cluster: `./create_jmeter_cluster.sh`

. Setup influxdb and Grafana: `./grafana_dashboard_setup.sh`

. Import the JMeter dashboard (`GrafanaJMeterTemplate.json`) in Grafana UI.

. Setup a report on Grafana. `jmeter-grafana-reporter` is exposed at port 80. Set up the link on th grafana to access the report: `http://{grafana_reporter IP}/api/v5/report/ltaas`. Click the options to include "time range", "variable values" and "open in a new tab."

. Start the load test: `./start_test.sh test_plan_dir jmx_file properties_file test_report_name`. Use `./start_test.sh -h` for help.

original guide
"Load Testing Jmeter On Kubernetes" on the original medium blog post: https://goo.gl/mkoX9E

original repo
https://github.com/kubernauts/jmeter-kubernetes

Loading