>> Delete Reply from No. 0 article
No. RE: 서버에 동시 1000명 접속 테스트 프로그램은??

등록 2001-06-14 17:32:00 By localhost     조회 2
이름 성남군    

		웹서버를 말씀 하시는 거라면
쉽게 테스트 하는 툴이 있습니다..
 아파치에 포함된것인데,
ab란 녀석을 이용해 보세요...
 Usage:./ab [options] [http://]hostname[:port]/path
Options are:
    -n requests     Number of requests to perform
    -c concurrency  Number of multiple requests to make
    -t timelimit    Seconds to max. wait for responses
    -p postfile     File containing data to POST
    -T content-type Content-type header for POSTing
    -v verbosity    How much troubleshooting info to print
    -w              Print out results in HTML tables
    -i              Use HEAD instead of GET
    -x attributes   String to insert as table attributes
    -y attributes   String to insert as tr attributes
    -z attributes   String to insert as td or th attributes
    -C attribute    Add cookie, eg. 'Apache=1234' (repeatable)
    -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding: zop'
                    Inserted after all normal header lines. (repeatable)
    -A attribute    Add Basic WWW Authentication, the attributes
                    are a colon separated username and password.
    -p attribute    Add Basic Proxy Authentication, the attributes
                    are a colon separated username and password.
    -V              Print version number and exit
    -k              Use HTTP KeepAlive feature
    -h              Display usage information (this message)
  ./ab -n 1000 -c 50 http://url/
 This is ApacheBench, Version 1.3c <$Revision:1.44 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2000 The Apache Group, h
ttp://www.apache.org/  Server Software:       Apache/1.3.19 Server Hostname:       url/
Server Port:           80
 Document Path:         /
Document Length:       16169 bytes
 Concurrency Level:     10
Time taken for tests:   10.820 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      1725708 bytes
HTML transferred:       1707069 bytes
Requests per second:    9.24
Transfer rate:          159.49 kb/s received
 Connnection Times (ms)
              min   avg   max
Connect:       0    19   377
Processing:   88   803  5917
Total:        88   822  6294
 이런식으로 나와요...
1000번을 요청하는데 동시에 50개를 던진다는 거죠...
  : 여러곳에 질문을 했는데, 답을 얻지 못했습니다.
: C로 작성하면 간단할 것이라 생각이 되어집니다만....
: For문을 사용하면.....그러나, 초보자라 잘은 모릅니다.
:
: 어딘가에서 봤던 기억이 있습니다.
: 동시에 서버에 1000명이 접속한 환경으로 테스트를 해야할 일이생겼습니다.
: 누군가의 도움을 받아야 하는데....
: 도움을 받고싶습니다.
: 사실은 1000명이 아니어도 됩니다.
:
: 프로그램이 있거나 방법을 알고계시면 알려주셨으면 감사하겠습니다.
:
: 감사합니다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved