Files
arthas/core/pull_results.sh
2020-03-30 19:10:21 +08:00

21 lines
244 B
Bash
Executable File

#!/bin/bash
sum=0
i=1
while(( i <= 100 ))
do
let "i += 1"
curl -XPOST http://localhost:8563/api -d @<(cat << EOF
{
"action": "pull_results",
"sessionId":"$1",
"consumerId": "$2"
}
EOF)
echo ""
done
echo "count=$i"