From 0ee5376ff2f9bcdbb5bbbeac5739e79a16489181 Mon Sep 17 00:00:00 2001 From: rbhadti94 Date: Sat, 8 Oct 2022 22:00:44 +0100 Subject: [PATCH] GH-25 Recursive Folders --- entrypoint.sh | 2 +- tests/nested_test/nested_sample_test.jmx | 154 +++++++++++++++++++++++ 2 files changed, 155 insertions(+), 1 deletion(-) create mode 100644 tests/nested_test/nested_sample_test.jmx diff --git a/entrypoint.sh b/entrypoint.sh index 6705d27..c2ab11c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -35,7 +35,7 @@ then else BASEFILE_PATH=$(basename $TESTFILE_PATH) echo "Folder specified - Running each JMX File In Folder" - for FILE in $BASEFILE_PATH/*.jmx + for FILE in $(find $BASEFILE_PATH -name '*.jmx') do echo "Running test with $FILE" jmeter -n -t $FILE $@ diff --git a/tests/nested_test/nested_sample_test.jmx b/tests/nested_test/nested_sample_test.jmx new file mode 100644 index 0000000..9a16583 --- /dev/null +++ b/tests/nested_test/nested_sample_test.jmx @@ -0,0 +1,154 @@ + + + + + + false + false + + + + + + + + continue + + false + 5 + + 5 + 5 + 1373789594000 + 1373789594000 + true + 60 + 5 + Virtual Users Running Scenario 1. Make test last 1 minute (see Scheduler) + true + + + + + + + example.org + + + + + Notice Timeouts: Read to 30s Connect to 5s + 4 + 5000 + 30000 + + + + + false + false + + + + + + User-Agent + Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:48.0) Gecko/20100101 Firefox/48.0 + + + Accept + text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 + + + Accept-Language + fr,en-US;q=0.7,en;q=0.3 + + + Accept-Encoding + gzip, deflate + + + + + + + + + www.example.org + 443 + https + + / + GET + true + false + true + false + + + + + + + + <h1>Example Domain</h1> + + Assertion.response_data + false + 16 + + + + + + 1 + 0 + 0 + + + + 1000 + 100.0 + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + false + false + true + true + false + false + false + true + false + false + false + true + 0 + true + true + true + true + + + For scripting only + + + + + +