ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 아피치 ab를 이용하여 웹 동시접근 테스트
    Etc 2017. 8. 11. 16:02

    [유용한 옵션]
    -n requests
          Number of requests to perform for the benchmarking session.
          The default is to  just  perform a single request which usually leads to non-representative
          benchmarking results.
         요청을 수행할 개수

    -c concurrency
            Number of multiple requests to perform at a time. Default is one request at a time.
            요청을 만들 개수로 동시 사용자 개념


    -v verbosity
          Set verbosity level - 4 and above prints information  on  headers,  3  and  above 
           printsresponse codes (404, 200, etc.), 2 and above prints warnings and info.
          얼마나 자세한 정보를 화면에 출력해 줄 것인지 결정

    -w HTML
         Print  out  results in HTML tables. Default table is two columns wide, with a white background.
         문서형식으로 테이블로 만들어 결과를 화면에 출력

    -k HTTP
         Enable  the  HTTP KeepAlive feature, i.e., perform multiple requests within one HTTP session.
         Default is no KeepAlive.
         프로토콜의 지속연결 (KeepAlive) 기능을 사용


      [사용 예제]

      형식 : ab –n 시도횟수 –c 동시접속수 http://도메인:포트번호/
      # ab -n 100 -c 30 http://www.test.com:80/




    'Etc' 카테고리의 다른 글

    JWT(1) 알아가기  (0) 2018.10.17
    메모리 + CPU 관련  (0) 2017.09.05
    브라우저 화면에 노출되기까지  (0) 2017.07.10
    나보다 똑똑한 부하를 리드하는 방법  (0) 2017.07.04
    컴포넌트  (0) 2017.07.03
Designed by Tistory.