Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
pathob committed Jun 5, 2023
1 parent 076291d commit eaf503f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,15 @@ fi

echo ""

# If JMETER_ARGS contain '-o' option, output all files in the directory passed by the '-o' option
echo "JMeter reports:"
if [[ ${JMETER_ARGS} == *-o* ]]
then
find $(echo ${JMETER_ARGS} | sed s/.*-o// | cut -d " " -f 2) -type f -exec cat {} \;
fi

echo ""

# Evaluate JMeter process output
if grep -q -E 'Err:.+[1-9]\W\(' output.log
then
Expand Down

0 comments on commit eaf503f

Please sign in to comment.