mohamed-atef2022 commented on issue #6329:
URL: https://github.com/apache/jmeter/issues/6329#issuecomment-2277910499

   this is th code i use 
   in which line i should edit 
   if [ -n "${enable_report}" ]; then
           # report_command_line="--reportatendofloadtests --reportoutputfolder 
/report/report-${jmx}-$(date +"%F_%H%M%S")"
           report_command_line="--reportatendofloadtests --reportoutputfolder 
/report/report-${jmx}-{{workflow.creationTimestamp}}"
   fi
   
   kubectl cp -c jmmaster  "/tmp/scenario.properties" -n "${namespace}" 
"${master_pod}:/tmp/scenario.properties"
   # shellcheck disable=SC2145
   echo "slave_array=(${slave_array[@]}); index=${slave_num} && while [ 
\${index} -gt 0 ]; do for slave in \${slave_array[@]}; do if echo 'test open 
port' 2>/dev/null > /dev/tcp/\${slave}/1099; then echo \${slave}' ready' && 
slave_array=(\${slave_array[@]/\${slave}/}); index=\$((index-1)); else echo 
\${slave}' not ready'; fi; done; echo 'Waiting for slave readiness'; sleep 2; 
done" >"/tmp/load_test.sh"
   {
           echo "cd /opt/jmeter/apache-jmeter/bin"
           echo "timeout ${duration}s jmeter ${param_user} ${param_properties} 
${report_command_line} --logfile /report/${jmx}_$(date +"%F_%H%M%S").jtl 
--nongui --testfile ${jmx} -Dserver.rmi.ssl.disable=true --remoteexit 
--remotestart ${slave_list} >> jmeter-master.out 2>> jmeter-master.err"
           echo "jmeter -G ${param_user} ${param_properties} 
${report_command_line} --logfile /report/${jmx}_$(date +"%F_%H%M%S").jtl 
--nongui --testfile ${jmx} -Dserver.rmi.ssl.disable=true --remoteexit 
--remotestart ${slave_list} >> jmeter-master.out 2>> jmeter-master.err &"
           echo "trap 'sleep 15 && kill -10 1' EXIT INT TERM"
           echo "java -jar /opt/jmeter/apache-jmeter/lib/jolokia-java-agent.jar 
start JMeter >> jmeter-master.out 2>> jmeter-master.err"
           echo "echo \"Starting load test at : $(date)\" "
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to