1 Star 0 Fork 2

桐丘牧/BenchmarkJava

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
runCrawler.sh 654 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/sh
source "scripts/verifyBenchmarkPluginAvailable.sh"
if [ $# -eq 2 ]; then
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml -DproxyHost="$1" -DproxyPort="$2"
elif [ $# -eq 0 ]; then
mvn org.owasp:benchmarkutils-maven-plugin:run-crawler -DcrawlerFile=data/benchmark-crawler-http.xml
else
echo "Error!!"
echo "-------"
echo "To run the Crawler for localhost, execute runCrawler.sh with no arguments."
echo "To run the Crawler for remote host, execute runCrawler.sh with only 2 arguments, proxy-host and proxy-port."
echo "Example: ./runCrawler.sh 192.168.0.1 53452"
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/xyt1998/BenchmarkJava.git
git@gitee.com:xyt1998/BenchmarkJava.git
xyt1998
BenchmarkJava
BenchmarkJava
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385