老布這麼說
  • Archives
  • Categories
  • Tags
  • About

ab

2022-10-19
apache-ab-post

用 apache ab 來打 post API 的方式

  • ab -p post_loc.txt -T application/json -H 'Authorization: Token abcd1234' -c 10 -n 2000 http://example.com/api/v1/locations/

Reference

  • Example of using Apache Bench (ab) to POST JSON to an API
  • apache ab 工具如何发送 post 请求 | NextInnovation
  • Quick and simple load testing with Apache Bench
Read More

Tag Cloud

  • git-branch1
  • read1
  • public-access1
  • dictionary1
  • bi2
  • qradar3
  • online-course1
  • travis-ci2
  • kubernetes1
  • sql1
  • vmware1
  • git-tip1
  • sha2561
  • chrome1
  • custom1
  • tree1
  • mac5
  • pipeline1
  • test-case2
  • RDS1
  • ...334

Recent Posts

  • python-timestamp
  • aws-sns-sqs
  • software-architecture
  • aws-api-gateway-private
  • aws-lambda-sqs

Links

  • Freemind
  • My Github

© 2022 老布 with help from Hexo and Twitter Bootstrap. Theme by Freemind.

▲