Jmeter + Java Sprigboot Application + Gitlab CI/CD + GenerationJAVA

Программисты JAVA общаются здесь
Anonymous
Jmeter + Java Sprigboot Application + Gitlab CI/CD + Generation

Сообщение Anonymous »

мне нужно интегрировать Jmeter с репозиторием Gitlab, который имеет код приложения Java Springboot в той же филиале. Таким образом, как мне нужно, чтобы отчет JMeter был создан для каждого раз, когда запрос на разработку Branch. Трубопровод показывает ошибку, так как не загружается файлы, не поддерживается. Не могли бы вы направить меня с этим?

Код: Выделить всё

$ git remote set-url origin "${CI_REPOSITORY_URL}"
Executing "step_script" stage of the job script
00:02
Using docker image sha256:f18ea11e303c93e04d7c8dec9c97d603e91a7d712a946575f65f25c354147d2a for justb4/jmeter:latest with digest justb4/jmeter@sha256:088ac52b759a198a5afa5ae13d0a6306e9f2017d71ad140ff57427f6930406f7 ...
START Running Jmeter on Mon Feb 24 10:25:00 CET 2025
JVM_ARGS=-Xmn1496m -Xms5984m -Xmx5984m
jmeter args=sh -c if [ -x /usr/local/bin/bash ]; then
exec /usr/local/bin/bash
elif [ -x /usr/bin/bash ]; then
exec /usr/bin/bash
elif [ -x /bin/bash ]; then
exec /bin/bash
elif [ -x /usr/local/bin/sh ]; then
exec /usr/local/bin/sh
elif [ -x /usr/bin/sh ]; then
exec /usr/bin/sh
elif [ -x /bin/sh ]; then
exec /bin/sh
elif [ -x /busybox/sh ]; then
exec /busybox/sh
else
echo shell not found
exit 1
fi
jmeter ALL ARGS=-Dlog4j2.formatMsgNoLookups=true sh -c if [ -x /usr/local/bin/bash ]; then
exec /usr/local/bin/bash
elif [ -x /usr/bin/bash ]; then
exec /usr/bin/bash
elif [ -x /bin/bash ]; then
exec /bin/bash
elif [ -x /usr/local/bin/sh ]; then
exec /usr/local/bin/sh
elif [ -x /usr/bin/sh ]; then
exec /usr/bin/sh
elif [ -x /bin/sh ]; then
exec /bin/sh
elif [ -x /busybox/sh ]; then
exec /busybox/sh
else
echo shell not found
exit 1
fi
UsageError: Unknown option -c
--?
print command line options and exit
-h, --help
print usage information and exit
-v, --version
print the version information and exit
-p, --propfile 
the jmeter property file to use
-q, --addprop 
additional JMeter property file(s)
-t, --testfile 
the jmeter test(.jmx) file to run. "-t LAST" will load last
used file
-l, --logfile 
the file to log samples to
-i, --jmeterlogconf 
jmeter logging configuration file (log4j2.xml)
-j, --jmeterlogfile 
jmeter run log file (jmeter.log)
-n, --nongui
run JMeter in nongui mode
-s, --server
run the JMeter server
-E, --proxyScheme 
Set a proxy scheme to use for the proxy server
-H, --proxyHost 
Set a proxy server for JMeter to use
-P, --proxyPort 
Set proxy server port for JMeter to use
-N, --nonProxyHosts 
Set nonproxy host list (e.g. *.apache.org|localhost)
-u, --username 
Set username for proxy server that JMeter is to use
-a, --password 
Set password for proxy server that JMeter is to use
-J, --jmeterproperty =
Define additional JMeter properties
-G, --globalproperty =
Define Global properties (sent to servers)
e.g. -Gport=123
or -Gglobal.properties
-D, --systemproperty =
Define additional system properties
-S, --systemPropertyFile 
additional system property file(s)
-f, --forceDeleteResultFile
force delete existing results files and web report folder if
present before starting the test
-L, --loglevel =
[category=]level e.g.  jorphan=INFO, jmeter.util=DEBUG or com
.example.foo=WARN
-r, --runremote
Start remote servers (as defined in remote_hosts)
-R, --remotestart 
Start these remote servers (overrides remote_hosts)
-d, --homedir 
the jmeter home directory to use
-X, --remoteexit
Exit the remote servers at end of test (non-GUI)
-g, --reportonly 
generate report dashboard only, from a test results file
-e, --reportatendofloadtests
generate report dashboard after load test
-o, --reportoutputfolder 
output folder for report dashboard
Error: Unknown option -c
END Running Jmeter on Mon Feb 24 10:25:01 CET 2025
Uploading artifacts for successful job
00:00
Uploading artifacts...
WARNING: report/: no matching files. Ensure that the artifact path is relative to the working directory (/builds/merco_ecosystem/ms_md_master)
ERROR: No files to upload
Cleaning up project directory and file based variables
00:01
Job succeeded
?

Подробнее здесь: https://stackoverflow.com/questions/794 ... generation

Вернуться в «JAVA»