[go: up one dir, main page]

JP2002007232A - Performance testing method and server testing device for www server - Google Patents

Performance testing method and server testing device for www server

Info

Publication number
JP2002007232A
JP2002007232A JP2000186503A JP2000186503A JP2002007232A JP 2002007232 A JP2002007232 A JP 2002007232A JP 2000186503 A JP2000186503 A JP 2000186503A JP 2000186503 A JP2000186503 A JP 2000186503A JP 2002007232 A JP2002007232 A JP 2002007232A
Authority
JP
Japan
Prior art keywords
server
test
request
test apparatus
http
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000186503A
Other languages
Japanese (ja)
Inventor
Tetsuya Sanada
哲弥 真田
Satoshi Ohira
聡 大平
Takao Hasegawa
恭男 長谷川
Akinari Haneda
言成 羽田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WIPS KK
Cybird Co Ltd
Original Assignee
WIPS KK
Cybird Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WIPS KK, Cybird Co Ltd filed Critical WIPS KK
Priority to JP2000186503A priority Critical patent/JP2002007232A/en
Publication of JP2002007232A publication Critical patent/JP2002007232A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To conduct a load test of a WWW server by reproducing a more realistic access state. SOLUTION: The WWW server, which is so programmed as to generate and send out objects responding to HTTP requests from many user agents connected via a public data communication network to the user agents, is an object server to be tested, which is connected to a server testing device via a leased data communication line replacing the public data communication network; and this server testing device sends a large number of HTTP requests, simulating many user agents to the object server to be tested simultaneously in parallel, decides whether each response includes an object specified by each HTTP request without errors, and outputs the decision result in a prescribed report format.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はWWWサーバーとし
て機能するコンピュータシステムを対象とした性能試験
方法に関し、とくに、多数のユーザ・エージェントによ
る大量のHTTPリクエストがWWWサーバーに同時並
行して送信される場合を想定した性能試験方法に関す
る。また、その試験装置にも関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a performance test method for a computer system functioning as a WWW server, particularly when a large number of HTTP requests by a large number of user agents are transmitted to a WWW server concurrently. It relates to a performance test method assuming the following. It also relates to the test equipment.

【0002】[0002]

【従来の技術】WWW(World Wide Web)は、サーバー
−クライアント型の情報提供サービスである。WWWの
最も一般的な利用形態はHTML文書(Webページ)
閲覧である。Webページをクライアントに提供するW
WWサーバーは、HTML形式の文書データとその文書
中にハイパーリンクによって挿入される画像や音声など
のデータ、およびCGIなどのプログラムを格納したデ
ータベースを備え、クライアントが指定したWebペー
ジを返送する。また、クライアントがCGIなどのプロ
グラムの起動を指定してアクセスしてくると、その処理
結果をHTML形式のデータとして返送する。
2. Description of the Related Art WWW (World Wide Web) is a server-client type information providing service. The most common use of WWW is HTML documents (Web pages)
Browsing. W that provides Web pages to clients
The WW server includes a database storing HTML document data, data such as images and sounds inserted by hyperlinks in the document, and programs such as CGI, and returns a Web page specified by the client. Also, when the client specifies and activates a program such as CGI and accesses it, the processing result is returned as HTML format data.

【0003】一方、クライアント側に実装されてWeb
ページを閲覧するためのソフトウエアがブラウザであ
る。ブラウザは、所定のWWWサーバーに所定のデータ
の送付や所定のプログラムの起動を要求し、そのWWW
サーバから返送されたHTMLデータを解釈してその解
釈した結果をWebページとして表示する。
[0003] On the other hand, a Web server mounted on the client side
The software for viewing the page is a browser. The browser requests transmission of predetermined data or activation of a predetermined program to a predetermined WWW server.
It interprets the HTML data returned from the server and displays the result of the interpretation as a Web page.

【0004】周知の通り、HTMLの要求と返送はHT
TPに基づいて行われる。HTTPは1組のリクエスト
/レスポンスによってセッションが完了するプロトコル
である。ここで、個々のセッションに関わるブラウザを
「ユーザ・エージェント」と呼ぶこととする。すなわ
ち、あるクライアントにてブラウザが同時に複数起動さ
れれば、一つのクライアントから複数のユーザ・エージ
ェントによる複数のHTTPリクエストが送信されるこ
とになる。
As is well known, HTML requests and returns are HT
This is performed based on TP. HTTP is a protocol in which a session is completed by a set of requests / responses. Here, browsers related to individual sessions are referred to as “user agents”. That is, if a plurality of browsers are simultaneously started on a certain client, a plurality of HTTP requests by a plurality of user agents are transmitted from one client.

【0005】HTTPリクエストは、取得すべきデータ
や起動するプログラムなどリクエストすべき対象(オブ
ジェクト)を特定するためのオブジェクト同定(URI:U
niversal Resource Identifier)と、そのオブジェクト
に対する処理の仕方(Method)と、プロトコルバージョ
ンとを記述したRequest-Lineを主体として含み、これに
送信日時(Date)やHTTPリクエストを送付したソフ
トの名前(User-Agent)などがヘッダ情報として付帯す
る。また、データをWWWサーバーに送付する場合にはそ
のデータ本体(Entity-Body)も付帯する。
[0005] The HTTP request is an object identification (URI: U) for specifying an object to be requested, such as data to be obtained or a program to be started.
A request-line that describes a protocol (versus Resource Resource Identifier), the method of processing the object (Method), and the protocol version. The transmission date and time (Date) and the name of the software that sent the HTTP request (User- Agent) is attached as header information. When sending data to a WWW server, the data itself (Entity-Body) is also attached.

【0006】オブジェクト同定は、普通、URLの記述
方式に則っている。Methodとしてはオブジェクトの取得
(GET)やオブジェクトに対するデータの送付(POST)
などがある。
[0006] The object identification usually follows the URL description method. As methods, get objects (GET) and send data to objects (POST)
and so on.

【0007】HTTPリクエストに対してWWWサーバ
ーが返送するHTTPレスポンスには、リクエストが成
功したか失敗したかを示す情報(Status-Line)と、オ
ブジェクト同定にて特定されるオブジェクトに相当する
データ本体(Entity-Body)とを主体とし、これらの主
体情報に各種ヘッダ情報が付帯している。
[0007] The HTTP response returned by the WWW server in response to the HTTP request includes information (Status-Line) indicating whether the request was successful or unsuccessful, and a data body corresponding to the object specified by the object identification (Status-Line). Entity-Body), and various types of header information are attached to the subject information.

【0008】ユーザ・エージェントは、URLを定型の
HTTPリクエストに整形して、適宜なネットワーク層
に対してそのHTTPリクエストを送出する。インター
ネットであればTCP/IPによって送出する。そし
て、自身に宛てられたHTTPレスポンスを取得し、そ
のレスポンスに含まれているデータ本体を適宜に処理し
て出力する。
[0008] The user agent shapes the URL into a fixed HTTP request, and sends the HTTP request to an appropriate network layer. In the case of the Internet, it is transmitted by TCP / IP. Then, it obtains the HTTP response addressed to itself, appropriately processes and outputs the data itself included in the response.

【0009】[0009]

【発明が解決しようとする課題】インターネットの商用
利用が開始されて以来、インターネット利用者数は爆発
的に増加し続け、現在国内だけでも約2000万人もの
インターネット利用者が存在すると言われている。そし
て、その利用者数は今後も増加しつづけるものと予想さ
れている。そのため、処理能力を超えたHTTPリクエ
ストが一つのWebサイトに集中し、そのWebサイト
があるWWWサーバが機能を停止するという事態も最近
では珍しくない。
Since the commercial use of the Internet has started, the number of Internet users has been increasing explosively, and it is said that there are currently about 20 million Internet users in Japan alone. . And the number of users is expected to continue to increase in the future. For this reason, it is not uncommon recently that HTTP requests exceeding the processing capacity are concentrated on one Web site and the WWW server on which the Web site is located stops functioning.

【0010】もちろん、WWWサーバーを管理・運営す
るインターネット接続サービス事業者(プロバイダ)側
でもWWWサーバーの稼働数を増やしたり、複数台のコ
ンピュータによる並列処理によってWWWサーバーの処
理能力を向上させたりして、増加するクライアントに対
応させようとしている。しかし、WWWサーバーのハー
ドウエア資源(稼働数や処理能力)を単純に増強させる
だけでは根本的に解決できない問題が内在する。すなわ
ち、WWWサーバーは、クライアントが指定したURL
に対して、Webページを送付するだけではなく、その
送付処理に並行してCGIプログラムなどの内部処理を
実行している。したがって、WWWサーバーの性能は受
け付け可能なリクエスト数だけで単純に判断できるもの
ではなく、プログラムの実行時間やそのプログラムの起
動頻度なども考慮して判断されるものである。ハードウ
エア資源の増強とソフトウエアの改良とをバランスよく
実施することで、効果的な性能向上を低コストで達成す
ることが必要である。
Of course, the Internet connection service provider (provider) who manages and operates the WWW server also increases the number of operating WWW servers, or improves the processing capability of the WWW server by parallel processing by a plurality of computers. , Trying to accommodate the growing number of clients. However, there is a problem that cannot be solved fundamentally by simply increasing the hardware resources (the number of operations and the processing capacity) of the WWW server. That is, the WWW server stores the URL specified by the client.
, Not only the Web page is sent, but also an internal process such as a CGI program is executed in parallel with the sending process. Therefore, the performance of the WWW server cannot be simply determined only by the number of requests that can be accepted, but is also determined in consideration of the execution time of the program, the frequency of starting the program, and the like. It is necessary to achieve an effective performance improvement at a low cost by implementing the enhancement of the hardware resources and the improvement of the software in a well-balanced manner.

【0011】また、WWWサーバのハードウエアやソフ
トウエア以外にもHTTPリクエストの内容を考慮する
必要がある。リクエストの内容としては、例えば、特定
のWebページにのみリクエストが集中したり、CGI
の起動回数が多いWebサイトへのリクエスト数が多か
ったりするなど、リクエストの仕方・形態がそれに当た
る。これは、ハードウエアやソフトウエアが同じであっ
ても提供する情報の内容によって個々のWWWサーバー
は性能が異なることを意味している。
[0011] In addition to the hardware and software of the WWW server, it is necessary to consider the contents of the HTTP request. As the contents of the request, for example, requests are concentrated only on a specific Web page, or CGI
The method and form of the request corresponds to, for example, a large number of requests to a Web site having a large number of activations. This means that the performance of each WWW server differs depending on the contents of the information to be provided even if the hardware and software are the same.

【0012】さらには、クライアントが一度要求したW
ebページの送付に対し、その返答を待たずに要求中止
や要求の再送信などの操作をするなど、クライアント側
におけるブラウザの操作状況を反映したリクエスト形態
によってもWWWサーバーの動作特性が変化する。この
ようなリクエスト形態では、WWWサーバーは途中まで
進行していたWebページの送付処理を中断したり、再
度送付処理を開始したりする処理による負荷が発生する
ことになる。とくに、このような負荷はアクセスが集中
する時間帯に頻繁に発生する。携帯電話機向けに情報を
提供しているWWWサーバーでは、移動体データ通信網
の遅い回線速度を利用してのアクセスであるためその傾
向は顕著となる。
[0012] Further, the client requests W once.
The operation characteristics of the WWW server also change depending on the request form reflecting the operation state of the browser on the client side, such as performing an operation such as aborting the request or retransmitting the request without waiting for a response to the transmission of the eb page. In such a request form, the WWW server generates a load due to a process of interrupting the web page sending process that has been progressing halfway or starting the sending process again. In particular, such a load frequently occurs during a time when access is concentrated. In a WWW server that provides information for mobile phones, the tendency is remarkable because access is made using a low line speed of a mobile data communication network.

【0013】以上のように、WWWサーバーは自身が提
供するコンテンツによってリクエスト形態が多種多様に
変化する。したがって、WWWサーバのハードウエアや
ソフトウエアは予想されるリクエスト形態にも対応して
その設計を行う必要がある。そこで本発明は、実際に稼
働可能なWWWサーバーを試験対象とし、その試験対象
サーバーに多数のユーザ・エージェントを擬装した大量
のHTTPリクエストを送付してWWWサーバーの負荷
試験を行うための試験方法とその試験装置とを提供する
ことを目的としている。
As described above, the request form of the WWW server varies in various ways depending on the contents provided by itself. Therefore, it is necessary to design the hardware and software of the WWW server in accordance with the expected request form. Therefore, the present invention provides a test method for performing a load test of a WWW server by sending a large number of HTTP requests disguised as a large number of user agents to a test target WWW server which is actually operable. It is intended to provide the test apparatus.

【0014】[0014]

【課題を解決するための手段】===WWWサーバー性
能試験方法=== 上記目的を達成するために、第1の発明はWWWサーバ
ーの性能試験方法であって、公衆データ通信網を介して
接続された多数のユーザ・エージェントからのHTTP
リクエストを受け付け、各リクエストそれぞれに呼応す
るオブジェクトを生成して該当のユーザ・エージェント
宛に送出するようにプログラムされたWWWサーバーが
試験対象サーバーであり、当該試験対象サーバーとサー
バー試験装置とを前記公衆データ通信網に代わる専用デ
ータ通信経路によって相互接続し、このサーバー試験装
置により、多数のユーザ・エージェントを擬装した大量
のHTTPリクエストを前記試験対象サーバーに同時並
行的に送信するとともに、前記試験対象サーバーからの
HTTPレスポンスを個別に認識して各レスポンス中に
各HTTPリクエストに含まれているオブジェクト同定
にて指定したオブジェクトが誤りなく含まれているか否
かを判別し、その判別結果を所定の報告形式で出力する
こととしている。
Means for Solving the Problems === WWW Server Performance Test Method === In order to achieve the above object, a first invention is a WWW server performance test method, which is performed via a public data communication network. HTTP from many connected user agents
A WWW server programmed to receive requests, generate an object corresponding to each request, and send the generated object to a corresponding user agent is a server to be tested. Interconnected by a dedicated data communication path instead of a data communication network, the server test equipment transmits a large number of HTTP requests imitating a large number of user agents to the server under test simultaneously and in parallel, The HTTP response from the HTTP request is individually recognized, and it is determined whether or not each response includes the object specified by the object identification included in each HTTP request without error, and the determination result is in a predetermined report format. Output.

【0015】===サーバー試験装置=== 第2〜第21の発明は、第1の発明に記載のWWWサー
バーの性能試験方法を実施するための前記サーバー試験
装置に関するものであり、概ね以下の3つの発明群に分
類できる。
=== Server Test Apparatus === The second to twenty-first inventions relate to the server test apparatus for performing the WWW server performance test method according to the first invention. The three invention groups can be classified.

【0016】===第1の発明群:第2〜第12の発明
=== この発明群に属するサーバー試験装置は、おもにハード
ウエア構成に特徴がある。
=== First Invention Group: Second to Twelfth Inventions === The server test apparatus belonging to this invention group is mainly characterized by a hardware configuration.

【0017】<基本的なハードウエア構成>第2および
第3の発明はサーバー試験装置の基本的なハードウエア
構成に関し、試験験対象サーバーに前記大量のHTTP
リクエストを多数のユーザ・エージェントを擬装して同
時並行して送信するリクエスト送信手段と、当該試験対
象サーバーからのHTTPレスポンスを個別に認識する
レスポンス受信手段と、この手段により受信した各レス
ポンス中に各HTTPリクエストにて指定したオブジェ
クトが誤りなく含まれているか否かを判別するレスポン
ス判別手段と、この判別手段による判別結果を所定の報
告形式で出力する試験結果出力手段とを備えている。ま
た、第2の発明に記載の前記サーバー試験装置であて、
前記リクエスト送信手段が生成する前記オブジェクト同
定の内容を規定する情報や、前記リクエスト送信手段が
出力する前記HTTPリクエストの頻度を規定する情報
を含んだテスト条件を任意に可変設定するためのテスト
条件設定手段を備えたサーバー試験装置を第3の発明と
した。
<Basic Hardware Configuration> The second and third inventions relate to a basic hardware configuration of a server test apparatus, and the large amount of HTTP is stored in a server to be tested.
Request transmitting means for simultaneously transmitting a request by impersonating a large number of user agents, a response receiving means for individually recognizing the HTTP response from the server under test, and The system includes a response determination unit that determines whether the object specified by the HTTP request is included without error, and a test result output unit that outputs a determination result by the determination unit in a predetermined report format. Further, in the server test apparatus according to the second invention,
A test condition setting for arbitrarily variably setting a test condition including information defining the content of the object identification generated by the request transmitting unit and information defining the frequency of the HTTP request output by the request transmitting unit. A third aspect of the present invention is a server test apparatus having the means.

【0018】<WWWサーバー性能評価パラメータ>第
4〜第6の発明はWWWサーバーの性能を評価するため
の指標としてHTTPによるリクエスト/レスポンスに
要する時間を計測する手段を備えたサーバー試験装置と
している。具体的には、第2または第3の発明に記載の
サーバー試験装置であって、前記リクエスト送信手段が
前記HTTPリクエストを出力してから当該リクエスト
に対する前記HTTPレスポンスを前記レスポンス受信
手段が受信するまでの時間を計測する応答時間計測手段
を備え、この計測手段による計測結果が前記試験結果出
力手段の出力内容に反映するサーバー試験装置を第4の
発明としている。
<WWW Server Performance Evaluation Parameter> The fourth to sixth inventions are server test apparatuses provided with means for measuring the time required for HTTP request / response as an index for evaluating the performance of a WWW server. Specifically, in the server test apparatus according to the second or third aspect, the request transmitting unit outputs the HTTP request until the response receiving unit receives the HTTP response to the request. A fourth aspect of the present invention is a server test apparatus comprising a response time measuring means for measuring the time of the test, and reflecting the measurement result of the measuring means on the output content of the test result output means.

【0019】第5の発明は、この第4の発明に記載のサ
ーバー試験装置であって、前記リクエスト送信手段が出
力する前記HTTPリクエストに含まれる前記オブジェ
クト同定ごとに基準応答時間が設定されており、前記応
答時間計測手段により計測された応答時間と前記基準応
答時間との比較結果が前記試験結果出力手段の出力内容
に反映するサーバー試験装置とし、この第5の発明のサ
ーバー試験装置において、前記オブジェクト同定ごとの
前記基準応答時間を含んだテスト条件を任意に可変設定
するためのテスト条件設定手段を備えたサーバー試験装
置を第6の発明とした。
A fifth invention is the server test apparatus according to the fourth invention, wherein a reference response time is set for each object identification included in the HTTP request output by the request transmitting means. The server test apparatus according to the fifth aspect of the present invention, wherein a comparison result between the response time measured by the response time measurement means and the reference response time is reflected on the output content of the test result output means. A sixth aspect of the present invention is a server test apparatus including test condition setting means for arbitrarily variably setting test conditions including the reference response time for each object identification.

【0020】<変数処理に対する評価>第2または第3
の発明に記載のサーバー試験装置であって、前記リクエ
スト送信手段は、前記HTTPリクエストに含まれる特
定のパラメータを所定の規則に従って変化させながら大
量の前記HTTPリクエストを生成して順次出力するサ
ーバー試験装置を第7の発明とし、この第7の発明にお
いて、前記パラメータを変化させる規則に関するデータ
を含んだテスト条件を任意に可変設定するためのテスト
条件設定手段を備えたサーバー試験装置を第8の発明と
した。
<Evaluation for Variable Processing> Second or third
The server test apparatus according to the invention, wherein the request transmitting unit generates a large amount of the HTTP requests while sequentially changing specific parameters included in the HTTP requests in accordance with a predetermined rule, and sequentially outputs the generated HTTP requests. In a seventh aspect of the present invention, the server testing apparatus according to the seventh aspect, further comprising a test condition setting means for arbitrarily variably setting test conditions including data on rules for changing the parameters. And

【0021】<アクセス形態の擬装>第9の発明は、第
2または第3の発明に記載のサーバー試験装置であっ
て、前記HTTPリクエストの出力頻度を時間的にどの
ように変化させながら試験を行うのかを規定したリクエ
スト送信スケジュールが設定されており、このスケジュ
ールに従って前記リクエスト送信手段が動作するサーバ
ー試験装置とした。そして第10の発明は、この第9の
発明に記載のサーバー試験装置であって、前記リクエス
ト送信スケジュールの内容を任意に可変設定するための
テスト条件設定手段を備えている。
A ninth aspect of the present invention is the server test apparatus according to the second or third aspect, wherein the test is performed while changing the output frequency of the HTTP request temporally. A request transmission schedule that defines whether to perform the request is set, and the server test apparatus operates the request transmission unit according to the schedule. A tenth invention is the server test apparatus according to the ninth invention, further comprising a test condition setting means for arbitrarily variably setting the contents of the request transmission schedule.

【0022】===第2の発明群:第11〜第17の発
明=== この第2の発明群に属するサーバー試験装置は、試験内
容や試験結果の報告形式に特徴を有している。第11の
発明は、第2または第3の発明に記載のサーバー試験装
置であって、前記判別結果出力手段は、前記レスポンス
判別手段による判別結果と、その判別結果を生じた試験
実施時のリクエスト出力頻度とを関連付けした報告出力
を生成するサーバー試験装置とした。
=== Second Invention Group: Eleventh to Seventeenth Inventions === The server test apparatus belonging to the second invention group is characterized by a test content and a report format of test results. . An eleventh invention is the server test device according to the second or third invention, wherein the determination result output means includes: a determination result by the response determination means; A server test device that generates a report output in association with the output frequency.

【0023】また第12の発明は、請求項4〜6のいず
れかに記載のサーバー試験装置であって、前記判別結果
出力手段は、前記応答時間計測手段による計測結果と、
その計測結果を生じた試験実施時のリクエスト出力頻度
とを関連付けした報告出力を生成するサーバー試験装置
としている。
A twelfth aspect of the present invention is the server test apparatus according to any one of claims 4 to 6, wherein the determination result output means includes: a measurement result obtained by the response time measurement means;
The server test device generates a report output in which the measurement result is associated with the request output frequency at the time of performing the test.

【0024】さらに第13の発明は、第9または第10
の発明に記載のサーバー試験装置であって、前記判別結
果出力手段は、前記レスポンス判別手段による判別結果
と、その判別結果を生じた前記リクエスト送信スケジュ
ールとを関連付けした報告出力を生成するサーバー試験
装置とした。
Further, a thirteenth invention is directed to a ninth or tenth invention.
5. The server test apparatus according to claim 1, wherein the determination result output unit generates a report output in which the determination result by the response determination unit is associated with the request transmission schedule that has generated the determination result. And

【0025】第14の発明は、第4〜第6の発明のいず
れかと、第9または第10の発明のいずれかとをともに
充足するサーバー試験装置であって、前記判別結果出力
手段は、前記応答計測手段による計測結果と、その計測
結果を生じた前記リクエスト送信スケジュールとを関連
付けした報告出力を生成するサーバー試験装置としてい
る。
A fourteenth invention is a server test device that satisfies any of the fourth to sixth inventions and any one of the ninth and tenth inventions, wherein the discrimination result output means includes: The server test apparatus generates a report output in which the measurement result of the measurement means is associated with the request transmission schedule that generated the measurement result.

【0026】第15の発明におけるサーバー試験装置
は、第9または第10の発明に記載のサーバー試験装置
であって、前記リクエスト送信スケジュールを適宜な報
告形式で出力するスケジュール報告手段を備えている。
A server test apparatus according to a fifteenth aspect is the server test apparatus according to the ninth or tenth aspect, further comprising schedule report means for outputting the request transmission schedule in an appropriate report format.

【0027】===第3の発明群:第16〜第21の発
明=== この発明群には試験実行時に処理されるデータ構造に関
する発明を含んでいる。第16の発明のサーバー試験装
置は、第2または第3の発明に記載のサーバー試験装置
であって、前記オブジェクト同定の異なる多数種類の前
記HTTPリクエストの内容をそれぞれ規定した多数の
スクリプトファイルが適宜な記憶資源に格納されている
とともに、前記HTTPリクエストの送信頻度などを規
定する多数種類のテスト環境ファイルが適宜な記憶資源
に格納されており、多数のスクリプトファイルおよび多
数の前記テスト環境ファイルのどれを使って試験を実施
するのかを前記テスト条件手段によって特定することと
している。
=== Third Invention Group: Sixteenth to Twenty-First Inventions === This invention group includes inventions relating to data structures processed at the time of test execution. A server test apparatus according to a sixteenth aspect of the present invention is the server test apparatus according to the second or third aspect, wherein a large number of script files respectively defining the contents of the various types of HTTP requests having different object identifications are appropriately prepared. Many kinds of test environment files that define the transmission frequency of the HTTP request and the like are stored in appropriate storage resources, and a large number of script files and a large number of the test environment files are stored. The test condition means specifies whether to execute the test using the test condition.

【0028】そして、第6の発明に記載のサーバー試験
装置であって、前記オブジェクト同定の異なる多数種類
の前記HTTPリクエストの内容をそれぞれ規定した多
数のスクリプトファイルが適宜な記憶資源に格納されて
いるとともに、前記オブジェクト同定ごとの前記基準応
答時間などを規定する多数種類のテスト環境ファイルが
適宜な記憶資源に格納されており、多数のスクリプトフ
ァイルおよび多数の前記テスト環境ファイルのどれを使
って試験を実施するのかを前記テスト条件手段によって
特定するサーバー試験装置を第17の発明とした。
[0028] In the server test apparatus according to the sixth aspect of the present invention, a large number of script files defining the contents of the various HTTP requests with different object identifications are stored in appropriate storage resources. In addition, various types of test environment files that define the reference response time and the like for each object identification are stored in an appropriate storage resource, and a test can be performed using any of a number of script files and a number of the test environment files. A seventeenth aspect of the present invention is a server test apparatus for specifying whether to perform the test by the test condition means.

【0029】第18の発明は、第8の発明に記載のサー
バー試験装置であって、前記オブジェクト同定の異なる
多数種類の前記HTTPリクエストの内容をそれぞれ規
定した多数のスクリプトファイルが適宜な記憶資源に格
納されているとともに、前記パラメータを変化させる規
則などを規定する多数種類のテスト環境ファイルが適宜
な記憶資源に格納されており、多数のスクリプトファイ
ルおよび多数の前記テスト環境ファイルのどれを使って
試験を実施するのかを前記テスト条件手段によって特定
するサーバー試験装置とした。そして、第10の発明に
記載のサーバー試験装置であって、前記オブジェクト同
定の異なる多数種類の前記HTTPリクエストの内容を
それぞれ規定した多数のスクリプトファイルが適宜な記
憶資源に格納されているとともに、前記リクエスト送信
スケジュールなどを規定する多数種類のテスト環境ファ
イルが適宜な記憶資源に格納されており、多数のスクリ
プトファイルおよび多数の前記テスト環境ファイルのど
れを使って試験を実施するのかを前記テスト条件手段に
よって特定するサーバー試験装置を第19の発明とし
た。
An eighteenth invention is the server test apparatus according to the eighth invention, wherein a large number of script files, each of which defines the contents of the various HTTP requests with different object identifications, are stored in appropriate storage resources. Numerous types of test environment files that are stored and that define rules for changing the parameters are stored in an appropriate storage resource, and a test can be performed using any of a number of script files and a number of the test environment files. The server test apparatus specifies whether the test is performed by the test condition means. The server test apparatus according to the tenth aspect, wherein a large number of script files respectively defining the contents of the various types of HTTP requests having different object identifications are stored in appropriate storage resources. Numerous types of test environment files that define a request transmission schedule and the like are stored in an appropriate storage resource, and the test condition means determines which one of a large number of script files and a large number of the test environment files is used to execute a test. The server test device specified by the above is the nineteenth invention.

【0030】第20の発明は、第16〜第19の発明い
ずれかに記載のサーバー試験装置であって、適宜なコン
ピュータにて実行されているブラウザと前記試験対象サ
ーバーとのデータ通信経路に介在して当該ブラウザと前
記試験対象サーバーとの間でやりとりされるHTTPリ
クエストとHTTPレスポンスとを取得するとともに、
そのリクエスト/レスポンスに基づいて前記スクリプト
ファイルを生成するスクリプトファイル生成手段を付帯
している。
A twentieth aspect of the present invention is the server testing apparatus according to any one of the sixteenth to nineteenth aspects, wherein the server testing apparatus intervenes in a data communication path between a browser executed by an appropriate computer and the server under test. To obtain an HTTP request and an HTTP response exchanged between the browser and the server under test,
Script file generating means for generating the script file based on the request / response is attached.

【0031】なお第21の発明は、第16〜第20の発
明のいずれかに記載のサーバー試験装置であって、前記
テスト環境ファイルのそれぞれにどのスクリプトファイ
ルを使うのかを指定するための情報を含み、前記テスト
条件設定手段は、任意のテスト環境ファイルを選出する
ためのユーザ入力を受け付けるとともに、この選出され
たテスト環境ファイルに基づいて多数のスクリプトファ
イルのどれを使って試験を実施するのかを特定すること
とした。
According to a twenty-first aspect, in the server test apparatus according to any one of the sixteenth to twentieth aspects, information for designating which script file is used for each of the test environment files is stored. The test condition setting means receives a user input for selecting an arbitrary test environment file, and determines which of a large number of script files to use for the test based on the selected test environment file. I decided to identify it.

【0032】[0032]

【発明の実施の形態】===試験環境=== 本発明によるWWWサーバー性能試験方法によれば、試
験対象となるWWWサーバー(試験対象サーバー)とサ
ーバー試験装置とをインターネットなどの公衆データ通
信網に代わる専用データ通信経路によって相互接続した
環境で試験を行うこととしている。専用データ通信経路
としては、サーバー試験装置と試験対象サーバーとを1
対1に接続する形態も考えられるが、ここではLANを
例に挙げて本発明の方法の実施例について説明すること
とする。図1はサーバー試験装置(テスター)と試験対
象サーバーとを含んだLANの概略構成図を示してい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS === Test Environment === According to a WWW server performance test method according to the present invention, a WWW server (test target server) to be tested and a server test apparatus are connected to public data communication such as the Internet. The test is to be performed in an environment interconnected by a dedicated data communication path instead of a network. As a dedicated data communication path, one server test device and one server to be tested are connected.
Although a form of one-to-one connection is also conceivable, an embodiment of the method of the present invention will be described using a LAN as an example. FIG. 1 is a schematic configuration diagram of a LAN including a server test apparatus (tester) and a server to be tested.

【0033】本実施例では、試験対象サーバー10bや
テスター10a、あるいは他のコンピュータ10cや周
辺機器(10d、10e)はイーサネット(登録商標)
(Ethernet(登録商標))によって接続されて
いる。このLAN1に使用されるプロトコルはTCP/
IPであり、いわゆる「イントラネット」を構築してい
る。試験対象サーバー10bやテスター10aには一般
的なパーソナルコンピュータが使用でき、それらコンピ
ュータにWWWサーバーソフトウエアや、サーバー試験
ソフトウエアがインストールされている。そして、各コ
ンピュータがこれらソフトウエアを実行することでWW
Wサーバーやテスターとして機能する。
In this embodiment, the server 10b to be tested and the tester 10a, or other computers 10c and peripheral devices (10d and 10e) are Ethernet (registered trademark).
(Ethernet (registered trademark)). The protocol used for this LAN1 is TCP /
It is an IP and has built a so-called "intranet". A general personal computer can be used for the test target server 10b and the tester 10a, and WWW server software and server test software are installed in these computers. Then, each computer executes the software to execute the WW.
Functions as a W server and tester.

【0034】各コンピュータ(10a〜10c)や周辺
機器(10d、10e)にはIPアドレスが割り当てら
れ、このIPアドレスによって特定のコンピュータや周
辺機器を識別している。この例では、試験対象サーバー
10bにはプライベートIPアドレスが割り当てられて
いることとしている。それによって、このLAN1がル
ーター10eを介してインターネットに接続されている
としても、LAN1の外にあるコンピュータから試験対
象サーバー10bに直接アクセスすることはできない状
態としている。もちろん、試験対象サーバー10bにグ
ローバルIPアドレスが割り当てられていたとしても、
このコンピュータ10bのドメイン名を所定の申請機関
に対して登録しなければ、実質的にインターネットに公
開されていない状態(不特定のユーザに所在が認知され
ていない状態)とすることができる。
An IP address is assigned to each of the computers (10a to 10c) and the peripheral devices (10d, 10e), and a specific computer or peripheral device is identified by the IP address. In this example, a private IP address is assigned to the test target server 10b. Thus, even if the LAN 1 is connected to the Internet via the router 10e, a computer outside the LAN 1 cannot directly access the test target server 10b. Of course, even if a global IP address is assigned to the test target server 10b,
If the domain name of the computer 10b is not registered with a predetermined application organization, the computer 10b can be brought into a state in which it is not substantially published on the Internet (a state in which an unspecified user is not aware of the location).

【0035】===試験方法の概略=== 試験対象サーバー10bは、Webページを記述したH
TML文書データやその文書にリンクによって挿入する
ための画像データ、あるいはCGIプログラムなどを付
帯するデータベースに格納している。そして、あるUR
Lを含むHTTPリクエストがユーザ・エージェントか
ら送付されると、そのURLが要求するオブジェクトを
含んだHTTPリクエストを返送する。
=== Outline of Test Method === The test target server 10b has an H describing a Web page.
The TML document data, image data to be inserted into the document by a link, or a database accompanying a CGI program or the like is stored. And a certain UR
When an HTTP request including L is sent from the user agent, the HTTP request including the object requested by the URL is returned.

【0036】テスター10aは、試験対象サーバー10
bに宛ててHTTPリクエストを送信するユーザ・エー
ジェントを擬装する。しかも多数のユーザ・エージェン
トを擬装した大量のHTTPリクエストを送信し、各リ
クエストに対するHTTPレスポンスを個別に受信す
る。そして、受信したHTTPレスポンス中にHTTP
リクエストによって指定したオブジェクトが誤りなく含
まれているか否かを判別したり、リクエスト/レスポン
スに要する応答時間を計測したりして試験を行い、その
試験状況をその試験結果を適宜な形式で出力して報告す
る。
The tester 10a is a server 10 to be tested.
Impersonate a user agent sending an HTTP request to b. Moreover, a large number of HTTP requests disguised as a large number of user agents are transmitted, and an HTTP response to each request is individually received. Then, HTTP is included in the received HTTP response.
A test is performed by determining whether the object specified by the request is included without error, measuring the response time required for the request / response, and outputting the test status in an appropriate format. Report.

【0037】テスター10aは、トラフィック量(同時
アクセス数)や繰り返し送信数とその送信間隔などのH
TTPリクエストの送信頻度や、試験対象サーバー10
bのCGIに与えるパラメータの値などのテスト条件を
適宜に設定して多種多様なHTTPリクエストを大量に
生成する。そして、各HTTPリクエスト/レスポンス
に要する応答時間や、HTTPリクエストに対するエラ
ーの有無などを調査する。テスター10aは、このよう
にして試験対象サーバー10bの性能を多角的に試験す
る。
The tester 10a provides H, such as the amount of traffic (the number of simultaneous accesses), the number of repetitions, and the transmission interval.
The transmission frequency of the TTP request and the test target server 10
By appropriately setting test conditions such as parameter values given to the CGI of b, a large number of various HTTP requests are generated. Then, a response time required for each HTTP request / response, presence / absence of an error for the HTTP request, and the like are checked. The tester 10a thus tests the performance of the test target server 10b from various viewpoints.

【0038】===ユーザ・エージェントの擬装=== テスター10aが実行するサーバー試験ソフトウエア
は、一組のHTTPリクエスト/レスポンスによるセッ
ションを一つのユーザ・エージェントとのセッションと
して個別に管理する。したがって、多数のセッションを
発生すれば多数のユーザ・エージェントからのHTTP
リクエストを擬装することになる。
=== Disguise of User Agent === The server test software executed by the tester 10a individually manages a session based on a set of HTTP requests / responses as a session with one user agent. Therefore, if a large number of sessions occur, HTTP from a large number of user agents
The request will be impersonated.

【0039】本実施例では、全てのセッションを管理す
る親プロセスと、一つのセッションを個別に管理する子
プロセスとを実行する。子プロセスは、一つのセッショ
ンにおけるHTTPリクエストの送信処理とそれに対す
るHTTPレスポンスの受信処理やその送受信状態の監
視状況(ログ)の記録処理などを実行する。そして、同
じ内容の子プロセスを同時並行的に多数実行してトラフ
ィック量を設定したり、各子プロセスによるHTTPリ
クエストの送信間隔を適宜な時間に設定したりしてリク
エストの送信頻度を適宜に可変設定する。それによっ
て、大量のHTTPリクエストを多数のユーザ・エージ
ェントを擬装して送信する。図2はその多数のユーザ・
エージェントの擬装状態を概略図として示している。複
数の子プロセスが並列的に起動されている。各子プロセ
スは、ポート番号(P1、P2、・・・、Pn)と所定
のURL(a、b、・・・、x)とを含んだHTTPリ
クエストを送信する。もちろん、異なる子プロセスで同
じURLが指定されていてもよい。
In the present embodiment, a parent process for managing all sessions and a child process for individually managing one session are executed. The child process executes a process of transmitting an HTTP request in one session, a process of receiving an HTTP response to the process, and a process of recording a monitoring status (log) of the transmission / reception state. Then, a number of child processes having the same content are executed in parallel at the same time to set the traffic amount, or the transmission interval of the HTTP request by each child process is set to an appropriate time to appropriately change the request transmission frequency. Set. Thereby, a large number of HTTP requests are transmitted by impersonating a large number of user agents. FIG. 2 shows that many users
The impersonation state of the agent is shown as a schematic diagram. Multiple child processes are started in parallel. Each child process transmits an HTTP request including a port number (P1, P2,..., Pn) and a predetermined URL (a, b,..., X). Of course, the same URL may be specified in different child processes.

【0040】上述したように、各セッションはそれぞれ
個別の子プロセスが実行している。本実施例では、OS
(Operatiing Sysytem)が各子プロセスにアプリケーシ
ョンを特定するためのポート番号を割り当てている。そ
れによって、各ポートが試験対象サーバーにとってそれ
ぞれ異なるユーザ・エージェントからのアクセスに相当
するものとして認知される。実際にインターネットに接
続されているWWWサーバーもHTTPリクエストの送
信者としてIPアドレスとポート番号とを取得する。ま
た、ユーザ・エージェントが代理サーバーを経由してア
クセスしてくる場合には多数のクライアント(IPアド
レス)からのアクセスであっても、WWWサーバーは代
理サーバーがHTTPリクエストの送信元であると認知
する。したがって本実施例では、テスターはユーザ・エ
ージェント(子プロセス)ごとにIPアドレスを可変設
定するような擬装は行っていない。LANにおいて、テ
スターとして使用しているコンピュータ本体のIPアド
レスだけで十分である。
As described above, each session is executed by an individual child process. In this embodiment, the OS
(Operatiing Sysytem) assigns a port number to each child process to identify the application. Thereby, each port is perceived by the server under test as equivalent to access from a different user agent. The WWW server actually connected to the Internet also acquires the IP address and the port number as the sender of the HTTP request. Also, when the user agent accesses via a proxy server, the WWW server recognizes that the proxy server is the source of the HTTP request even if the access is from many clients (IP addresses). . Therefore, in this embodiment, the tester does not perform impersonation such that the IP address is variably set for each user agent (child process). In a LAN, the IP address of the computer used as a tester is sufficient.

【0041】さらに、試験対象サーバーが携帯電話機向
けのコンテンツを提供する場合であれば、多数のユーザ
・エージェントを他の方法で擬装することもできる。す
なわち、携帯電話機がWWWサーバーに送付するHTT
Pリクエストには、ベーシック認証用の情報として電話
機を個別に識別する端末IDがヘッダに付帯される。こ
のことを利用し、テスターがこの端末IDを可変的に設
定することで多数のユーザ・エージェントを擬装するの
である。
Furthermore, if the server to be tested provides contents for mobile phones, a large number of user agents can be impersonated in other ways. That is, the HTT that the mobile phone sends to the WWW server
A terminal ID for individually identifying a telephone is attached to the header of the P request as information for basic authentication. Using this, the tester impersonates a large number of user agents by variably setting the terminal ID.

【0042】===スクリプトファイル=== 本実施例では、試験対象サーバーが受け付けるURLご
とに、そのURLを含んだHTTPリクエストの内容
と、そのリクエストに対するHTTPレスポンスの内容
とを記述したスクリプトファイルを用意することとして
いる。テスターは、このスクリプトファイルに基づいて
各子プロセスを実行するのである。
=== Script File === In this embodiment, for each URL received by the server to be tested, a script file describing the contents of an HTTP request including the URL and the contents of an HTTP response to the request is stored. I will prepare it. The tester runs each child process based on this script file.

【0043】図3はスクリプトファイルの一例おける内
容を概略的に示している。スクリプトファイルには、ま
ず、このスクリプトファイルの名前と接続すべき試験対
象サーバー名やWWWサーバーソフトウエアのポート番
号の指定とが記述され、続いて、HTTPリクエストの
構文、このリクエストに対して試験対象サーバーが送付
すべきHTTPレスポンスの構文などが記述されてい
る。このレスポンスを示す記述部分には、日時など一意
的に特定できない情報がワイルドカード($マーク)に
記述されている。それによって、このワイルドカードの
記述部分には「何が記載されていてもよい」旨が示され
ている。
FIG. 3 schematically shows the contents of an example of the script file. The script file first describes the name of this script file, the name of the server to be tested and the designation of the port number of the WWW server software, and then the syntax of the HTTP request and the test target for this request. It describes the syntax of the HTTP response to be sent by the server. In the description portion indicating this response, information that cannot be uniquely specified, such as date and time, is described in a wild card ($ mark). Thus, the description portion of the wildcard indicates that "anything may be described".

【0044】===テスト環境ファイル=== スクリプトファイルが各子プロセスに渡されることは上
述した。一方、親プロセスがどのスクリプトファイルを
使用して子プロセスをどのように実行するのかを特定す
るための情報がテスト環境ファイルとして用意されてい
る。図4にそのテスト環境ファイルのデータ構造の概略
を示した。応答時間に制限時間を設定するための情報
(基準応答時間)と、1以上のスクリプトファイルを指
定するための情報と、指定した各スクリプトファイルに
基づいて実行する子プロセスのトラフィック量(プロセ
スのループ数)などを含んでいる。テスト環境ファイル
に記述される情報はこれらに限るものではく、適宜なテ
スト条件を追記することが可能である。
=== Test Environment File === As described above, the script file is passed to each child process. On the other hand, information for specifying which script file the parent process uses to execute the child process is provided as a test environment file. FIG. 4 shows an outline of the data structure of the test environment file. Information for setting a time limit for the response time (reference response time), information for specifying one or more script files, and a traffic amount of a child process to be executed based on each specified script file (process loop). Number). The information described in the test environment file is not limited to these, and appropriate test conditions can be added.

【0045】なお本実施例では、多数のテスト条件やU
RLに対応して多数のテスト環境ファイルやスクリプト
ファイルがデータベースに格納されているものとする。
もちろん、ユーザ入力に従って、テスト環境ファイルや
スクリプトファイルが試験機会ごとに作成されることと
してもよい。
In this embodiment, a large number of test conditions and U
It is assumed that a large number of test environment files and script files are stored in the database corresponding to the RL.
Of course, a test environment file or a script file may be created for each test opportunity according to a user input.

【0046】===プロセスの流れ=== つぎに、本実施例における親プロセスや子プロセスの流
れについて説明する。図5は親プロセスによって子プロ
セスを実行するときの流れを概略的に示している。テス
ターは、ユーザによるテスト環境ファイルの指定入力を
受け付けると、指定のテスト環境ファイルを所定のRA
M領域(ワークエリア)に展開し、親プロセスを実行す
る。親プロセスは、このテスト環境ファイルに基づいて
スクリプトファイルを読み出し、ワークエリアに格納す
る。そして、各スクリプトファイルに基づいた各子プロ
セスをテスト環境ファイルに記載されているテスト条件
に基づいて実行させていく。
=== Process Flow === Next, the flow of a parent process and a child process in this embodiment will be described. FIG. 5 schematically shows the flow when a parent process executes a child process. Upon receiving the user's designated input of the test environment file, the tester stores the designated test environment file in a predetermined RA.
Expand to M area (work area) and execute parent process. The parent process reads the script file based on the test environment file and stores it in the work area. Then, each child process based on each script file is executed based on test conditions described in the test environment file.

【0047】親プロセスは、各子プロセスの実行ループ
数を監視し、テスト環境ファイルに記述されたループ数
だけ各子プロセスを実行させる。このループ数はトラフ
ィック量に相当し、テスターにおけるCPUの処理速度
が速いほど「同時並行的な大量のHTTPリクエスト」
を擬装できる。実際にはCPUの処理速度に対してデー
タ通信における回線速度は極めて遅く、十分に同時並行
的な通信環境を実現している。
The parent process monitors the number of execution loops of each child process, and executes each child process by the number of loops described in the test environment file. This number of loops corresponds to the traffic volume, and the faster the processing speed of the CPU in the tester, the more “large number of concurrent HTTP requests”
Can be disguised. Actually, the line speed in data communication is extremely slower than the processing speed of the CPU, and a sufficiently simultaneous communication environment is realized.

【0048】なお、各子プロセスの起動シーケンスにつ
いては、例えば、一つの子プロセスにおけるループ処理
が終わってから次の子プロセスを実行してもよいし、各
子プロセスを一回ずつ順番に実行してから再度各プロセ
スを順番に実行し、ループ回数分だけ実行した子プロセ
スを処理対象から順次外していくというシーケンスを採
用してもよい。これらのシーケンスについての条件もテ
スト環境ファイルによって設定可能であろう。
As for the activation sequence of each child process, for example, the next child process may be executed after the loop processing in one child process is completed, or each child process may be executed one by one in order. After that, a sequence may be adopted in which each process is sequentially executed again, and child processes executed by the number of loops are sequentially removed from the processing target. Conditions for these sequences could also be set by the test environment file.

【0049】図6はある子プロセスが実行する各処理の
流れを示している。子プロセスは、HTTPリクエスト
/レスポンスの送受信を通じて、HTTPレスポンス中
にHTTPリクエストによって指定したオブジェクトが
誤りなく含まれているか否かを判別したり、リクエスト
/レスポンスに要する応答時間を計測したりして試験を
行い、その判別結果や計測結果をログとして記録する。
また、その子プロセスが含む種々の処理においてエラー
が発生したときもその旨を記録する。
FIG. 6 shows the flow of each process executed by a certain child process. The child process determines whether an object specified by the HTTP request is included in the HTTP response without error through transmission and reception of the HTTP request / response, and measures a response time required for the request / response. Is performed, and the determination result and the measurement result are recorded as a log.
Also, when an error occurs in various processes included in the child process, the fact is recorded.

【0050】具体的には、子プロセスが開始されると、
ワークエリアに格納されているテスト環境ファイルに記
述されている送信タイムアウト時間と受信タイムアウト
時間とを読み込む(s11)。この例では、送信タイム
アウト時間はTCP/IPによって試験対象サーバーと
のコネクションが確立してからHTTPリクエストの送
信が完了するまでの時間に対する制限時間であり、受信
タイムアウト時間は、HTTPリクエストの送信が完了
してからHTTPレスポンスを受信するまでの時間に対
する制限時間である。
Specifically, when the child process is started,
The transmission timeout period and the reception timeout period described in the test environment file stored in the work area are read (s11). In this example, the transmission timeout period is a time limit for the time from when a connection with the server to be tested is established by TCP / IP to when the transmission of the HTTP request is completed, and the reception timeout period is the time when the transmission of the HTTP request is completed. This is the time limit for the time from receiving the HTTP response until receiving the HTTP response.

【0051】上記制限時間が設定されると、トラフィッ
ク量に相当する回数分のループ処理を開始する。このル
ープでは、まずスクリプトファイルに記載されている試
験対象サーバーの名前とポート番号とを読み込み、その
サーバーとコネクションを確立する(s12,s1
3)。さらに、スクリプトファイルにおけるHTTPリ
クエストの記述部分を読みだしてサーバーにHTTPリ
クエストを送信する(s15,s16)。また、この送
信処理に掛かる時間を計測し、送信タイムアウト時間が
経過したらエラーと判断してその旨をログに記録する
(s17→s29)。
When the time limit is set, a loop process for the number of times corresponding to the traffic amount is started. In this loop, first, the name and port number of the test target server described in the script file are read, and a connection is established with the server (s12, s1).
3). Further, the description part of the HTTP request in the script file is read and the HTTP request is transmitted to the server (s15, s16). Also, the time required for the transmission processing is measured, and when the transmission timeout time has elapsed, it is determined that an error has occurred, and that fact is recorded in a log (s17 → s29).

【0052】HTTPリクエストが送信され、試験対象
サーバーよりHTTPレスポンスが返送されると、その
受信処理を行う。受信タイムアウト時間が経過するまで
にHTTPレスポンスが受信されない場合は、その旨を
ログに記録する(s19〜s21→s29)。HTTP
レスポンスを制限時間内に受信すると、ワークエリアよ
りスクリプトファイルにおけるHTTPレスポンスの記
述部分を読み込み、これを実際に受信したHTTPレス
ポンスとを比較し、サーバーとのセッションを終了する
(s22〜s24)。所定のループ回数に達していれ
ば、応答時間や比較結果をログに記録してその子プロセ
スを終了する(s27→s28)。ループ回数に達して
いなければ、そのループ内にて取得される応答時間や比
較結果をログに記録し、次のループ処理を実行する(S
27→s29)。
When an HTTP request is transmitted and an HTTP response is returned from the server to be tested, reception processing is performed. If the HTTP response is not received before the reception timeout period elapses, the fact is recorded in a log (s19 to s21 → s29). HTTP
When the response is received within the time limit, the description part of the HTTP response in the script file is read from the work area, this is compared with the actually received HTTP response, and the session with the server is terminated (s22 to s24). If the predetermined number of loops has been reached, the response time and the comparison result are recorded in a log, and the child process ends (s27 → s28). If the number of loops has not been reached, the response time and the comparison result obtained in the loop are recorded in a log, and the next loop processing is executed (S
27 → s29).

【0053】また、パラメータを含んだHTTPリクエ
ストを送信する場合、そのパラメータを動的に変化させ
ることも可能である。パラメータとしてはCGIに与え
るための引数であったり、HTTPリクエストのヘッダ
部分やURL部分に記述されるユーザIDなどであった
りする。
When transmitting an HTTP request including a parameter, the parameter can be dynamically changed. The parameter is an argument to be given to the CGI, or a user ID described in a header portion or a URL portion of the HTTP request.

【0054】図7(A)〜(C)にパラメータを可変設
定する処理例についての概略図を示した。この例では認
証手続きを行うCGIプログラムにパラメータを与える
こととしている。また、パラメータは携帯電話機の端末
IDであるとしている。(A)はこの端末IDを可変設
定する場合に使用されるスクリプトファイルの概略を示
している。変数部分を含んだHTTPリクエストと、そ
の変数によって認証が得られた旨に相当するHTTPレ
スポンスとが記載されている。(B)は変数(端末I
D)を可変設定する処理を含んだ子プロセスの流れの一
部を示している。図6に示した子プロセスの流れ図にお
ける処理s15とs16との間にその変数数設定処理が
挿入されている。この例では、子プロセスによって参照
されるスクリプトファイルに所定の文字列"parameter"
が含まれている場合、その文字列を乱数によって発生し
た文字列"123456789012"に置換したHTTPリクエスト
を生成している(s40,s41→s42)。もちろ
ん、パラメータの値を設定する規則は乱数に限らず所定
の関数など適宜な規則に従って発生させてもよい。そし
て、設定済みのパラメータを含んだHTTPリクエスト
を送信する(s16)。なお、読み出したスクリプトフ
ァイルに所定の文字列が含まれていない場合はそのスク
リプトファイルに基づいたHTTPリクエストを送信す
る(s40、s41→s16)。(C)は(B)のs4
2の処理によって生成されたそのHTTPリクエストの
構文を示している。
FIGS. 7A to 7C are schematic diagrams showing an example of processing for variably setting parameters. In this example, parameters are given to a CGI program that performs an authentication procedure. The parameter is a terminal ID of the mobile phone. (A) schematically shows a script file used when the terminal ID is variably set. An HTTP request including a variable portion and an HTTP response corresponding to the fact that authentication has been obtained by the variable are described. (B) is a variable (terminal I
It shows a part of the flow of the child process including the process of variably setting D). The variable number setting process is inserted between the processes s15 and s16 in the flowchart of the child process shown in FIG. In this example, the script file referenced by the child process contains the string "parameter"
Is included, an HTTP request in which the character string is replaced with a character string “123456789012” generated by a random number is generated (s40, s41 → s42). Of course, the rule for setting the parameter value is not limited to a random number, and may be generated according to an appropriate rule such as a predetermined function. Then, an HTTP request including the set parameters is transmitted (s16). If the read script file does not include a predetermined character string, an HTTP request based on the script file is transmitted (s40, s41 → s16). (C) is s4 of (B)
2 shows the syntax of the HTTP request generated by the processing of FIG.

【0055】===試験内容=== 上述したように、テスターのサーバー試験ソフトウエア
は、親プロセスがテスト環境ファイルに基づいてテスト
条件を設定し、その親プロセスにて指定されるスクリプ
トファイルに基づいて子プロセスが個別に試験対象サー
バーとHTTPによるセッションを実行する。
=== Test Contents === As described above, the server test software of the tester sets the test conditions based on the test environment file by the parent process, and stores the test conditions in the script file specified by the parent process. The child process individually executes an HTTP session with the test target server based on the child process.

【0056】具体的な試験内容としては、URLごとに
トラフィック量(同時送信数)を設定してHTTPリク
エストを送付する負荷試験と、同じURLへのHTTP
リクエストを繰り返し送信する耐久試験とが挙げられ
る。本実施例では、試験対象サーバーを多角的に試験す
るために、URL別のHTTPリクエストのトラフィッ
ク量を時系列的に変化させるという手法を採用した。す
なわち、「ある時刻に、あるURLを含んだHTTPリ
クエストが、あるトラフィック量で発生する」という、
実際のアクセスに近い状況を再現しながら上記負荷試験
と耐久試験とを行った。
Specific test contents include a load test in which an HTTP request is sent by setting a traffic amount (the number of simultaneous transmissions) for each URL, and an HTTP test for the same URL.
And an endurance test for repeatedly sending requests. In this embodiment, in order to test the server to be tested from various viewpoints, a method of changing the traffic volume of the HTTP request for each URL in a time-series manner is employed. That is, "at a certain time, an HTTP request including a certain URL is generated with a certain traffic amount."
The load test and the durability test were performed while reproducing a situation close to actual access.

【0057】===試験結果の報告出力=== テスターは上記方式による試験を通じて実行される大量
の子プロセスのそれぞれが個別に記録するログを集計・
解析し、その解析結果を所定の報告形式で表示出力した
り印刷出力したりする。図 8(A)〜(C)にその報
告出力例を示した。(A)はテストの実施内容を示して
おり、リクエスト数の時系列変化をURL別に表示して
いる。この図では3つのURL(URL:a〜c)のそ
れぞれについて、時刻とリクエスト数との関係が棒グラ
フによって示されている。(B)はURLごとにリクエ
ストに対する応答時間の平均値を時系列変化として示し
ている。この例では、折れ線グラフによって連続的な応
答時間の推移を表現している。(C)はあるURL(U
RL:a)対するエラーの頻度を時系列的に示してい
る。この例ではスクリプトファイルのHTTPレスポン
スと実際のレスポンスとが同じときを「成功」、異なっ
ていたときを「エラー」としている。そして、リクエス
ト数における成功/エラーの内訳を棒グラフによって示
している。
=== Report output of test results === The tester compiles logs individually recorded by a large number of child processes executed through the test according to the above method.
The analysis is performed, and the analysis result is displayed or output in a predetermined report format. FIGS. 8A to 8C show examples of the report output. (A) shows the contents of the test, and the time-series change in the number of requests is displayed for each URL. In this diagram, the relationship between the time and the number of requests is shown by a bar graph for each of the three URLs (URLs: a to c). (B) shows the average value of the response time to the request for each URL as a time-series change. In this example, a continuous response time transition is represented by a line graph. (C) is a URL (U
RL: a) shows the frequency of errors for chronological order. In this example, the case where the HTTP response of the script file is the same as the actual response is “success”, and the case where they are different is “error”. The success / error in the number of requests is shown by a bar graph.

【0058】上記の報告出力によって、例えば、リクエ
スト数と、応答時間やエラー回数とがどのURLでもほ
ぼ比例関係にあれば、試験対象サーバーのハードウエア
の性能を向上させればよいと判断できる。また、特定の
URLを含んだリクエストに対してのみ応答時間が長か
ったりエラーの出現頻度が多かったりすれば、そのUR
Lによって指定されるオブジェクトの送出処理に関わる
プログラム(CGIなど)に問題があることがわかる。
さらに、応答時間やエラーの出現頻度がURLにもリク
エスト数にも依存しないような傾向がある場合は、ソフ
トウエアに根本的な不良個所があることを疑うことがで
きよう。
From the report output described above, for example, if the number of requests and the response time or the number of errors are substantially proportional to any URL, it can be determined that the performance of the hardware of the server to be tested should be improved. If the response time is long only for a request including a specific URL or the frequency of occurrence of an error is high, the URL
It can be seen that there is a problem in a program (CGI or the like) related to the sending processing of the object specified by L.
Further, if the response time and the frequency of occurrence of errors tend not to depend on the URL or the number of requests, it may be suspected that there is a fundamental defect in the software.

【0059】なお、図8に示した報告形式(グラフ)は
一例であり、グラフ形式(棒グラフ、折れ線グラフな
ど)や対応関係(縦軸、横軸)のとりかたなどは適宜に
変更できる。もちろん、子プロセスは、どの処理でエラ
ーが発生したのかをログに逐一記録しているので、他の
処理におけるエラーの頻度など、報告内容も任意に設定
できる。
The report format (graph) shown in FIG. 8 is an example, and the graph format (bar graph, line graph, etc.) and the correspondence (vertical axis, horizontal axis) can be appropriately changed. Of course, the child process records in the log which process caused the error, so that the report content such as the frequency of the error in other processes can be arbitrarily set.

【0060】===その他、応用例・変更例=== 上記実施例ではスクリプトファイルはユーザによるキー
入力によってHTTPリクエストやレスポンスの内容を
記述している。このようにしてスクリプトファイルを生
成せず、自動的に生成する方法もある。例えば、テスタ
ーあるいは同じLANに接続されている他のコンピュー
タにてブラウザを起動させる。そのブラウザがURLを
指定して試験対象サーバーにHTTPリクエストを送信
し、そのリクエストに対するレスポンスを受信する。ブ
ラウザによって送受信されるHTTPリクエスト/レス
ポンスを取得し、その内容を解析する。そして、Reques
t-LineやStatus-Lineなど、所定の項目を抽出する。そ
の項目を定型の書式に当てはめてスクリプトファイルを
作成する。このような自動スクリプトファイルの生成機
能を付帯機能としてテスターに備えさせることも可能で
ある。
=== Other Applications / Modifications === In the above embodiment, the script file describes the contents of HTTP requests and responses by key input by the user. There is also a method of automatically generating a script file without generating it in this way. For example, a browser is started on a tester or another computer connected to the same LAN. The browser specifies the URL, transmits an HTTP request to the test target server, and receives a response to the request. The HTTP request / response transmitted / received by the browser is acquired, and the content is analyzed. And Reques
Extract predetermined items such as t-Line and Status-Line. Create a script file by applying the items to the fixed format. It is also possible to provide the tester with such an automatic script file generation function as an additional function.

【0061】試験対象サーバーは一つに限るものではな
く、複数の試験対象サーバーが同じLAN上にあっても
よい。その場合、テスターはHTTPリクエストの送付
先を特定するためにサーバー名(IPアドレス)を指定
すればよい。また、WWWサーバーソフトウエアとサー
バー試験ソフトウエアとが同一のコンピュータに実装さ
れている形態もあり得る。
The number of servers to be tested is not limited to one, and a plurality of servers to be tested may be on the same LAN. In this case, the tester may specify the server name (IP address) to specify the destination of the HTTP request. Further, there may be a form in which the WWW server software and the server test software are mounted on the same computer.

【0062】上記実施例では、全てのテスト条件はテス
ト環境ファイルに記述するものとしている。しかし、テ
スターにユーザが選出したテスト環境ファイルの記述を
一部変更するためのユーザインタフェースを備えさせる
ことは容易である。あるいは、制限時間やパラメータを
変化させる規則(関数など)をユーザ入力によって設定
することもできる。それによって、テスト条件を自在に
カスタマイズできる。
In the above embodiment, all test conditions are described in the test environment file. However, it is easy to provide the tester with a user interface for partially changing the description of the test environment file selected by the user. Alternatively, a rule (a function or the like) for changing the time limit or the parameter can be set by a user input. As a result, test conditions can be freely customized.

【0063】また、本発明の趣旨に反し、このテスター
を使用してインターネット上のWWWサーバーへのアク
セスを試みるユーザも出現する可能性もある。そのよう
な可能性に対応するために、テスターにルーティングホ
ップ数を固定的に設定することとしてもよい。それによ
って、HTTPリクエストを搬送するTCP/IPパケ
ットが、設定数以上のルータを通過できず目的のWWW
サーバーに到達できなくなる。
Also, contrary to the spirit of the present invention, there is a possibility that a user who attempts to access a WWW server on the Internet using this tester may appear. In order to cope with such a possibility, the number of routing hops may be fixedly set in the tester. As a result, the TCP / IP packet carrying the HTTP request cannot pass through more than the set number of routers and the target WWW
The server cannot be reached.

【0064】[0064]

【発明の効果】本発明によれば、試験対象のWWWサー
バーに多数のユーザ・エージェントを擬装した大量のH
TTPリクエストを送付して負荷試験を行うことができ
る。すなわち、試験対象サーバーに対して、指定するオ
ブジェクト同定やアクセスしてくるユーザエージェント
ごとに性能を試験することができる。そのため、WWW
サーバーにて実行さる多数の内部処理から、障害や不具
合のある処理を特定することができる。それによって、
プログラムの変更や修正に素早く対応することができ
る。
According to the present invention, a large number of Hs impersonating a large number of user agents on a WWW server to be tested.
A load test can be performed by sending a TTP request. That is, the performance can be tested for each of the user agents accessing the test target server by identifying the specified object and accessing the server. Therefore, WWW
A faulty or faulty process can be identified from a number of internal processes executed on the server. Thereby,
Quickly respond to program changes and modifications.

【0065】また、試験対象サーバーをインターネット
などの公衆データ通信網に公開するに当たって適正な規
模と性能のハードウエアを採用することができる。した
がって、サーバーの設置コストを最小限に抑えつつ、最
大限の性能を発揮させることができる。
Further, when making the server to be tested open to the public data communication network such as the Internet, it is possible to employ hardware of appropriate size and performance. Therefore, maximum performance can be exhibited while minimizing server installation costs.

【0066】また、HTTPリクエスト/レスポンスに
要する応答時間や、HTTPリクエストの正確さなどを
試験項目とすることで、WWWサーバーの性能をより多
角的に評価することができる。
In addition, by setting the response time required for the HTTP request / response, the accuracy of the HTTP request, and the like as test items, the performance of the WWW server can be more diversified.

【0067】HTTPリクエストのオブジェクト同定や
送信頻度などを時系列的に変化させることで、実際のア
クセスに近い状況を再現できる。そのため、試験対象サ
ーバーの性能を公開前に把握することができる。
By changing the object identification and the transmission frequency of the HTTP request in time series, it is possible to reproduce a situation close to an actual access. Therefore, the performance of the server to be tested can be grasped before disclosure.

【0068】試験対象サーバーに送付するHTTPリク
エストやその送信条件などは、ユーザ入力によって設定
してもよいし、あらかじめそれらを記述したファイル
(スクリプトファイル、テスト環境ファイル)を用意し
てそれらのファイルに基づいて設定することとしてもよ
い。それによって、テスト条件を細かくカスタマイズす
ることが可能となり、多種多様な事態を想定した試験が
可能となる。
The HTTP request to be sent to the server to be tested and the transmission conditions thereof may be set by user input, or a file (script file, test environment file) in which these are described in advance may be prepared and stored in those files. It may be set on the basis of. As a result, the test conditions can be finely customized, and a test can be performed in a variety of situations.

【0069】ブラウザによるHTTPリクエスト/レス
ポンスとに基づいて、スクリプトファイルを作成すれ
ば、キー入力などによるスクリプトファイルの作成作業
を必要としなくなる。したがって、ユーザ(試験する
人)の労力を削減するとともに、試験開始までの期間を
短縮し、WWWサーバーを速やかに公開することができ
る。
If the script file is created based on the HTTP request / response by the browser, it is not necessary to create the script file by key input or the like. Therefore, it is possible to reduce the labor of the user (the person who performs the test), shorten the period until the start of the test, and promptly disclose the WWW server.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例における試験対象サーバーとサ
ーバー試験装置とのデータ通信経路の概略図を示してい
る。
FIG. 1 is a schematic diagram illustrating a data communication path between a server to be tested and a server test apparatus according to an embodiment of the present invention.

【図2】上記実施例のサーバー試験装置が実行する子プ
ロセスの概略図である。
FIG. 2 is a schematic diagram of a child process executed by the server test apparatus of the embodiment.

【図3】上記サーバー試験装置にて処理されるスクリプ
トファイルの構成図である。
FIG. 3 is a configuration diagram of a script file processed by the server test apparatus.

【図4】上記サーバー試験装置にて処理されるテスト環
境ファイルの概略図である。
FIG. 4 is a schematic diagram of a test environment file processed by the server test apparatus.

【図5】上記サーバー試験装置にて実行される親プロセ
スと子プロセスとの関係と各処理の流れとを概略図とし
て示している。
FIG. 5 is a schematic diagram showing a relationship between a parent process and a child process executed by the server test apparatus and a flow of each process.

【図6】上記子プロセスの流れ図を示している。FIG. 6 shows a flowchart of the child process.

【図7】上記サーバー試験装置にて実行されるパラメー
タの可変設定処理の概略図を示している。(A)はパラ
メータを含んだスクリプトファイルの概略を示してい
る。(B)はパラメータを可変設定する処理を含んだ子
プロセスの流れの一部を示している。(C)は設定され
たパラメータを含んだHTTPリクエストの構文を示し
ている。
FIG. 7 is a schematic view of a parameter variable setting process executed by the server test apparatus. (A) shows an outline of a script file including parameters. (B) shows a part of the flow of the child process including the process of variably setting the parameters. (C) shows the syntax of the HTTP request including the set parameters.

【図8】上記サーバー試験装置が表示出力するグラフを
示している。(A)は報告出力図を示している。(A)
はアクセス数の時系列変化をURL別に表示したグラフ
である。(B)はURLごとにリクエストに対する応答
時間を時系列変化として示したグラフである。(C)は
あるURLへのアクセス対するエラーの頻度を時系列的
に示したグラフである。
FIG. 8 shows a graph displayed and output by the server test apparatus. (A) shows a report output diagram. (A)
Is a graph showing time-series changes in the number of accesses for each URL. (B) is a graph showing a response time to a request for each URL as a time-series change. (C) is a graph showing, in chronological order, the frequency of errors with respect to access to a certain URL.

【符号の説明】[Explanation of symbols]

1 LAN 10a サーバー試験装置 10b 試験対象サーバー 1 LAN 10a server test equipment 10b server to be tested

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大平 聡 東京都港区西麻布4−16−13 株式会社サ イバード内 (72)発明者 長谷川 恭男 神奈川県藤沢市藤沢223−2 株式会社ウ ィップス内 (72)発明者 羽田 言成 神奈川県藤沢市藤沢223−2 株式会社ウ ィップス内 Fターム(参考) 5B048 AA18 DD09 DD17 EE02 EE05 EE09 FF03 5B089 GB02 HA06 JB02 KA12 MC16 5K030 GA14 HA08 JA10 JT06 KA13 LA02 MC02 MC03 5K035 AA03 BB02 DD03 EE01 EE25 GG02 GG05 HH07 JJ04 KK01 MM03  ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Satoshi Ohira 4-16-13 Nishiazabu, Minato-ku, Tokyo Within Saibird Co., Ltd. (72) Inventor Yasuo Hasegawa 222-2 Fujisawa, Fujisawa-shi, Kanagawa Pref. 72) Inventor, Kazunari Haneda 223-2 Fujisawa, Fujisawa-shi, Kanagawa Prefecture F-term within Wips Co., Ltd. (reference) BB02 DD03 EE01 EE25 GG02 GG05 HH07 JJ04 KK01 MM03

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 公衆データ通信網を介して接続された多
数のユーザ・エージェントからのHTTPリクエストを
受け付け、各リクエストそれぞれに呼応するオブジェク
トを生成して該当のユーザ・エージェント宛に送出する
ようにプログラムされたWWWサーバーが試験対象サー
バーであり、当該試験対象サーバーとサーバー試験装置
とを前記公衆データ通信網に代わる専用データ通信経路
によって相互接続し、このサーバー試験装置により、多
数のユーザ・エージェントを擬装した大量のHTTPリ
クエストを前記試験対象サーバーに同時並行的に送信す
るとともに、前記試験対象サーバーからのHTTPレス
ポンスを個別に認識して各レスポンス中に各HTTPリ
クエストに含まれているオブジェクト同定にて指定した
オブジェクトが誤りなく含まれているか否かを判別し、
その判別結果を所定の報告形式で出力することを特徴と
するWWWサーバーの性能試験方法。
1. A program for receiving HTTP requests from a number of user agents connected via a public data communication network, generating an object corresponding to each request, and transmitting the object to the user agent. The tested WWW server is a server to be tested, and the server to be tested and the server test apparatus are interconnected by a dedicated data communication path instead of the public data communication network, and the server test apparatus disguises a large number of user agents. A large amount of HTTP requests sent to the server under test are simultaneously transmitted to the server under test, and the HTTP responses from the server under test are individually recognized and specified by the object identification included in each HTTP request in each response. Object is incorrect To determine whether it is included
A method of testing the performance of a WWW server, wherein a result of the determination is output in a predetermined report format.
【請求項2】 請求項1に記載のWWWサーバーの性能
試験方法を実施するための前記サーバー試験装置であっ
て、前記試験対象サーバーに前記大量のHTTPリクエ
ストを多数のユーザ・エージェントを擬装して同時並行
的に送信するリクエスト送信手段と、当該試験対象サー
バーからのHTTPレスポンスを個別に認識するレスポ
ンス受信手段と、この手段により受信した各レスポンス
中に各HTTPリクエストにて指定したオブジェクトが
誤りなく含まれているか否かを判別するレスポンス判別
手段と、この判別手段による判別結果を所定の報告形式
で出力する試験結果出力手段とを備えることを特徴とす
るサーバー試験装置。
2. The server test apparatus for performing the WWW server performance test method according to claim 1, wherein the test target server impersonates a large number of HTTP requests with a large number of user agents. A request transmitting means for transmitting simultaneously and in parallel, a response receiving means for individually recognizing an HTTP response from the test target server, and each response received by this means includes an object designated by each HTTP request without error. A server test apparatus comprising: response determination means for determining whether or not a response has been made; and test result output means for outputting a determination result by the determination means in a predetermined report format.
【請求項3】 請求項2に記載のサーバー試験装置であ
って、前記リクエスト送信手段が出力する前記HTTP
リクエストに含まれる前記オブジェクト同定の内容を規
定する情報や、HTTPリクエストの送信頻度を規定す
る情報を含んだテスト条件を任意に可変設定するための
テスト条件設定手段を備えたことを特徴とするサーバー
試験装置。
3. The server test apparatus according to claim 2, wherein the HTTP output from the request transmitting unit is output.
A server comprising: test condition setting means for arbitrarily variably setting a test condition including information specifying the content of the object identification included in a request and information specifying a transmission frequency of an HTTP request. Testing equipment.
【請求項4】 請求項2または3に記載のサーバー試験
装置であって、前記リクエスト送信手段が前記HTTP
リクエストを出力してから当該リクエストに対する前記
HTTPレスポンスを前記レスポンス受信手段が受信す
るまでの時間を計測する応答時間計測手段を備え、この
計測手段による計測結果が前記試験結果出力手段の出力
内容に反映することを特徴とするサーバー試験装置。
4. The server test apparatus according to claim 2, wherein said request transmitting means is said HTTP server.
Response time measuring means for measuring a time from when the request is output to when the response receiving means receives the HTTP response to the request, and a measurement result by the measuring means is reflected in an output content of the test result output means A server test apparatus characterized in that:
【請求項5】 請求項4に記載のサーバー試験装置であ
って、前記リクエスト送信手段が出力する前記HTTP
リクエストに含まれる前記オブジェクト同定ごとに基準
応答時間が設定されており、前記応答時間計測手段によ
り計測された応答時間と前記基準応答時間との比較結果
が前記試験結果出力手段の出力内容に反映することを特
徴とするサーバー試験装置。
5. The server test apparatus according to claim 4, wherein said HTTP output from said request transmitting means is output.
A reference response time is set for each of the object identifications included in the request, and a comparison result between the response time measured by the response time measuring means and the reference response time is reflected in the output content of the test result output means. A server test device, characterized in that:
【請求項6】 請求項5に記載のサーバー試験装置であ
って、前記オブジェクト同定ごとの前記基準応答時間を
含んだテスト条件を任意に可変設定するためのテスト条
件設定手段を備えることを特徴とするサーバー試験装
置。
6. The server test apparatus according to claim 5, further comprising: test condition setting means for arbitrarily variably setting a test condition including the reference response time for each object identification. Server testing equipment.
【請求項7】 請求項2または3に記載のサーバー試験
装置であって、前記リクエスト送信手段は、前記HTT
Pリクエストに含まれる特定のパラメータを所定の規則
に従って変化させながら大量の前記HTTPリクエスト
を生成して順次出力することを特徴とするサーバー試験
装置。
7. The server test apparatus according to claim 2, wherein the request transmitting unit is configured to execute the HTT.
A server test apparatus, wherein a large number of HTTP requests are generated and sequentially output while changing a specific parameter included in a P request according to a predetermined rule.
【請求項8】 請求項7に記載のサーバー試験装置であ
って、前記パラメータを変化させる規則に関するデータ
を含んだテスト条件を任意に可変設定するためのテスト
条件設定手段を備えたことを特徴とするサーバー試験装
置。
8. The server test apparatus according to claim 7, further comprising: test condition setting means for arbitrarily variably setting a test condition including data on a rule for changing the parameter. Server testing equipment.
【請求項9】 請求項2または3に記載のサーバー試験
装置であって、前記HTTPリクエストの出力頻度を時
間的にどのように変化させながら試験を行うのかを規定
したリクエスト送信スケジュールが設定されており、こ
のスケジュールに従って前記リクエスト送信手段が動作
することを特徴とするサーバー試験装置。
9. The server test apparatus according to claim 2, wherein a request transmission schedule is set which defines how to perform the test while temporally changing the output frequency of the HTTP request. A server test apparatus wherein the request transmitting means operates according to the schedule.
【請求項10】 請求項9に記載のサーバー試験装置で
あって、前記リクエスト送信スケジュールの内容を任意
に可変設定するためのテスト条件設定手段を備えたこと
を特徴とするサーバー試験装置。
10. The server test apparatus according to claim 9, further comprising test condition setting means for arbitrarily variably setting the content of the request transmission schedule.
【請求項11】 請求項2または3に記載のサーバー試
験装置であって、前記判別結果出力手段は、前記レスポ
ンス判別手段による判別結果と、その判別結果を生じた
試験実施時のリクエスト出力頻度とを関連付けした報告
出力を生成することを特徴とするサーバー試験装置。
11. The server test apparatus according to claim 2, wherein the determination result output unit determines a determination result by the response determination unit and a request output frequency at the time of performing a test that generates the determination result. A server test apparatus for generating a report output in which a report output is associated.
【請求項12】 請求項4〜6のいずれかに記載のサー
バー試験装置であって、前記判別結果出力手段は、前記
応答時間計測手段による計測結果と、その計測結果を生
じた試験実施時のリクエスト出力頻度とを関連付けした
報告出力を生成することを特徴とするサーバー試験装
置。
12. The server test apparatus according to claim 4, wherein said discrimination result output means includes a measurement result obtained by said response time measurement means, and a test result when said test result is generated. A server test apparatus for generating a report output in which a request output frequency is associated with a request output frequency.
【請求項13】 請求項9または10に記載のサーバー
試験装置であって、前記判別結果出力手段は、前記レス
ポンス判別手段による判別結果と、その判別結果を生じ
た前記リクエスト送信スケジュールとを関連付けした報
告出力を生成することを特徴とするサーバー試験装置。
13. The server test apparatus according to claim 9, wherein the determination result output unit associates the determination result by the response determination unit with the request transmission schedule that has generated the determination result. A server test device for generating a report output.
【請求項14】 請求項4〜6のいずれかと、請求項9
または10のいずれかとをともに充足するサーバー試験
装置であって、前記判別結果出力手段は、前記応答計測
手段による計測結果と、その計測結果を生じた前記リク
エスト送信スケジュールとを関連付けした報告出力を生
成することを特徴とするサーバー試験装置。
14. The method according to claim 4, wherein the method comprises:
Or a server test apparatus that satisfies any one of the above (10), wherein the determination result output means generates a report output in which the measurement result of the response measurement means is associated with the request transmission schedule that generated the measurement result. A server test apparatus characterized in that:
【請求項15】 請求項9または10に記載のサーバー
試験装置であって、前記リクエスト送信スケジュールを
適宜な報告形式で出力するスケジュール報告手段を備え
たことを特徴とするサーバー試験装置。
15. The server test apparatus according to claim 9, further comprising schedule report means for outputting the request transmission schedule in an appropriate report format.
【請求項16】 請求項3に記載のサーバー試験装置で
あって、前記オブジェクト同定の異なる多数種類の前記
HTTPリクエストの内容をそれぞれ規定した多数のス
クリプトファイルが適宜な記憶資源に格納されていると
ともに、前記HTTPリクエストの送信頻度などを規定
する多数種類のテスト環境ファイルが適宜な記憶資源に
格納されており、多数のスクリプトファイルおよび多数
の前記テスト環境ファイルのどれを使って試験を実施す
るのかを前記テスト条件手段によって特定することを特
徴とするサーバー試験装置。
16. The server test apparatus according to claim 3, wherein a plurality of script files respectively defining the contents of the plurality of HTTP requests having different object identifications are stored in appropriate storage resources. Many kinds of test environment files that define the transmission frequency of the HTTP request and the like are stored in an appropriate storage resource, and which of a large number of script files and a large number of the test environment files is used to execute a test. A server test apparatus characterized by specifying by the test condition means.
【請求項17】 請求項6に記載のサーバー試験装置で
あって、前記オブジェクト同定の異なる多数種類の前記
HTTPリクエストの内容をそれぞれ規定した多数のス
クリプトファイルが適宜な記憶資源に格納されていると
ともに、前記オブジェクト同定ごとの前記基準応答時間
などを規定する多数種類のテスト環境ファイルが適宜な
記憶資源に格納されており、多数のスクリプトファイル
および多数の前記テスト環境ファイルのどれを使って試
験を実施するのかを前記テスト条件手段によって特定す
ることを特徴とするサーバー試験装置。
17. The server test apparatus according to claim 6, wherein a plurality of script files respectively defining the contents of the plurality of types of HTTP requests having different object identifications are stored in appropriate storage resources. Many types of test environment files that define the reference response time and the like for each object identification are stored in an appropriate storage resource, and a test is performed using any of a number of script files and a number of the test environment files. A server test apparatus for specifying whether to perform the test by the test condition means.
【請求項18】 請求項8に記載のサーバー試験装置で
あって、前記オブジェクト同定の異なる多数種類の前記
HTTPリクエストの内容をそれぞれ規定した多数のス
クリプトファイルが適宜な記憶資源に格納されていると
ともに、前記パラメータを変化させる規則などを規定す
る多数種類のテスト環境ファイルが適宜な記憶資源に格
納されており、多数のスクリプトファイルおよび多数の
前記テスト環境ファイルのどれを使って試験を実施する
のかを前記テスト条件手段によって特定することを特徴
とするサーバー試験装置。
18. The server test apparatus according to claim 8, wherein a plurality of script files respectively defining the contents of the plurality of HTTP requests having different object identifications are stored in appropriate storage resources. Many types of test environment files that define rules for changing the parameters are stored in an appropriate storage resource, and it is determined which one of a number of script files and a number of the test environment files is used to execute a test. A server test apparatus characterized by specifying by the test condition means.
【請求項19】 請求項10に記載のサーバー試験装置
であって、前記オブジェクト同定の異なる多数種類の前
記HTTPリクエストの内容をそれぞれ規定した多数の
スクリプトファイルが適宜な記憶資源に格納されている
とともに、前記リクエスト送信スケジュールなどを規定
する多数種類のテスト環境ファイルが適宜な記憶資源に
格納されており、多数のスクリプトファイルおよび多数
の前記テスト環境ファイルのどれを使って試験を実施す
るのかを前記テスト条件手段によって特定することを特
徴とするサーバー試験装置。
19. The server test apparatus according to claim 10, wherein a plurality of script files respectively defining the contents of the plurality of HTTP requests having different object identifications are stored in appropriate storage resources. Many types of test environment files that define the request transmission schedule and the like are stored in an appropriate storage resource, and the test is performed to determine which one of a number of script files and a number of the test environment files is used to perform a test. A server test device characterized by specifying by a condition means.
【請求項20】 請求項16〜19のいずれかに記載の
サーバー試験装置であって、適宜なコンピュータにて実
行されているブラウザと前記試験対象サーバーとのデー
タ通信経路に介在して当該ブラウザと前記試験対象サー
バーとの間でやりとりされるHTTPリクエストとHT
TPレスポンスとを取得するとともに、そのリクエスト
/レスポンスに基づいて前記スクリプトファイルを生成
するスクリプトファイル生成手段を付帯することを特徴
とするサーバー試験装置。
20. The server test apparatus according to claim 16, wherein said browser is connected to a browser running on an appropriate computer via a data communication path between said browser and said server to be tested. HTTP request and HT exchanged with the server under test
A server test apparatus, which obtains a TP response and attaches a script file generating means for generating the script file based on the request / response.
【請求項21】 請求項16〜20のいずれかに記載の
サーバー試験装置であって、前記テスト環境ファイルの
それぞれにどのスクリプトファイルを使うのかを指定す
るための情報を含み、前記テスト条件設定手段は、任意
のテスト環境ファイルを選出するためのユーザ入力を受
け付けるとともに、この選出されたテスト環境ファイル
に基づいて多数のスクリプトファイルのどれを使って試
験を実施するのかを特定することを特徴とするサーバー
試験装置。
21. The server test apparatus according to claim 16, further comprising information for designating which script file is to be used for each of said test environment files, wherein said test condition setting means is provided. Receives user input for selecting an arbitrary test environment file, and specifies which of a number of script files to use for testing based on the selected test environment file. Server test equipment.
JP2000186503A 2000-06-21 2000-06-21 Performance testing method and server testing device for www server Pending JP2002007232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000186503A JP2002007232A (en) 2000-06-21 2000-06-21 Performance testing method and server testing device for www server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000186503A JP2002007232A (en) 2000-06-21 2000-06-21 Performance testing method and server testing device for www server

Publications (1)

Publication Number Publication Date
JP2002007232A true JP2002007232A (en) 2002-01-11

Family

ID=18686651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000186503A Pending JP2002007232A (en) 2000-06-21 2000-06-21 Performance testing method and server testing device for www server

Country Status (1)

Country Link
JP (1) JP2002007232A (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005100161A (en) * 2003-09-25 2005-04-14 Hitachi Software Eng Co Ltd Performance test support device
WO2005048118A1 (en) * 2003-11-17 2005-05-26 Kenji Katsui Measurement method, evaluation method, and sending out questionnaires in online procedure
JP2006508478A (en) * 2002-11-27 2006-03-09 プラムツリー ソフトウェア インコーポレイテッド Web server hit multiplier and redirector
JP2006101099A (en) * 2004-09-29 2006-04-13 Daiwa House Ind Co Ltd Operation inspecting method for in-house electric equipment remote control system and personal computer device for inspection used for operation inspection
WO2007010593A1 (en) * 2005-07-15 2007-01-25 Fujitsu Limited Tcp session emulator
WO2007043144A1 (en) * 2005-10-05 2007-04-19 Hewlett-Packard Development Company, L.P. Load-testing device and load-testing method
JP2007122416A (en) * 2005-10-28 2007-05-17 Nec Corp Simulator system, evaluation method, and program
JP2007526572A (en) * 2004-03-02 2007-09-13 ノキア コーポレイション Download different versions of media files based on the type of download link
JP2007264811A (en) * 2006-03-27 2007-10-11 Fujitsu Ltd Load simulator
JP2007264810A (en) * 2006-03-27 2007-10-11 Fujitsu Ltd Load test program
JP2008048096A (en) * 2006-08-14 2008-02-28 Nippon Telegr & Teleph Corp <Ntt> Traffic generation system, traffic generation method, traffic generation program, and traffic control device
JP2008234279A (en) * 2007-03-20 2008-10-02 Fujitsu Ltd Scenario creation program and scenario creation device
JP2008234151A (en) * 2007-03-19 2008-10-02 Fujitsu Ltd Scenario creation program and scenario creation device
JP2009118113A (en) * 2007-11-06 2009-05-28 Keihin Corp Communication abnormality detection device
JP2009199115A (en) * 2008-02-19 2009-09-03 Toshiba It Service Kk Communication program testing method and communication program testing system
JP2010041314A (en) * 2008-08-04 2010-02-18 Ibc Kk Network monitoring system, program, information storage medium and network monitoring method
JPWO2009130967A1 (en) * 2008-04-21 2011-08-18 日本電気株式会社 System performance test method, program and apparatus
JP2012048668A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012048669A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012048670A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012123789A (en) * 2010-12-06 2012-06-28 Internatl Business Mach Corp <Ibm> Parallel work load simulation for application performance test
JP2012174119A (en) * 2011-02-23 2012-09-10 Nec System Technologies Ltd Client-server system, load test method, and load test program
JP2012248228A (en) * 2012-09-19 2012-12-13 Fujitsu Ltd Load simulation device, simulation device, load simulation method, simulation method and program
WO2013145628A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Information processing device and load test execution method
JP5411381B1 (en) * 2013-06-03 2014-02-12 株式会社 ディー・エヌ・エー Server inspection system, server inspection apparatus, and server inspection program
JP2016519365A (en) * 2013-03-22 2016-06-30 ネイバー ビジネス プラットフォーム コーポレーション Test system and test method for reducing performance test cost in cloud environment
CN112422315A (en) * 2020-10-14 2021-02-26 深圳壹账通智能科技有限公司 Cluster performance test method, device, equipment and storage medium
CN115941363A (en) * 2023-03-08 2023-04-07 广东广宇科技发展有限公司 Network communication security analysis method based on http protocol

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508478A (en) * 2002-11-27 2006-03-09 プラムツリー ソフトウェア インコーポレイテッド Web server hit multiplier and redirector
JP2005100161A (en) * 2003-09-25 2005-04-14 Hitachi Software Eng Co Ltd Performance test support device
WO2005048118A1 (en) * 2003-11-17 2005-05-26 Kenji Katsui Measurement method, evaluation method, and sending out questionnaires in online procedure
JP2007526572A (en) * 2004-03-02 2007-09-13 ノキア コーポレイション Download different versions of media files based on the type of download link
JP2006101099A (en) * 2004-09-29 2006-04-13 Daiwa House Ind Co Ltd Operation inspecting method for in-house electric equipment remote control system and personal computer device for inspection used for operation inspection
WO2007010593A1 (en) * 2005-07-15 2007-01-25 Fujitsu Limited Tcp session emulator
JPWO2007043144A1 (en) * 2005-10-05 2009-04-16 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Load test apparatus and method
WO2007043144A1 (en) * 2005-10-05 2007-04-19 Hewlett-Packard Development Company, L.P. Load-testing device and load-testing method
US8762514B2 (en) 2005-10-05 2014-06-24 Hewlett-Packard Development Company, L.P. Load-testing device and load-testing method
JP2007122416A (en) * 2005-10-28 2007-05-17 Nec Corp Simulator system, evaluation method, and program
JP2007264811A (en) * 2006-03-27 2007-10-11 Fujitsu Ltd Load simulator
JP2007264810A (en) * 2006-03-27 2007-10-11 Fujitsu Ltd Load test program
JP2008048096A (en) * 2006-08-14 2008-02-28 Nippon Telegr & Teleph Corp <Ntt> Traffic generation system, traffic generation method, traffic generation program, and traffic control device
JP2008234151A (en) * 2007-03-19 2008-10-02 Fujitsu Ltd Scenario creation program and scenario creation device
JP2008234279A (en) * 2007-03-20 2008-10-02 Fujitsu Ltd Scenario creation program and scenario creation device
JP2009118113A (en) * 2007-11-06 2009-05-28 Keihin Corp Communication abnormality detection device
JP2009199115A (en) * 2008-02-19 2009-09-03 Toshiba It Service Kk Communication program testing method and communication program testing system
JPWO2009130967A1 (en) * 2008-04-21 2011-08-18 日本電気株式会社 System performance test method, program and apparatus
JP2010041314A (en) * 2008-08-04 2010-02-18 Ibc Kk Network monitoring system, program, information storage medium and network monitoring method
JP2012048668A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012048670A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012048669A (en) * 2010-08-30 2012-03-08 Nifty Corp Management method and management device of load test for web system
JP2012123789A (en) * 2010-12-06 2012-06-28 Internatl Business Mach Corp <Ibm> Parallel work load simulation for application performance test
US9823991B2 (en) 2010-12-06 2017-11-21 International Business Machines Corporation Concurrent workload simulation for application performance testing
JP2012174119A (en) * 2011-02-23 2012-09-10 Nec System Technologies Ltd Client-server system, load test method, and load test program
WO2013145628A1 (en) * 2012-03-30 2013-10-03 日本電気株式会社 Information processing device and load test execution method
JP2012248228A (en) * 2012-09-19 2012-12-13 Fujitsu Ltd Load simulation device, simulation device, load simulation method, simulation method and program
JP2016519365A (en) * 2013-03-22 2016-06-30 ネイバー ビジネス プラットフォーム コーポレーション Test system and test method for reducing performance test cost in cloud environment
US10230613B2 (en) 2013-03-22 2019-03-12 Naver Business Platform Corp. Test system for reducing performance test cost in cloud environment and test method therefor
JP5411381B1 (en) * 2013-06-03 2014-02-12 株式会社 ディー・エヌ・エー Server inspection system, server inspection apparatus, and server inspection program
CN112422315A (en) * 2020-10-14 2021-02-26 深圳壹账通智能科技有限公司 Cluster performance test method, device, equipment and storage medium
CN112422315B (en) * 2020-10-14 2022-09-02 深圳壹账通智能科技有限公司 Cluster performance test method, device, equipment and storage medium
CN115941363A (en) * 2023-03-08 2023-04-07 广东广宇科技发展有限公司 Network communication security analysis method based on http protocol

Similar Documents

Publication Publication Date Title
JP2002007232A (en) Performance testing method and server testing device for www server
JP4708662B2 (en) How to monitor Internet communication
US7934003B2 (en) Method and system for monitoring performance of distributed applications
US7568032B2 (en) Method of balancing load among mirror servers
US6973490B1 (en) Method and system for object-level web performance and analysis
Liu et al. Traffic model and performance evaluation of web servers
US6601098B1 (en) Technique for measuring round-trip latency to computing devices requiring no client-side proxy presence
US10027564B2 (en) Unobtrusive methods and systems for collecting information transmitted over a network
US8751601B2 (en) User interface that provides relevant alternative links
US7600014B2 (en) Method and system for monitoring the performance of a distributed application
CN100533434C (en) Method and apparatus for detecting invalid click on internet search engine
JP2002091936A (en) Load distribution device and load estimation method
Cherkasova et al. Measuring and characterizing end-to-end internet service performance
CN109714209A (en) A kind of diagnostic method and system of website visiting failure
CN103678311A (en) Webpage access method and system based on transfer mode and path capturing server
JP2000029813A (en) Server selection system
US20090259666A1 (en) Unobtrusive methods and systems for collecting information transmitted over a network
US20050091378A1 (en) Method and system for using mobile code to measure quality of service over a network
CN113676369B (en) Network quality analysis method, data receiving server and storage medium
Darst et al. Measurement and management of internet services
JP4181325B2 (en) How to manage the network
CN117135101A (en) A network quality assessment method and device for a designated protocol version network
Liston Measuring user-perceived Internet performance in multiple locations
KR100828033B1 (en) Wireless Internet Quality Automatic Measurement System and Method of Mobile Communication Terminal
CN116915641A (en) Network crossover detection methods, devices, equipment and media