You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
212 B

#!/bin/sh
set -e
for f in har-data/*.har; do
if curl -s -XPUT "http://localhost:9200/har-data/uri/$(basename $f|sed s/%/%%/g)" -d@$f 2>&1 |
grep -q error; then
echo problem with $f
fi
done