We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 714aa3d commit 9db40abCopy full SHA for 9db40ab
start_test.sh
@@ -21,8 +21,8 @@ then
21
exit
22
fi
23
24
-jmx="$1"
25
-[ -n "$jmx" ] || read -p 'Enter path to the jmx file ' jmx
+jmx="$2"
+[ -n "$jmx" ] || read -p 'Enter path to the jmx file:' jmx
26
27
if [ ! -f "$jmx" ];
28
then
@@ -33,6 +33,7 @@ fi
33
34
test_name="$(basename "$jmx")"
35
36
+
37
#Get Master pod details
38
39
master_pod=`kubectl -n $namespace get po | grep jmeter-master | awk '{print $1}'`
@@ -41,4 +42,4 @@ kubectl -n $namespace cp "$jmx" "$master_pod:/$test_name"
41
42
43
## Echo Starting Jmeter load test
44
-kubectl -n $namespace exec -ti $master_pod -- /bin/bash /load_test "$test_name"
45
+kubectl -n $namespace exec -ti $master_pod -- /bin/bash /load_test "$test_name"
0 commit comments