1 Star 0 Fork 2

桐丘牧 / BenchmarkJava

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
runCrawler.bat 815 Bytes
一键复制 编辑 原始数据 按行查看 历史
@echo off
REM source "scripts/verifyBenchmarkPluginAvailable.sh" - Don't have .bat version of this (yet)
set /A args_count=0
for %%A in (%*) do set /A args_count+=1
if %args_count% NEQ 0 (
if %args_count% EQU 2 (
CALL mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml -DproxyHost="%1" -DproxyPort="%2"
) else (
echo Error!!
echo -------
echo To run the Crawler for localhost, execute runCrawler.bat with no arguments.
echo To run the Crawler for remote host, execute runCrawler.bat with only 2 arguments, proxy-host and proxy-port.
echo Example: runCrawler.bat 192.168.0.1 53452
)
) else (
CALL mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml
)
Java
1
https://gitee.com/xyt1998/BenchmarkJava.git
git@gitee.com:xyt1998/BenchmarkJava.git
xyt1998
BenchmarkJava
BenchmarkJava
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891