Skip to content

使用apache bench(ab)进行压力测试 #29

@WeihanLi

Description

@WeihanLi

使用 apache bench(ab)进行压力测试

安装

  • centos安装apache bench

    sudo yum install httpd-tools
  • ubuntu 安装 apache bench

    sudo apt-get install apache2-utils

进行测试

运行ab进行 压力测试 ,如 1000 个请求 100并发进行测试

``` bash
ab -n 1000 -c 100 http://localhost:6200/api/values
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions