Skip to content

Commit

Permalink
ab command.
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenducduy committed Jul 24, 2020
1 parent 49b4880 commit 6d70115
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ pybabel update -i messages.pot -d app/language
```
pybabel extract -F babel.cfg -o messages.pot . && pybabel update -i messages.pot -d app/language && pybabel compile -d app/translations
```

### AB test

```
cd apache-benchmark
ab -p post_data.txt -T application/json -H 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2MjYyNDcyNzQsImlhdCI6MTU5NDcxMTI2OSwic3ViIjoxfQ.YGgjKzRpP4U4iwK-j5i0GAeYgzxArjZimOnKEglYYMg' -c 10 -n 100 http://localhost:5000/graphql
```

0 comments on commit 6d70115

Please sign in to comment.