Apache Bench - 如何强制 PUT、DELETE 和 POST 方法

标签 apache rest benchmarking

如何强制 apache benchmark (ab) 应用程序使用 REST header 执行查询?

最佳答案

来自手册页:

-i Do HEAD requests instead of GET.

-p POST-file File containing data to POST. Remember to also set -T.

-u PUT-file File containing data to PUT. Remember to also set -T.

但没有DELETE

关于Apache Bench - 如何强制 PUT、DELETE 和 POST 方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10601821/

相关文章:

Java jax-rs 服务器

以纳秒为单位计算函数时间

Python 3 子进程比同等的 bash 慢

apache - `md5sum -c` 获得 't work with Apache' s MD5 文件格式

php - 当最终用户访问同时被覆盖的 PHP 文件时会发生什么?

php - 本地主机上的子域与 CodeIgniter 下的生产服务器

RestTemplate--> Exchange 产生 : 422 Unprocessable Entity

json - RestClientException : Could not extract response. 找不到合适的 HttpMessageConverter

c++ - 使用 final 减少虚方法的开销

spring - Java - Spring security、Shibboleth (apache) 和 onelogin