Skip to content

Commit

Permalink
workflow examples - jmeter image switched, additional workflow added …
Browse files Browse the repository at this point in the history
…with old one (#6145)
  • Loading branch information
tkonieczny authored Jan 30, 2025
1 parent c49e6a4 commit 28fa54a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 5 deletions.
40 changes: 35 additions & 5 deletions test/jmeter/executor-tests/crd-workflow/smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,36 @@ metadata:
name: jmeter-workflow-smoke
labels:
core-tests: workflows
spec:
content:
git:
uri: https://github.com/kubeshop/testkube
revision: main
paths:
- test/jmeter/executor-tests/jmeter-executor-smoke.jmx
container:
resources:
requests:
cpu: 512m
memory: 512Mi
workingDir: /data/repo/test/jmeter/executor-tests
steps:
- name: Run tests
run:
image: alpine/jmeter:5.6
command:
- jmeter
args:
- -n
- -t
- jmeter-executor-smoke.jmx
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
metadata:
name: jmeter-workflow-smoke-justb4-5.5
labels:
core-tests: workflows
spec:
content:
git:
Expand Down Expand Up @@ -51,7 +81,7 @@ spec:
- name: Run tests
shell: jmeter -n -t jmeter-executor-smoke.jmx -j /data/artifacts/jmeter.log -o /data/artifacts/report -l /data/artifacts/jtl-report.jtl -e
container:
image: justb4/jmeter:5.5
image: alpine/jmeter:5.6
steps:
- name: Save artifacts
workingDir: /data/artifacts
Expand Down Expand Up @@ -113,7 +143,7 @@ spec:
count: 5
timeout: 30s # initialization timeout
logs: 'always'
image: justb4/jmeter:5.5
image: alpine/jmeter:5.6
command:
- jmeter-server
- -Dserver.rmi.localport=60000
Expand All @@ -130,7 +160,7 @@ spec:
steps:
- name: Run tests
run:
image: justb4/jmeter:5.5
image: alpine/jmeter:5.6
command:
- jmeter
args:
Expand Down Expand Up @@ -168,7 +198,7 @@ spec:
count: 5
timeout: 30s # initialization timeout
logs: 'always'
image: justb4/jmeter:5.5
image: alpine/jmeter:5.6
command:
- jmeter-server
- -Dserver.rmi.localport=60000
Expand All @@ -185,7 +215,7 @@ spec:
steps:
- name: Run tests
run:
image: justb4/jmeter:5.5
image: alpine/jmeter:5.6
shell: jmeter -n -X -Jserver.rmi.ssl.disable=true -Jclient.rmi.localport=7000 -R {{services.slave.*.ip}} -t jmeter-executor-smoke.jmx -j /data/artifacts/jmeter.log -o /data/artifacts/report -l /data/artifacts/jtl-report.jtl -e
steps:
- name: Save artifacts
Expand Down
1 change: 1 addition & 0 deletions test/suites/test-workflows/jmeter-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spec:
parallelism: 2
workflows:
- name: jmeter-workflow-smoke
- name: jmeter-workflow-smoke-justb4-5.5
- name: jmeter-workflow-smoke-shell-artifacts
- name: jmeter-workflow-smoke-from-template
- name: distributed-jmeter-workflow-smoke
Expand Down

0 comments on commit 28fa54a

Please sign in to comment.