JP2012048669A - Management method and management device of load test for web system - Google Patents

Management method and management device of load test for web system Download PDF

Info

Publication number
JP2012048669A
JP2012048669A JP2010192786A JP2010192786A JP2012048669A JP 2012048669 A JP2012048669 A JP 2012048669A JP 2010192786 A JP2010192786 A JP 2010192786A JP 2010192786 A JP2010192786 A JP 2010192786A JP 2012048669 A JP2012048669 A JP 2012048669A
Authority
JP
Japan
Prior art keywords
test
load
information
load test
identification information
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
JP2010192786A
Other languages
Japanese (ja)
Inventor
Hideo Hinuma
英雄 樋沼
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.)
Nifty Corp
Original Assignee
Nifty Corp
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 Nifty Corp filed Critical Nifty Corp
Priority to JP2010192786A priority Critical patent/JP2012048669A/en
Publication of JP2012048669A publication Critical patent/JP2012048669A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a management method of a load test in which the number of test participants can be limited for each load test.SOLUTION: A test management server 3 transmits load test notification information to each user terminal 1. The user terminal 1 displays the notification information on a display 16 according to a tool bar program 18. When a user selects the displayed load test to apply for participation in the test, the test management server 3 receives the participation application in the order of receipt until the number of participants reaches the upper limit of a range of the number of participants necessary for the load test, and registers the users in a test registrant management database 38. When a test execution period of the each load test starts, the test management server 3 transmits a test schedule file with a registered URL written thereon to the user terminals 1 operated by the registered users. Each of the user terminals 1 transmits a message to the URL specified by the test schedule file.

Description

本発明は、ネットワークを通じて受信したユーザ端末からのリクエストに応じて処理を実行する様に運用されるウェブシステムに対して行う負荷テストを管理するための管理方法及び管理装置に、関する。   The present invention relates to a management method and a management apparatus for managing a load test performed on a web system operated so as to execute processing in response to a request from a user terminal received through a network.

インターネット等のネットワークは、何らかのサービスを提供する多数のサーバとサービスを要求する多数のユーザ端末とを蜘蛛の巣状に接続するネットワークシステムである。そして、サービス提供を行うサーバは、各ユーザ端末からのリクエストメッセージを受信することにより、当該リクエストメッセージに従った処理を実行して、その処理結果をリクエスト元端末へ応答する。かかるサーバによる処理は、ユーザ端末からのリクエストメッセージ毎に実行されるが、同時に実行可能な処理の個数はサーバの処理能力に依存する。その為、多数のユーザ端末からのリクエストメッセージが一度に集中した場合には、サーバに対する処理負荷がサーバの処理能力を超えてしまい、サーバの処理速度が極端に低下したり、サーバがシステムダウンを起こしてしまう等の障害が生じ得る。また、多数のリクエストメッセージが一つの通信経路に集中して、その通信容量を超えてしまうと、通信経路が輻輳を起こしてしまう等の障害が生じ得る。そこで、ネットワーク上で新規のサービスを開始する際には、サービス開始に先立って、当該サービスを提供するサーバに対して、ネットワークを通じて多数(サービスの仕様において想定された最大アクセス数を十分上回る数)のダミーのリクエストメッセージを実際に送信することにより、障害の発生の有無をテストする必要がある。   A network such as the Internet is a network system that connects a large number of servers that provide a certain service and a large number of user terminals that request the service in a spider web. And the server which provides a service performs the process according to the said request message by receiving the request message from each user terminal, and responds the process result to a request origin terminal. Such processing by the server is executed for each request message from the user terminal, but the number of processes that can be executed simultaneously depends on the processing capability of the server. Therefore, when request messages from many user terminals are concentrated at once, the processing load on the server exceeds the processing capacity of the server, the processing speed of the server is extremely reduced, or the server is down. Failures such as waking up can occur. Further, when a large number of request messages are concentrated on one communication path and exceed the communication capacity, a failure such as congestion of the communication path may occur. Therefore, when starting a new service on the network, prior to the start of the service, a large number of servers that provide the service through the network (a number sufficiently exceeding the maximum number of accesses assumed in the service specifications) It is necessary to test whether or not a failure has occurred by actually sending a dummy request message.

従来、かかるテスト(以下、「負荷テスト」という)は、負荷テストサービスを提供するサーバ(以下、「負荷テストサーバ」という)によって内部的論理的に生成された多数の仮想クライアントが多数のリクエストメッセージを同時にテスト対象のサーバ(以下、「テスト対象サーバ」という)へ送信するものとして実行されていたが、負荷テストへの協力者を公募し、多数の協力者が夫々所有する端末から実際にリクエストメッセージをテスト対象サーバに対して自動送信させる提案も存在していた(特許文献1)。   Conventionally, such a test (hereinafter referred to as “load test”) includes a large number of virtual clients internally logically generated by a server that provides a load test service (hereinafter referred to as “load test server”). Was simultaneously sent to the test target server (hereinafter referred to as “test target server”), but recruited collaborators for the load test and actually requested from terminals owned by many collaborators. There has also been a proposal for automatically transmitting a message to a test target server (Patent Document 1).

上記特許文献記載の方式によると、テスト対象サーバのアドレス及びテスト実行日時の指定情報は、協力者が任意に覗くことができない様に暗号化されたファイル(接続先情報ファイル)に書き込まれた状態で、協力者の端末に提供される。そして、端末にインストールされた自動接続プログラムが、接続先情報ファイルを読み込んで、当該ファイルにおいて指定されたアドレスに対して、指定された実行日時に、リクエストメッセージを自動的に送信するのである。   According to the method described in the above patent document, the address information of the test target server and the specification information of the test execution date are written in an encrypted file (connection destination information file) so that the collaborator cannot arbitrarily look into And provided to the collaborator's terminal. Then, the automatic connection program installed in the terminal reads the connection destination information file and automatically transmits a request message to the address specified in the file at the specified execution date and time.

特開2002−132532号公報JP 2002-132532 A

しかしながら、上記リクエストメッセージの自動送信は、上記自動接続プログラム及び接続先情報ファイルがインストールされている端末が各負荷テストの実行日時に起動され且つネットワークに接続されている限り必ず実行されるので、リクエストメッセージを送信する端末の数は無制限となる。その為、負荷テストに必要な負荷を遙かに上回る非現実的な規模の負荷が、テスト対象サーバに掛かってしまうことがあり得る。このような状態
でなされた負荷テストの結果は信頼性に足りないので、負荷テストを実行した意義がなくなってしまう。
However, the automatic transmission of the request message is always executed as long as the terminal on which the automatic connection program and the connection destination information file are installed is activated at the execution date and time of each load test and is connected to the network. The number of terminals that send messages is unlimited. Therefore, an unrealistic load that far exceeds the load required for the load test may be applied to the test target server. Since the result of the load test performed in such a state is not reliable, the significance of executing the load test is lost.

そこで、本発明の課題は、個々の負荷テスト毎に、テスト参加者の数を制限することができるウェブシステムに対する負荷テストの管理方法及び管理装置を提供することとする。   Accordingly, an object of the present invention is to provide a load test management method and management apparatus for a web system that can limit the number of test participants for each load test.

上記課題を解決するために、本発明では、サーバ(テスト管理装置)が、各負荷テストにつきその識別情報,上記リクエストメッセージの宛先情報,テスト実行期間,及び、必要な参加者数レンジが相互に対応付けて登録された第1データベースを参照し、各負荷テストの告知情報を端末へ送信する。すると、負荷テストの告知情報を受信した端末は、告知情報を操作者に提示し、操作者が、入力装置を用いて各負荷テストのうち何れかを特定すると、特定した負荷テストの識別情報を含む参加申込情報をサーバ(テスト管理装置)へ送信する。すると、参加申込情報を受信したサーバ(テスト管理装置)は、第1データベースを参照し、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限り、前記識別情報に対応した宛先情報及びテスト実行期間を指定したスケジュール情報を、参加申込情報を送信した端末へ送信する。すると、スケジュール情報を受信した端末は、同スケジュール情報により指定されたテスト実行期間に、同スケジュール情報により指定された宛先情報を含むリクエストメッセージを送信する。   In order to solve the above-mentioned problem, in the present invention, the server (test management apparatus) has the identification information, the destination information of the request message, the test execution period, and the required number of participants range for each load test. By referring to the first database registered in association with each other, the notification information of each load test is transmitted to the terminal. Then, the terminal that has received the load test notification information presents the notification information to the operator, and when the operator specifies one of the load tests using the input device, the identification information of the specified load test is obtained. The participation application information including it is transmitted to the server (test management device). Then, the server (test management apparatus) that has received the participation application information refers to the first database, and the number of received participation application information including the same load test identification information as the participation application information is the identification information of the load test. As long as the upper limit of the corresponding participant range is not exceeded, the destination information corresponding to the identification information and the schedule information specifying the test execution period are transmitted to the terminal that transmitted the participation application information. Then, the terminal that has received the schedule information transmits a request message including the destination information specified by the schedule information during the test execution period specified by the schedule information.

以上のように構成されることから、端末の操作者が告知情報に基づいて何れかの負荷テストを特定して参加申込情報をサーバ(テスト管理装置)に送信しても、同一の負荷テストに対して既に他の端末からサーバ(テスト管理装置)へ送信された参加申込情報の数が、当該負荷テストについて第1データベースに登録されている参加者レンジの上限を超えていると、当該操作者の端末に対してはスケジュール情報は送信されない。その場合、当該操作者の端末は、当該負荷テストに関してリクエストメッセージを送信しないので、テストに必要な負荷を遙かに上回る非現実な規模の負荷が、テスト対象サーバに掛かってしまうことが防止される。   Even if the operator of the terminal identifies one of the load tests based on the notification information and transmits the participation application information to the server (test management device), the same load test is performed. On the other hand, if the number of pieces of participation application information already transmitted from another terminal to the server (test management device) exceeds the upper limit of the participant range registered in the first database for the load test, the operator Schedule information is not transmitted to the terminal. In that case, since the operator's terminal does not send a request message regarding the load test, an unrealistic load that far exceeds the load required for the test is prevented from being applied to the test target server. The

従って、本発明によれば、個々の負荷テスト毎に、テスト参加者の数を制限することができる。   Therefore, according to the present invention, the number of test participants can be limited for each individual load test.

本発明によるウェブシステムに対する負荷テストの管理方法が実施されたネットワークの概略構成を示すブロック図1 is a block diagram showing a schematic configuration of a network in which a load test management method for a web system according to the present invention is implemented. ユーザデータベースのデータ構造を示す表Table showing data structure of user database テスト負荷登録データベースのデータ構造を示す表Table showing the data structure of the test load registration database テスト登録者管理データベースのデータ構造を示す表Table showing data structure of test registrant management database テスト登録時における負荷管理システムの処理内容を示すフローチャートFlow chart showing processing contents of load management system at the time of test registration 負荷テストツールバープログラムによる処理内容を示すフローチャートFlow chart showing the processing contents of the load test toolbar program 負荷テストツールバープログラムによる処理内容を示すフローチャートFlow chart showing the processing contents of the load test toolbar program ユーザ端末からのアクセス時における負荷管理システムの処理内容を示すフローチャートThe flowchart which shows the processing content of the load management system at the time of access from a user terminal ユーザ端末からのアクセス時における負荷管理システムの処理内容を示すフローチャートThe flowchart which shows the processing content of the load management system at the time of access from a user terminal 周期的に実行される負荷管理システムの処理内容を示すフローチャートFlowchart showing processing contents of load management system executed periodically テスト対象装置の処理内容を示すフローチャートFlow chart showing processing contents of test target device 負荷テストツールバーの画面イメージを示す図Diagram showing screen image of load test toolbar アップデート許可画面を示す図Figure showing the update permission screen 負荷テストエントリ画面を示す図Figure showing the load test entry screen テストスケジュールファイルのデータ構造を示す表Table showing data structure of test schedule file

以下、図面に基づいて、本発明によるウェブシステムに対する負荷テストの管理方法及び管理装置の実施の形態を、説明する。
<システム構成>
図1は、かかる負荷テストの管理方法に関与する装置群のハードウェア構成を示す概略ブロック図である。
Embodiments of a load test management method and management apparatus for a web system according to the present invention will be described below with reference to the drawings.
<System configuration>
FIG. 1 is a schematic block diagram showing a hardware configuration of a group of devices involved in such a load test management method.

図1に示すように、当該負荷テストの管理方法に関与する装置には、複数台(図1では、簡略化のために一台のみ表示)のユーザ端末1,複数台のテスト対象装置2(図1では、簡略化のために一台のみ表示),及び、一台のテスト管理サーバ3が、含まれる。これらユーザ端末1,テスト対象装置2及びテスト管理サーバ3は、インターネットNを通じて相互に接続されており、相互に通信可能とされている。   As shown in FIG. 1, the devices involved in the load test management method include a plurality of user terminals 1 (only one is shown in FIG. 1 for simplification) and a plurality of test target devices 2 ( In FIG. 1, only one unit is shown for simplicity) and one test management server 3 is included. The user terminal 1, the test target device 2, and the test management server 3 are connected to each other through the Internet N and can communicate with each other.

ユーザ端末1は、個々のユーザに所有ないし占有されている、インターネット接続機能を備えた一般的なパーソナルコンピュータである。従って、ユーザ端末1は、バスBを通じて相互に接続されたCPU(Central Processing Unit)10,ハードディスク11,
リムーバブルディスク13,通信装置14,RAM(Random Access Memory)15,ディスプレイ16及び入力装置17を備えている。
The user terminal 1 is a general personal computer having an Internet connection function that is owned or occupied by an individual user. Therefore, the user terminal 1 includes a CPU (Central Processing Unit) 10, a hard disk 11,
A removable disk 13, a communication device 14, a RAM (Random Access Memory) 15, a display 16 and an input device 17 are provided.

これらのうち、CPU10は、このユーザ端末1全体の制御を行う中央処理装置である。   Among these, the CPU 10 is a central processing unit that controls the entire user terminal 1.

また、RAM15は、CPU10が各種処理を実行するに際しての作業領域が展開される主記憶装置である。   The RAM 15 is a main storage device in which a work area is expanded when the CPU 10 executes various processes.

また、通信装置14は、インターネットNとのインタフェースであり、インターネットNに繋がる通信媒体の種類に依り、モデム,ネットワークカード及びルータ,等が用いられる。   The communication device 14 is an interface with the Internet N, and a modem, a network card, a router, or the like is used depending on the type of communication medium connected to the Internet N.

また、リムーバブルディスク13は、フレキシブルディスク等の磁気ディスク及びフレキシブルディスクドライブ,DVDディスク,CD−ROM等の光学ディスク及び光学ディスクドライブ,若しくは、メモリカード及びカードスロットである。   The removable disk 13 is a magnetic disk such as a flexible disk and a flexible disk drive, an optical disk and an optical disk drive such as a DVD disk and a CD-ROM, or a memory card and a card slot.

また、ハードディスク11は、CPU10によって読み出されて実行される各種プログラム及び各種データを格納している記憶装置である。ハードディスク11に格納され且つCPU10によってRAM15上に読み出されて実行される各種プログラムには、一般に流通しているブラウザプログラム19の他、ユーザ端末1が負荷テストを実行するための負荷テストツールバープログラム18が、含まれている。負荷テストツールバープログラム18は、ブラウザプログラム19の機能に従って通信装置14及びインターネットNを通じてテスト管理サーバ2からダウンロードされ、若しくは、リムーバブルディスク13に格納された形態で配布されて、ハードディスク11におけるスタートアップフォルダにインストールされる。従って、ユーザ端末1に主電源が投入されると、ツールバープログラム19が自動的に起動されて、図12に示すようなツールバーをディスプレイ16上の片隅に表示するとともに、ユーザ端末1がシャットオフされるまで実行され続ける。なお、負荷テストツールバープログラム18は、テスト管理者により随時アップデートされ、
最新のアップデートを反映したアップデート用モジュール33は、インターネットNを通じてテスト管理サーバ1からダウンロード可能となっている。そして、ダウンロードされたアップデート用モジュール33により、ユーザ端末1のハードディスク11にインストールされた負荷テストツールバープログラム18が更新されることにより、ユーザ端末1上においても、負荷テストツールバープログラム18のアップデートが完遂されるのである。
The hard disk 11 is a storage device that stores various programs and various data read and executed by the CPU 10. The various programs stored in the hard disk 11 and read and executed on the RAM 15 by the CPU 10 include a browser program 19 that is generally distributed, and a load test toolbar program 18 for the user terminal 1 to execute a load test. It is included. The load test toolbar program 18 is downloaded from the test management server 2 through the communication device 14 and the Internet N according to the function of the browser program 19 or distributed in a form stored in the removable disk 13 and installed in the startup folder in the hard disk 11. Is done. Therefore, when the main power is turned on to the user terminal 1, the toolbar program 19 is automatically activated to display a toolbar as shown in FIG. 12 in one corner of the display 16, and the user terminal 1 is shut off. It will continue to run until The load test toolbar program 18 is updated from time to time by the test administrator.
The update module 33 reflecting the latest update can be downloaded from the test management server 1 through the Internet N. Then, the load test toolbar program 18 installed in the hard disk 11 of the user terminal 1 is updated by the downloaded update module 33, whereby the update of the load test toolbar program 18 is also completed on the user terminal 1. It is.

また、ディスプレイ16は、CPU10による処理結果である画面を表示する。   The display 16 displays a screen that is a result of processing by the CPU 10.

また、入力装置17は、操作者によって操作されることにより、CPU10に対して各種コマンドを入力する装置であり、具体的には、キーボードや、マウス,タッチパネル等のポインティングデバイスである。   The input device 17 is a device that inputs various commands to the CPU 10 when operated by an operator. Specifically, the input device 17 is a pointing device such as a keyboard, a mouse, or a touch panel.

以上により、ユーザ端末1は、宛先情報及びテスト実行期間を指定したスケジュール情報を受信すると当該スケジュール情報により指定されたテスト実行期間に当該スケジュール情報により指定された宛先情報を含むリクエストメッセージを送信する端末に、相当する。   As described above, when the user terminal 1 receives the schedule information specifying the destination information and the test execution period, the terminal transmits a request message including the destination information specified by the schedule information during the test execution period specified by the schedule information. It corresponds to.

テスト対象装置2は、ウェブサービスの提供者によって運用されるウェブサーバ装置であり、運用後においては、何れかの端末1から送信されてきたHTTPリクエストメッセージに応じて、当該HTTPリクエストメッセージの内容に応じた各種処理を実行して、その実行結果をメッセージ送信元端末1に応答する。従って、テスト対象装置2は、互いにバスBによって接続されたCPU20,通信装置24,RAM25及びハードディスク21を、ハードウェア構成として有している。   The test target device 2 is a web server device operated by a web service provider. After the operation, the test target device 2 changes the content of the HTTP request message according to the HTTP request message transmitted from any of the terminals 1. Various types of processing are executed, and the execution result is returned to the message transmission source terminal 1. Therefore, the test target device 2 has the CPU 20, the communication device 24, the RAM 25, and the hard disk 21 connected to each other via the bus B as a hardware configuration.

これらのうち、CPU20は、当該テスト対象装置2全体の制御を行う中央処理装置(コンピュータ)である。また、RAM25は、CPU20が各種処理を実行するに際しての作業領域が展開される主記憶装置である。また、通信装置24は、インターネットNとのインタフェースである。   Among these, the CPU 20 is a central processing unit (computer) that controls the entire test target device 2. The RAM 25 is a main storage device in which a work area is expanded when the CPU 20 executes various processes. The communication device 24 is an interface with the Internet N.

ハードディスク21は、CPU20によって読み出されて実行される各種プログラム及び各種データを格納している記憶装置である。   The hard disk 21 is a storage device that stores various programs and various data that are read and executed by the CPU 20.

このハードディスク21が格納してCPU20によってRAM25上に読み出される各種プログラムには、上述した各種処理を実行するためのプログラム(WWWサーバプログラム,及び、幾つかのCGIプログラムないしサーブレット及びバーチャルマシン等のアプリケーションプログラム)が、含まれている。これらプログラムのうち、負荷テスト対象のサービスを提供するためのプログラムがテスト対象システムプログラム22であり、当該テスト対象システムプログラム22を実行しているテスト対象装置2が「テスト対象システム(2,22)」である。さらに、ハードディスク21に格納されている各種プログラムには、負荷テストの実行結果を記録するための負荷受付システムプログラム23が含まれている。当該負荷受付システムプログラム23を実行しているテスト対象装置2が「負荷受付システム(2,23)」である。   The various programs stored in the hard disk 21 and read out to the RAM 25 by the CPU 20 include programs for executing the various processes described above (WWW server programs and some CGI programs or application programs such as servlets and virtual machines). )It is included. Among these programs, the program for providing the load test target service is the test target system program 22, and the test target device 2 executing the test target system program 22 is “test target system (2, 22)”. Is. Further, the various programs stored in the hard disk 21 include a load acceptance system program 23 for recording the execution result of the load test. The test target apparatus 2 executing the load acceptance system program 23 is “load acceptance system (2, 23)”.

テスト管理サーバ3は、テスト対象装置2の運用者に対して負荷テストの代行サービスを提供する業者(以下、「テスト管理者」という)によって運用される負荷テスト管理装置としてのウェブサーバ装置である。従って、テスト管理サーバ3は、互いにバスBによって接続されたCPU30,通信装置34,RAM35及びハードディスク31を、ハードウェア構成として有している。   The test management server 3 is a web server device as a load test management device operated by a provider (hereinafter referred to as “test administrator”) that provides a load test proxy service to the operator of the test target device 2. . Therefore, the test management server 3 has the CPU 30, the communication device 34, the RAM 35, and the hard disk 31 connected to each other via the bus B as a hardware configuration.

これらのうち、CPU30は、当該テスト管理サーバ3全体の制御を行う中央処理装置(コンピュータ)である。また、RAM35は、CPU50が各種処理を実行するに際しての作業領域が展開される主記憶装置である。また、通信装置34は、インターネットNとのインタフェースである。   Among these, the CPU 30 is a central processing unit (computer) that controls the entire test management server 3. The RAM 35 is a main storage device in which a work area is expanded when the CPU 50 executes various processes. The communication device 34 is an interface with the Internet N.

ハードディスク31は、CPU30によって読み出されて実行される各種プログラム及び各種データを格納している記憶装置である。   The hard disk 31 is a storage device that stores various programs and various data that are read and executed by the CPU 30.

ハードディスク31が格納してCPU30によってRAM32上に読み出されて実行される各種プログラムには、上述した負荷テストの代行サービスを実行するためのプログラム(wwwサーバプログラム、及び、幾つかのCGIプログラムないしサーブレット及びバーチャルマシン等のアプリケーションプログラムからなる負荷管理システムプログラム36)が、含まれている。当該負荷管理システムプログラム36を実行しているテスト管理サーバ3が、「負荷管理システム(3,36)」である。また、ハードディスク31が可能している各種データには、テスト負荷登録データベース37,テスト登録者管理データベース38,及び、ユーザデータベース39が、含まれている。   Various programs stored in the hard disk 31 and read out and executed by the CPU 30 on the RAM 32 include a program for executing the above-described load test proxy service (www server program, and some CGI programs or servlets). And a load management system program 36) including an application program such as a virtual machine. The test management server 3 executing the load management system program 36 is “load management system (3, 36)”. The various data that can be stored in the hard disk 31 includes a test load registration database 37, a test registrant management database 38, and a user database 39.

図2に示すように、ユーザデータベース39は、当該テスト管理サーバ3の運用者との間で負荷テストの協力者として登録された各ユーザ毎にその個人情報を登録するレコードを有しており、各レコードは、夫々、一意のユーザID,本名を示す氏名,現在のセッションにおいて用いられたクッキー,IPアドレス(固定アドレス又はレンタルアドレス),及び、インセンティブの給付先に関する情報(例えば、クレジットカード番号,景品交換用若しくは商品割引用のポイント,等)を夫々格納する各フィールドから、構成されている。なお、或るユーザに付与されたクッキー又はIPアドレスが更新されると、当該ユーザに対応したレコードにおけるクッキー及びIPアドレスが、夫々、最新のものに上書きされて更新される。   As shown in FIG. 2, the user database 39 has a record for registering personal information for each user registered as a load test cooperator with the operator of the test management server 3. Each record includes a unique user ID, a name indicating the real name, a cookie used in the current session, an IP address (fixed address or rental address), and information about the incentive recipient (eg, credit card number, Each of the fields stores prize exchange points or product discount points. When a cookie or IP address assigned to a certain user is updated, the cookie and IP address in the record corresponding to the user are updated by being overwritten with the latest one.

図3に示すように、テスト負荷登録データベース37は、テスト対象装置2の運用者によりテスト管理者に対して管理依頼された負荷テスト毎にその詳細情報を登録するレコードを有しており、各レコードは、夫々、負荷テストを一意に識別するための識別情報である「テストID」,負荷テストにおいてテスト対象システム(2,22)に対して掛けるべき「負荷(単位:qps[秒当りのクエリー数])」,当該負荷テストのためにユーザ端末1がリクエストメッセージを送信すべきテスト対象システム(2,22)の宛先情報である「URL」,負荷テストが実行される「テスト実行期間」,テスト協力者に対して当該テストへの参加を募集する「受付期間」,及び,当該負荷テストの実行に必要なユーザ(登録者)数の範囲を示す「登録者数レンジ(参加者数レンジ)」を夫々格納する各フィールドから、構成されている。従って、当該テスト負荷登録データベース37が、各負荷テストにつきその識別情報,リクエストメッセージの宛先情報,テスト実行期間,及び、必要な参加者数レンジが相互に対応付けて登録された第1データベースに、相当する。   As shown in FIG. 3, the test load registration database 37 has a record for registering detailed information for each load test requested to be managed by the test manager 2 by the operator of the test target apparatus 2. Each record includes “test ID” which is identification information for uniquely identifying the load test, and “load (unit: qps [query per second”) to be applied to the test target system (2, 22) in the load test. Number]) ”,“ URL ”which is destination information of the test target system (2, 22) to which the user terminal 1 should send a request message for the load test,“ test execution period ”in which the load test is executed, “Reception period” in which test participants are invited to participate in the test, and the range of the number of users (registrants) required to execute the load test. The record's number range (number of participants range) "from each field to each store, are configured. Accordingly, the test load registration database 37 is registered in the first database in which the identification information, the request message destination information, the test execution period, and the necessary number of participants range are registered in association with each other for each load test. Equivalent to.

なお、テスト対象装置2の運用者のテスト管理者に対する負荷テストの請負契約の申込みは、オンライン又はオフラインでなされる。このようにして負荷テストの請負契約の申込みを行ったテスト対象装置2の運用者を、「テスト依頼者」という。この申込みに際して、テスト依頼者は、上述した情報のうちURL,負荷の値,及びテスト実行期間を特定して、テスト代行者に対して通知する。他方、テストID,受付期間及び登録者数レンジについては、負荷管理システム(3,36)が自働生成する。   The application of the load test contract to the test manager of the operator of the test target apparatus 2 is performed online or offline. The operator of the test target apparatus 2 that has applied for a load test contract in this manner is referred to as a “test requester”. At the time of this application, the test requester specifies the URL, the load value, and the test execution period from the information described above, and notifies the test agent. On the other hand, the load management system (3, 36) automatically generates the test ID, the reception period, and the registrant number range.

図4に示すように、テスト登録者管理データベース38は、テスト管理システム(3,36)が実行する負荷テスト,及び、各テストに参加することが正式に若しくは補欠として認められた各ユーザ(テスト登録者)の組合せに対応したレコードを有しており、各レ
コードは、夫々、負荷テストの識別情報である「テストID」,「負荷」,及び「テスト実行期間」,テスト登録者の個人識別情報である「ユーザID」,並びに、正式に登録を認められたか補欠であるかの「種別」を夫々格納する各フィールドから、構成されている。従って、当該テスト登録者管理データベース38が、参加申込情報を送信した端末に対応した個人識別情報及び同参加申込情報に含まれる負荷テストの識別情報が相互に対応付けて登録された第2データベースに、相当する。
As shown in FIG. 4, the test registrant management database 38 includes a load test executed by the test management system (3, 36) and each user (test that has been officially approved as a substitute for participating in each test). Each record has a record corresponding to “test ID”, “load”, and “test execution period” as identification information of the load test, and individual identification of the test registrant. Each field stores information “user ID” and “type” indicating whether registration is officially approved or supplementary. Accordingly, the test registrant management database 38 stores in the second database in which the personal identification information corresponding to the terminal that transmitted the participation application information and the load test identification information included in the participation application information are registered in association with each other. ,Equivalent to.

さらに、テスト管理者が負荷テストツールバープログラム18のアップデートを行った場合には、当該アップデートをユーザ端末1上の負荷テストツールバープログラム18に反映させるためのアップデート用モジュール33が、テスト管理者によって、ハードディスク31に格納され、ユーザ端末1によるダウンロード要求に備えられる。
<処理フロー>
以下、負荷テストの実行に関して各装置1,2,3が夫々プログラム(負荷テストツールバープログラム18,テスト対象システムプログラム22,負荷受付システムプログラム23,負荷管理システムプログラム36)に従って実行する処理を、図5乃至図10のフローチャートに従って説明する。
[負荷テスト登録時の処理]
図5は、テスト依頼者とテスト管理者との間で個々の負荷テストの代行についての契約(請負契約)が締結された後に負荷管理システム(3,36)が実行する当該負荷テストのテスト負荷登録データベース37への登録処理を示すフローチャートである。
Further, when the test administrator updates the load test toolbar program 18, an update module 33 for reflecting the update on the load test toolbar program 18 on the user terminal 1 is provided by the test administrator on the hard disk. 31 and prepared for a download request by the user terminal 1.
<Processing flow>
Hereinafter, the processing executed by each of the devices 1, 2 and 3 in accordance with the programs (load test toolbar program 18, test target system program 22, load reception system program 23, load management system program 36) in relation to execution of the load test will be described with reference to FIG. The description will be made according to the flowchart of FIG.
[Processing during load test registration]
FIG. 5 shows the test load of the load test executed by the load management system (3, 36) after the contract (contract contract) for the individual load test is concluded between the test requester and the test manager. It is a flowchart which shows the registration process to the registration database 37. FIG.

この処理を開始して最初のS001では、負荷管理システム(3,36)は、テスト依頼者から指定された(入力された,若しくは、受信した)登録対象負荷テストにおけるURL及び負荷の値に基づき、必要な登録者数のレンジを決定する。具体的には、負荷管理システム(3,36)は、上記URLに基づいて、負荷テストにおいて実行される処理タイプを(ア)閲覧系,(イ)検索系,(ウ)登録系の何れかに分類する。そして、負荷管理システム(3,36)は、分類された処理タイプ毎に登録者一人当たりの負荷の下限値及び上限値を決定する。即ち、処理タイプが閲覧系であれば下限値を1qps,上限値を5qpsと決定し、処理タイプが検索系であれば下限値を1qps,上限値を3qpsと決定し、処理タイプが登録系であれば下限値を1qps,上限値を2qpsと決定する。このように処理タイプに依り登録者一人当たりの負荷の範囲を相違させるのは、通信負荷(qps)が同じであっても、処理タイプの相違に依って処理負荷に相違があることに拠る。その上で、負荷管理システム(3,36)は、テスト依頼者から指定された負荷の値を上記登録者一人当たりの負荷の下限値及び上限値により夫々除することにより、必要な登録者数の上限値及び下限値を決定するのである。例えば、指定された負荷の値が50qpsであり、指定されたURLが検索系であった場合、必要な登録者数の下限値は17人であり上限値は50人となるので、必要な登録者数レンジは、17〜50人と決定される。   In the first step S001 after starting this process, the load management system (3, 36) is based on the URL and load value in the registration target load test specified (input or received) from the test requester. Determine the range of required number of registrants. Specifically, the load management system (3, 36) selects one of (a) browsing system, (b) search system, and (c) registration system as the processing type executed in the load test based on the URL. Classify into: Then, the load management system (3, 36) determines a lower limit value and an upper limit value of the load per registrant for each classified processing type. That is, if the processing type is a browsing system, the lower limit value is determined to be 1 qps and the upper limit value is determined to be 5 qps. If the processing type is a search system, the lower limit value is determined to be 1 qps and the upper limit value is determined to be 3 qps. If so, the lower limit is determined to be 1 qps and the upper limit is determined to be 2 qps. The reason for making the load range per registrant different depending on the processing type is based on the difference in processing load depending on the processing type even if the communication load (qps) is the same. After that, the load management system (3, 36) divides the load value designated by the test requester by the lower limit value and the upper limit value of the load per registrant, thereby obtaining the necessary number of registrants. The upper and lower limit values are determined. For example, if the designated load value is 50 qps and the designated URL is a search system, the lower limit value of the required number of registrants is 17 and the upper limit value is 50. The number range is determined to be 17-50.

次のS002では、負荷管理システム(3,36)は、登録対象負荷テストの受付期間を決定する。具体的には、テスト依頼者から受け取った(入力された,若しくは、受信した)テスト実行期間に先立つ所定期間を、受付期間として決定する。   In the next S002, the load management system (3, 36) determines the acceptance period of the registration target load test. Specifically, a predetermined period preceding the test execution period received (inputted or received) from the test requester is determined as the reception period.

次のS003では、負荷管理システム(3,36)は、登録対象負荷テストのテストIDを生成した上で、テスト依頼者から受け取った(入力された,若しくは、受信した)登録対象負荷テストにおける負荷の値,URL,テスト実行期間,並びに、S001にて決定した登録者数レンジ,S002にて決定した受け付け期間を格納した新規レコードを、テスト負荷登録データベース37に追加する。S003を完了すると、負荷管理システム(3,36)は、当該負荷テスト登録時の処理を、全て終了する。
[負荷テストへのユーザの参加登録時の処理]
次に、図6及び図7に示す負荷テストツールバープログラム18に基づくユーザ端末1の処理フローチャートの一部,並びに、図8及び図9に示す負荷管理システム(3,36)の処理フローチャートに基づいて、負荷テストへの協力者(参加者)を公募し、応募してきたユーザを登録者としてテスト登録者管理データベース38に登録するための処理を、説明する。
In the next S003, the load management system (3, 36) generates a test ID of the registration target load test, and then receives the load in the registration target load test received (inputted or received) from the test requester. A new record is stored in the test load registration database 37 in which the value of the URL, the URL, the test execution period, the registrant number range determined in S001, and the acceptance period determined in S002 are stored. When S003 is completed, the load management system (3, 36) ends all the processes at the time of load test registration.
[Process when registering user for load test]
Next, based on part of the processing flowchart of the user terminal 1 based on the load test toolbar program 18 shown in FIGS. 6 and 7, and the processing flowchart of the load management system (3, 36) shown in FIGS. A process for recruiting collaborators (participants) in the load test and registering the user who has applied for registration in the test registrant management database 38 will be described.

図6及び図7に示すように、ツールバープログラム19を実行しているユーザ端末1(CPU10)は、S101〜S105のループ処理を繰り返し実行する。即ち、ユーザ端末1は、S101においてテスト管理サーバ(負荷管理システム)3にアクセスして、新規の情報を要求するHTTPリクエストメッセージ(情報要求メッセージ)を送信する。そして、ユーザ端末1は、S102において、テスト管理サーバ(負荷管理システム)3からアップデート案内情報を受信したか否かをチェックし、受信していなければ、S103において、テスト管理サーバ(負荷管理システム)3から負荷テストの告知情報を受信したか否かをチェックし、受信していなければ、S104において、テスト管理サーバ(負荷管理システム)3から最終確認情報を受信したか否かをチェックし、受信していなければ、S105において、テスト管理サーバ(負荷管理システム)3から起動確認要求を受信したか否かをチェックする。   As shown in FIGS. 6 and 7, the user terminal 1 (CPU 10) executing the toolbar program 19 repeatedly executes the loop processing of S101 to S105. That is, the user terminal 1 accesses the test management server (load management system) 3 in S101 and transmits an HTTP request message (information request message) for requesting new information. Then, the user terminal 1 checks whether or not the update guide information has been received from the test management server (load management system) 3 in S102, and if not, the user terminal 1 receives the test management server (load management system) in S103. 3, whether or not the load test notification information has been received is checked. If not received, in S104, it is checked whether or not the final confirmation information has been received from the test management server (load management system) 3 and received. If not, in S105, it is checked whether an activation confirmation request has been received from the test management server (load management system) 3.

他方、ユーザ端末1からアクセスされて新規情報要求のHTTPリクエストメッセージを受信する毎に、テスト管理サーバ(負荷管理システム)3は、図8及び図9の処理を実行する。そして、テスト管理サーバ(負荷管理システム)3は、スタート後最初のS201において、ハードディスク31にアップデートモジュール33が存在しているかどうかをチェックする。そして、テスト管理サーバ(負荷管理システム)3は、ハードディスク31にアップデートモジュール33が存在していなければ、処理を直ちにS205へ進める。これに対して、アップデートモジュール33が存在している場合には、テスト管理サーバ(負荷管理システム)3は、S202において、アップデート案内情報を格納したレスポンスメッセージを、アクセス元ユーザ端末1へ応答する。その後、テスト管理サーバ(負荷管理システム)3は、S203において、アクセス元ユーザ端末1が、所定時間内にアップデート要求のHTTPリクエストメッセージ(S107)を送信して来るのを、待つ。   On the other hand, the test management server (load management system) 3 executes the processes shown in FIGS. 8 and 9 each time an HTTP request message for a new information request is received from the user terminal 1. Then, the test management server (load management system) 3 checks whether or not the update module 33 exists in the hard disk 31 in the first S201 after the start. Then, if the update module 33 does not exist in the hard disk 31, the test management server (load management system) 3 immediately proceeds to S205. On the other hand, when the update module 33 exists, the test management server (load management system) 3 responds to the access source user terminal 1 with a response message storing the update guide information in S202. Thereafter, in S203, the test management server (load management system) 3 waits for the access source user terminal 1 to transmit an HTTP request message (S107) for an update request within a predetermined time.

図6のS102において、テスト管理サーバ(負荷管理システム)3からアップデート案内情報(S202)を受信したと判断した場合には、ユーザ端末1は、処理をS106へ進める。S106では、ユーザ端末1は、ディスプレイ16上に図13に示すアップデート許可画面を表示して、入力装置17を用いたユーザによる入力内容をチェックする。即ち、当該アップデート許可画面には、アップデートの許可に対応した「YES」ボタン41と「NO」ボタン42とが含まれている。ユーザ端末1は、「YES」ボタン41が入力装置17(ポインティングデバイス)によりクリックされた場合には、アップデートが許可されたと認識して、処理をS107へ進め、「NO」ボタン42がクリックされた場合には、アップデートが拒絶されたと判断して、処理をS108へ進める。S107では、ユーザ端末1は、テスト管理サーバ(負荷管理システム)3に対してアップデート要求のHTTPリクエストメッセージを送信する。   If it is determined in S102 of FIG. 6 that the update guide information (S202) has been received from the test management server (load management system) 3, the user terminal 1 advances the process to S106. In S <b> 106, the user terminal 1 displays the update permission screen shown in FIG. 13 on the display 16 and checks the content input by the user using the input device 17. That is, the update permission screen includes a “YES” button 41 and a “NO” button 42 corresponding to update permission. When the “YES” button 41 is clicked by the input device 17 (pointing device), the user terminal 1 recognizes that the update is permitted, advances the processing to S107, and clicks the “NO” button 42. In this case, it is determined that the update has been rejected, and the process proceeds to S108. In S107, the user terminal 1 transmits an HTTP request message for an update request to the test management server (load management system) 3.

図8のS203において、アクセス元ユーザ端末1からのアップデート要求のHTTPリクエストメッセージ(S107)を受信したと判断した場合には、テスト管理サーバ(負荷管理システム)3は、S204において、ハードディスク31内のアップデート用モジュール33を格納したレスポンスメッセージを、アクセス元ユーザ端末1へ応答する。S204の完了後、テスト管理サーバ(負荷管理システム)3は、処理をS205へ進める。   If it is determined in S203 in FIG. 8 that an HTTP request message (S107) for an update request from the access source user terminal 1 has been received, the test management server (load management system) 3 stores the update request in the hard disk 31 in S204. A response message storing the update module 33 is returned to the access source user terminal 1. After completion of S204, the test management server (load management system) 3 advances the process to S205.

これに対して、アップデートが拒絶された場合には、ユーザ端末1は、図6のS108において、S101の場合と同様にサーバにアクセスし、S109において、S102の場合と同様にアップデート案内情報(S202)を受信したか否かを、チェックする。そして、ユーザ端末は、新たなアップデート案内情報を受信しない限り、処理をS108に戻す。これは、最新のツールバー18を用いたテスト参加のみを許容する趣旨である。そして、新たなアップデート案内情報を受信すると(S109:Yes)、ユーザ端末1は、処理をS106に戻し、新たなアップデートを許可するか否かのチェックを行う。   On the other hand, when the update is rejected, the user terminal 1 accesses the server in S108 of FIG. 6 as in S101, and in S109, the update guide information (S202) as in S102. ) Is received or not. Then, the user terminal returns the process to S108 unless it receives new update guidance information. This is intended to allow only test participation using the latest toolbar 18. When new update guidance information is received (S109: Yes), the user terminal 1 returns the process to S106, and checks whether or not a new update is permitted.

上述のようにしてアップデートが拒絶された場合には、ユーザ端末1からテスト管理サーバ(負荷管理システム)3へアップデート要求(S107)は送信されない。従って、テスト管理サーバ(負荷管理システム)3は、S203において、アップデート要求のHTTPリクエストメッセージが所定時間受信されないことをもって、処理をタイムアウト終了させる。   When the update is rejected as described above, the update request (S107) is not transmitted from the user terminal 1 to the test management server (load management system) 3. Accordingly, in S203, the test management server (load management system) 3 terminates the process with a timeout when an HTTP request message for an update request is not received for a predetermined time.

図8のS205では、テスト管理サーバ(負荷管理システム)3は、テスト負荷登録データベース7を参照して、受付期間に入った負荷テストが存在するか否かをチェックする。そして、未だ受付期間に入った負荷テストが存在しなければ、テスト管理サーバ(負荷管理システム)3は、処理をS215へ進める。これに対して、受付期間に入った負荷テストが一つ以上存在する場合には、テスト管理サーバ(負荷管理システム)3は、S206において、現在受付期間に入っている全負荷テストについて、負荷テスト告知情報を生成し、アクセス元ユーザ端末1へ送信する。即ち、テスト管理サーバ(負荷管理システム)3は、テスト負荷登録データベース37を参照し、現在時刻が受付期間に含まれている全レコードを読み出し、読み出した全レコード中の「テストID」フィールド,「テスト実行期間」フィールド,及び「受付期間」フィールドの値を格納したレスポンスメッセージを、テスト実行期間に先立って、アクセス元ユーザ端末1へ応答する。S206を完了すると、テスト管理サーバ(負荷管理システム)3は、S207において、ユーザ端末1から参加申込みのHTTPリクエストメッセージ(S111)が送信されて来るのを待つ。   In S205 of FIG. 8, the test management server (load management system) 3 refers to the test load registration database 7 and checks whether there is a load test that has entered the acceptance period. If there is no load test that has entered the acceptance period, the test management server (load management system) 3 advances the process to S215. On the other hand, if there is one or more load tests that have entered the acceptance period, the test management server (load management system) 3 performs load tests for all load tests that are currently in the acceptance period in S206. Notification information is generated and transmitted to the access source user terminal 1. That is, the test management server (load management system) 3 refers to the test load registration database 37, reads all records whose current time is included in the reception period, and “test ID” field, “ A response message storing the values of the “test execution period” field and the “acceptance period” field is returned to the access source user terminal 1 prior to the test execution period. When S206 is completed, the test management server (load management system) 3 waits for an HTTP request message (S111) for participation application to be transmitted from the user terminal 1 in S207.

図6のS103において、テスト管理サーバ(負荷管理システム)3から負荷テスト告知情報(S206)を受信したと判断した場合には、ユーザ端末1は、処理をS110へ進める。S110では、ユーザ端末1は、受信した負荷テスト告知情報に基づいて、ディスプレイ16上に、図14に示す負荷テストエントリ画面を表示する。この負荷テストエントリ画面には、各負荷テストに行を対応させ、「テスト」フィールドの値,「受付期間」フィールドの値,「テスト実行期間」フィールドの値,エントリ用のチェックボックス,及び「種別」(但し、当該処理の実行時点では空欄)に各列を夫々対応させた表43と「OK」ボタン44とが、含まれている。即ち、ユーザ端末1は、告知情報をユーザに提示する。そして、ユーザ端末1は、ユーザが入力装置17(ポインティングデバイス)を用いて何れかの負荷テストに対応したチェックボックスにチェックを付した状態で「OK」ボタン44をクリックすると、ユーザが何れかの負荷テストに参加する意思であるとして、処理をS111へ進める。これに対して、何れのチェックボックスにもチェックが付されていない状態で「OK」ボタン44がクリックされた場合,若しく、何ら入力がないまま一定時間が経過した場合には、ユーザ端末1は、ユーザが何れの負荷テストにも参加する意思がないとして、処理をS104へ進める。   If it is determined in S103 of FIG. 6 that the load test notification information (S206) has been received from the test management server (load management system) 3, the user terminal 1 advances the process to S110. In S110, the user terminal 1 displays the load test entry screen shown in FIG. 14 on the display 16 based on the received load test notification information. In this load test entry screen, a line is associated with each load test, the value of the “test” field, the value of the “acceptance period” field, the value of the “test execution period” field, the entry check box, and the “type” ”(However, blank at the time of execution of the processing) includes a table 43 in which each column corresponds to each other and an“ OK ”button 44. That is, the user terminal 1 presents notification information to the user. Then, when the user clicks the “OK” button 44 with the check box corresponding to any load test checked using the input device 17 (pointing device), the user terminal 1 Assuming that the user intends to participate in the load test, the process proceeds to S111. On the other hand, when the “OK” button 44 is clicked in a state where none of the check boxes are checked, the user terminal 1 is in a young state when a certain time elapses without any input. Advances the processing to S104 on the assumption that the user does not intend to participate in any load test.

S111では、ユーザ端末1は、チェックが付された全チェックボックスに対応した各負荷テストのテストIDを格納した参加申込メッセージを、テスト管理サーバ(負荷管理システム)3へ送信する。即ち、ユーザ端末1は、ユーザが入力装置17を用いて特定した負荷テストの識別情報を含む参加申込情報をテスト管理サーバ(負荷管理システム)3へ送信する。その後、ユーザ端末1は、S112において、テスト管理サーバ(負荷管理
システム)3からの応答メッセージ(S214)を待つ。
In S <b> 111, the user terminal 1 transmits a participation application message storing the test IDs of the load tests corresponding to all the checked check boxes to the test management server (load management system) 3. That is, the user terminal 1 transmits participation application information including the load test identification information specified by the user using the input device 17 to the test management server (load management system) 3. Thereafter, the user terminal 1 waits for a response message (S214) from the test management server (load management system) 3 in S112.

図8のS207において、一定時間以上ユーザ端末1からの参加申込メッセージ(S111)が受信されない場合には、テスト管理サーバ(負荷管理システム)3は、タイムアウトにより、処理をS215へ進める。これに対して、一定時間内にユーザ端末1からの参加申込メッセージ(S111)を受信すると、テスト管理サーバ(負荷管理システム)3は、処理をS207からS208へ進める。   In S207 of FIG. 8, when the participation application message (S111) from the user terminal 1 is not received for a certain time or longer, the test management server (load management system) 3 advances the process to S215 due to timeout. On the other hand, when the participation application message (S111) from the user terminal 1 is received within a certain time, the test management server (load management system) 3 advances the process from S207 to S208.

S208では、テスト管理サーバ(負荷管理システム)3は、参加申込メッセージ(S111)に含まれるクッキー又は送信元IPアドレスに基づいてユーザデータベース39を検索して、アクセス元ユーザ端末1を操作しているユーザのユーザIDを読み出す。そして、テスト管理サーバ(負荷管理システム)3は、S207にて受信した参加申込みメッセージに含まれる各テストID毎に、当該テストID,上記ユーザID,当該テストIDに基づきテスト負荷登録データベース37から読み出したテスト実行期間を含む新規レコード(但し、この処理時点では「種別」フィールド,及び「負荷」フィールドは空欄である)を、テスト登録者管理データベース38に格納する。   In S208, the test management server (load management system) 3 searches the user database 39 based on the cookie or transmission source IP address included in the participation application message (S111), and operates the access source user terminal 1. Read the user ID of the user. The test management server (load management system) 3 reads out from the test load registration database 37 based on the test ID, the user ID, and the test ID for each test ID included in the participation application message received in S207. The new record including the test execution period (however, the “type” field and the “load” field are blank at the time of this processing) is stored in the test registrant management database 38.

次のS209では、テスト管理サーバ(負荷管理システム)3は、S208にてテスト登録者管理データベース38に登録した全新規レコード中のテストIDのうちの一つを特定する。   In next S209, the test management server (load management system) 3 specifies one of the test IDs in all new records registered in the test registrant management database 38 in S208.

次のS210では、テスト管理サーバ(負荷管理システム)3は、S209にて特定したテストIDを含む全レコード数(登録者数)が、当該テストIDについてテスト負荷登録データベース37に登録されている登録者数レンジの上限を超えたか否かをチェックする。そして、未だ前者が後者を超えていない場合には、テスト管理サーバ(負荷管理システム)3は、S211において、当該テストIDを含む新規レコード中の「種別」フィールドに、“正式”なる値を登録する。即ち、テスト管理サーバ(負荷管理システム)3は、同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限りで、当該参加申込情報を送信したユーザ端末1に対応した個人識別情報,同参加申込情報に含まれる負荷テストの識別情報,及び、正規登録であることを示す情報を、相互に対応付けて第2データベースに登録する。   In the next S210, the test management server (load management system) 3 registers the total number of records (number of registrants) including the test ID specified in S209 registered in the test load registration database 37 for the test ID. Check whether the upper limit of the number of people has been exceeded. If the former still does not exceed the latter, the test management server (load management system) 3 registers a “official” value in the “type” field in the new record including the test ID in S211. To do. In other words, the test management server (load management system) 3 is configured so long as the number of pieces of participation application information including the same load test identification information does not exceed the upper limit of the participant range corresponding to the load test identification information. The personal identification information corresponding to the user terminal 1 that has transmitted the participation application information, the load test identification information included in the participation application information, and the information indicating that it is regular registration are associated with each other in the second database. sign up.

これに対して、登録者数が上限を超えた場合には、テスト管理サーバ(負荷管理システム)3は、S212において、当該テストIDを含む新規レコード中の「種別」フィールドに、“補欠”なる値を登録する。即ち、テスト管理サーバ(負荷管理システム)3は、同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていると、当該参加申込情報を送信したユーザ端末1に対応した個人識別情報,同参加申込情報に含まれる負荷テストの識別情報,及び、補欠登録であることを示す情報を、相互に対応付けて第2データベースに登録する。   On the other hand, when the number of registrants exceeds the upper limit, the test management server (load management system) 3 becomes “substitute” in the “type” field in the new record including the test ID in S212. Register the value. That is, the test management server (load management system) 3 determines that if the number of pieces of participation application information including identification information of the same load test exceeds the upper limit of the participant range corresponding to the identification information of the load test, The personal identification information corresponding to the user terminal 1 that transmitted the application information, the load test identification information included in the participation application information, and the information indicating that it is an auxiliary registration are registered in the second database in association with each other. To do.

S211又はS212を完了すると、テスト管理サーバ(負荷管理システム)3は、S213において、S208にてテスト登録者管理データベース38に登録した全新規レコード中のテストIDについてS210〜S212の処理を終了したかどうかをチェックする。そして、未だ全新規レコード中のテストIDについてS210〜S212の処理を終了していない場合には、テスト管理サーバ(負荷管理システム)3は、処理をS209へ戻す。これに対して、既に全新規レコード中のテストIDについてS210〜S212の処理を終了した場合には、S214にて、S208にてテスト登録者管理データベース38に登録した全新規レコード中のテストID毎に、S211又はS212にて登録した「種別」フィールドの値を格納した受付応答メッセージを、アクセス元ユーザ端末1へ応答する。S214を完了すると、テスト管理サーバ(負荷管理システム)3は、処理をS2
15へ進める。
Upon completion of S211 or S212, has the test management server (load management system) 3 completed the processing of S210 to S212 for the test IDs in all new records registered in the test registrant management database 38 in S208 in S213? Check if. If the processes in S210 to S212 have not been completed for the test IDs in all new records, the test management server (load management system) 3 returns the process to S209. On the other hand, if the processing of S210 to S212 has already been completed for test IDs in all new records, each test ID in all new records registered in the test registrant management database 38 in S208 in S214. In addition, the reception response message storing the value of the “type” field registered in S211 or S212 is returned to the access source user terminal 1. When S214 is completed, the test management server (load management system) 3 performs the process in S2.
Proceed to step 15.

図6のS112において、テスト管理サーバ(負荷管理システム)3からの受付応答メッセージ(S214)を受信すると、ユーザ端末1は、S113において、S112にて受信した応答メッセージに含まれる各テストIDについての「種別」の値を、負荷エントリ画面(図14)中の表43における「種別」欄に、夫々、表示する。S113を完了すると、ユーザ端末1は、処理をS014へ進める。   In S112 of FIG. 6, upon receiving the acceptance response message (S214) from the test management server (load management system) 3, the user terminal 1 in S113, for each test ID included in the response message received in S112. The value of “type” is displayed in the “type” column of the table 43 in the load entry screen (FIG. 14). When S113 is completed, the user terminal 1 advances the process to S014.

図9のS215では、テスト管理サーバ(負荷管理システム)3は、情報要求メッセージ(S111)に含まれるクッキー又は送信元IPアドレスに基づいてユーザデータベース39を検索して、アクセス元ユーザ端末1を操作しているユーザのユーザIDを読み出す。そして、テスト管理サーバ(負荷管理システム)3は、読み出したユーザIDに対応した全テストIDを、テスト登録者管理データベース38から読み出す。そして、テスト管理サーバ(負荷管理システム)3は、テスト負荷登録データベース37を参照して、読み出した全テストIDに対応した負荷テストのうちに、受付期間を満了した負荷テストが存在するか否かを、チェックする。そして、テスト管理サーバ(負荷管理システム)3は、受付期間を満了した負荷テストが存在しなければ全処理を終了するが、受付期間を満了した負荷テストが一つ以上存在する場合には処理をS216へ進める。   In S215 of FIG. 9, the test management server (load management system) 3 operates the access source user terminal 1 by searching the user database 39 based on the cookie or the transmission source IP address included in the information request message (S111). Read the user ID of the user who Then, the test management server (load management system) 3 reads all test IDs corresponding to the read user ID from the test registrant management database 38. Then, the test management server (load management system) 3 refers to the test load registration database 37 and determines whether there is a load test whose acceptance period has expired among the load tests corresponding to all the read test IDs. Check. The test management server (load management system) 3 ends the entire process if there is no load test whose acceptance period has expired, but performs processing if there is one or more load tests whose acceptance period has expired. Proceed to S216.

S216では、テスト管理サーバ(負荷管理システム)3は、S215にて受付期間を満了したと判定した負荷テストに対応した全テストIDのうちの一つを特定する。   In S216, the test management server (load management system) 3 specifies one of all test IDs corresponding to the load test determined to have completed the acceptance period in S215.

次のS217では、テスト管理サーバ(負荷管理システム)3は、テスト登録者管理データベース38を参照して、S216にて特定されたテストIDを含む全レコード数(登録者数)が当該テストIDについてテスト負荷登録データベース37に登録されている登録者数レンジの下限を満たしているか否かを、チェックする。そして、前者が後者を満たしていれば、テスト管理サーバ(負荷管理システム)3は、S218において、ツールバーの起動時間の最終確認情報,即ち、S216にて特定されたテストIDについてテスト負荷登録データベース37に登録されているテスト実行期間を指定した最終確認情報を、アクセス元ユーザ端末1へ送信する。これに対して、前者が後者を満たしていない場合には、テスト管理サーバ(負荷管理システム)3は、S219において、負荷テスト中止を通告する最終確認情報を、アクセス元ユーザ端末1へ送信する。S218又はS219を完了すると、テスト管理サーバ(負荷管理システム)3は、処理をS220へ進める。   In the next S217, the test management server (load management system) 3 refers to the test registrant management database 38, and the total number of records (number of registrants) including the test ID specified in S216 is related to the test ID. It is checked whether or not the lower limit of the registrant number range registered in the test load registration database 37 is satisfied. If the former satisfies the latter, the test management server (load management system) 3 in S218 confirms the final confirmation information of the activation time of the toolbar, that is, the test load registration database 37 for the test ID specified in S216. The final confirmation information specifying the test execution period registered in is transmitted to the access source user terminal 1. On the other hand, when the former does not satisfy the latter, the test management server (load management system) 3 transmits final confirmation information notifying the termination of the load test to the access source user terminal 1 in S219. When S218 or S219 is completed, the test management server (load management system) 3 advances the process to S220.

S220では、テスト管理サーバ(負荷管理システム)3は、S215にて受付期間を満了したと判定した負荷テストに対応した全テストIDについてS216乃至S219の処理を完了したか否かを、チェックする。そして、未だ全テストIDについてS216乃至S219の処理を完了していなければ、テスト管理サーバ(負荷管理システム)3は、処理をS216に戻す。これに対して、全テストIDについてS216乃至S219の処理を完了した場合には、テスト管理サーバ(負荷管理システム)3は、全処理を終了する。   In S220, the test management server (load management system) 3 checks whether or not the processes in S216 to S219 have been completed for all test IDs corresponding to the load test determined to have completed the acceptance period in S215. If the processes from S216 to S219 have not been completed for all the test IDs, the test management server (load management system) 3 returns the process to S216. On the other hand, when the processes of S216 to S219 are completed for all the test IDs, the test management server (load management system) 3 ends all the processes.

図6のS104において、何れかの最終確認情報(S218,S219)を受信すると、ユーザ端末1は、S114において、受信した最終確認情報の内容(負荷テスト中止の旨及びツールバーの起動時間)を、ツールバー上に表示する。S114を完了すると、ユーザ端末1は、処理をS105へ進める。
[負荷テスト実行時の処理]
次に、図7に示す負荷テストツールバープログラム18に基づくユーザ端末1の処理フローチャートの残部,図10に示す負荷管理システム(3,36)の処理フローチャート,並びに、図11に示す負荷受付システム(2,23)に基づいて、負荷テストを実行す
るための処理を、説明する。
In S104 of FIG. 6, when any final confirmation information (S218, S219) is received, the user terminal 1 displays the contents of the received final confirmation information (load test suspension and toolbar activation time) in S114. Display on the toolbar. When S114 is completed, the user terminal 1 advances the process to S105.
[Process during load test execution]
Next, the rest of the processing flowchart of the user terminal 1 based on the load test toolbar program 18 shown in FIG. 7, the processing flowchart of the load management system (3, 36) shown in FIG. 10, and the load acceptance system (2) shown in FIG. , 23), a process for executing the load test will be described.

図10の処理は、例えば1時間毎というように、周期的に割込みスタートする。そして、スタート後最初のS301において、テスト負荷登録データベース37を参照して、現在実行期間に入っている負荷テストが存在するか否かをチェックする。そして、未だ実行期間に入ったテストがなければ、テスト管理サーバ(負荷管理システム)3は、全処理を終了する。これに対して、実行期間に入ったテストが存在する場合には、テスト管理サーバ(負荷管理システム)3は、S302において、所定の一定期間(例えば10秒)内に情報要求メッセージ(S101)を送信してきた各ユーザ端末1について、情報要求メッセージに含まれるクッキー又は送信元IPアドレスに基づいてユーザデータベース39を検索して、操作しているユーザのユーザIDを読み出す。そして、テスト管理サーバ(負荷管理システム)3は、テスト登録者管理データベース38を参照し、読み出したユーザIDを含むとともに、「種別」の値が“正式”であり、且つ現在テスト実行期間に入っているレコードが存在していれば、アクセス元ユーザ端末1へ起動確認要求メッセージを送信する。   The processing in FIG. 10 is periodically interrupted, for example, every hour. Then, in the first S301 after the start, it is checked with reference to the test load registration database 37 whether there is a load test that is currently in the execution period. If there is no test that has yet entered the execution period, the test management server (load management system) 3 ends all the processes. On the other hand, if there is a test that has entered the execution period, the test management server (load management system) 3 sends an information request message (S101) within a predetermined fixed period (for example, 10 seconds) in S302. For each user terminal 1 that has transmitted, the user database 39 is searched based on the cookie or the source IP address included in the information request message, and the user ID of the operating user is read. Then, the test management server (load management system) 3 refers to the test registrant management database 38 and includes the read user ID, the value of “type” is “official”, and the current test execution period is entered. If there is a record that exists, an activation confirmation request message is transmitted to the access source user terminal 1.

図7のS105において起動確認要求メッセージ(S302)を受信したと判断した場合には、ユーザ端末1は、S115において、応答メッセージを、テスト管理サーバ(負荷管理システム)3へ送信する。その後、ユーザ端末1は、S116において、テスト管理サーバ(負荷管理システム)3からテストスケジュールファイル(S305)を受信するのを待つ。   If it is determined in S105 in FIG. 7 that the activation confirmation request message (S302) has been received, the user terminal 1 transmits a response message to the test management server (load management system) 3 in S115. Thereafter, the user terminal 1 waits for reception of a test schedule file (S305) from the test management server (load management system) 3 in S116.

図10の303において、テスト管理サーバ(負荷管理システム)3は、S302又はS304の完了後所定の一定時間(例えば1秒)内に受信した応答メッセージの累計数が、S301にて実行期間に入ったと判断した負荷テストについてテスト負荷登録データベース37に登録されている登録者数レンジを満たしているか否かをチェックする。即ち、テスト管理サーバ(負荷管理システム)3は、実行期間に至った負荷テストの識別情報に対応した個人識別情報に対応したユーザ端末1が起動しているかどうかを調べる。   In 303 of FIG. 10, the test management server (load management system) 3 indicates that the cumulative number of response messages received within a predetermined time (for example, 1 second) after completion of S302 or S304 enters the execution period in S301. It is checked whether or not the load test determined to satisfy the registrant number range registered in the test load registration database 37. That is, the test management server (load management system) 3 checks whether the user terminal 1 corresponding to the personal identification information corresponding to the identification information of the load test that has reached the execution period is activated.

そして、未だ応答メッセージの累計数が登録者数レンジを満たしていない場合には、テスト管理サーバ(負荷管理システム)3は、S304において、所定の一定期間(例えば1秒)内に情報要求メッセージ(S101)を送信してきた各ユーザ端末1について、情報要求メッセージに含まれるクッキー又は送信元IPアドレスに基づいてユーザデータベース39を検索して、操作しているユーザのユーザIDを読み出す。そして、テスト管理サーバ(負荷管理システム)3は、テスト登録者管理データベース38を参照し、読み出したユーザIDを含むとともに、「種別」の値が“補欠”であり、且つ現在テスト実行期間に入っているレコードが存在していれば、アクセス元ユーザ端末1へ接続確認要求を送信する。S304を完了すると、テスト管理サーバ(負荷管理システム)3は、処理をS303へ戻す。   If the cumulative number of response messages still does not satisfy the registrant number range, the test management server (load management system) 3 in S304 receives an information request message (for example, 1 second) within a predetermined period (for example, 1 second). For each user terminal 1 that has transmitted S101), the user database 39 is searched based on the cookie or the source IP address included in the information request message, and the user ID of the operating user is read. Then, the test management server (load management system) 3 refers to the test registrant management database 38, includes the read user ID, the value of “type” is “substitute”, and enters the current test execution period. If there is an existing record, a connection confirmation request is transmitted to the access source user terminal 1. When S304 is completed, the test management server (load management system) 3 returns the process to S303.

以上のS303及びS304の処理を繰り返した結果、受信した応答メッセージの累計数が必要なレンジを満たしたと判断した場合(S303:Yes)、テスト管理サーバ(負荷管理システム)3は、S305において、当該負荷テストにつきテスト負荷登録データベース37に登録された負荷の値を満たすことができるように、S303にて応答が受信された全ての登録者に対して極力均等に負荷を分配して、分配された各登録者別の負荷の値をテスト登録者管理データベース38に登録する。   As a result of repeating the processes of S303 and S304, when it is determined that the cumulative number of received response messages satisfies the required range (S303: Yes), the test management server (load management system) 3 In order to satisfy the load value registered in the test load registration database 37 for each load test, the load is distributed evenly as much as possible to all the registrants whose responses are received in S303. The load value for each registrant is registered in the test registrant management database 38.

具体的には、テスト管理サーバ(負荷管理システム)3は、当該負荷テストにつきテスト負荷登録データベース37に登録されている負荷の値を登録者数レンジの最大値にて除することにより、当該負荷テストの処理タイプに応じた一人当たりの負荷の下限を算出し
、算出された負荷を、S303にて応答が受信された全ての登録者に割り当てる。次に、当該割当の結果としてテスト負荷登録データベース37に登録された負荷の値に余剰を生じた場合には、所定の順番(例えば、S303にて応答が受信された順番)に従って、各登録者に対して、余剰の負荷から所定単位づつ負荷の値を割り当てる。当該余剰負荷の割当は、剰余の負荷が無くなるまで行われる。
Specifically, the test management server (load management system) 3 divides the load value registered in the test load registration database 37 for the load test by the maximum value of the registrant number range, thereby The lower limit of the load per person corresponding to the test processing type is calculated, and the calculated load is assigned to all registrants whose responses have been received in S303. Next, when a surplus occurs in the load values registered in the test load registration database 37 as a result of the assignment, each registrant is registered in a predetermined order (for example, the order in which responses are received in S303). A load value is assigned in units of a predetermined unit from the surplus load. The surplus load is assigned until there is no surplus load.

例えば、テスト負荷登録データベース37に登録された負荷の値が“50qps”であり、登録者数レンジが“17〜50人”である場合、当該負荷テストの処理種別に応じた一人当たりの負荷の下限は“1qps”となる。従って、剰余の負荷の割当単位を“1qps”とした場合、S303にて応答が受信された登録者数が“50人”であれば剰余負荷を生じないが、当該登録者数が“40人”なら“10qps”の剰余負荷を生じるので、1〜10番目登録者に計“2qps”が割り当てられ、他の30名の登録者には“1qps”のみが割り当てられる。また、登録者数が“25人”なら“25qps”の剰余負荷を生じるので、全員に計“2qps”が割当てられる。また、当該登録者数が“20人”なら“30qps”の剰余負荷を生じるので、その全員に“1qps”づつ剰余負荷を割り当てても未だ“10qps”余り、よって、1〜10番目登録者に対しては2周目の剰余負荷の割当がなされ、結局、1〜10番目登録者に計“3qps”が割り当てられ、他の10名の登録者には“2qps”が割り当てられる。   For example, when the load value registered in the test load registration database 37 is “50 qps” and the registrant number range is “17 to 50 people”, the load per person corresponding to the processing type of the load test is calculated. The lower limit is “1 qps”. Accordingly, when the allocation unit of the surplus load is “1 qps”, the surplus load does not occur if the number of registrants who received the response in S303 is “50”, but the number of registrants is “40”. Therefore, a surplus load of “10 qps” is generated, so that “2 qps” is assigned to the first to tenth registrants, and only “1 qps” is assigned to the other 30 registrants. If the number of registrants is “25 people”, a surplus load of “25 qps” is generated, so that a total of “2 qps” is allotted. Further, if the number of registrants is “20”, a surplus load of “30 qps” is generated. Therefore, even if a surplus load of “1 qps” is assigned to all of them, “10 qps” still remains. On the other hand, the surplus load in the second round is assigned. Eventually, a total of “3 qps” is assigned to the first to tenth registrants, and “2 qps” is assigned to the other ten registrants.

以上の負荷の割当及び登録を行った上で、テスト管理サーバ(負荷管理システム)3は、各登録者が操作するユーザ端末1から受信した応答メッセージ(S115)に対するレスポンスとして、各登録者に割り当てられた負荷の値,テスト実行期間,テスト対象システム(2,22)のURL,並びにテストID及び当該登録者のユーザIDが記述されたテストスケジュールファイル(図15参照)を生成し、これを暗号化して、各登録者が操作するユーザ端末1に個別に送信する。即ち、テスト管理サーバ(負荷管理システム)3は、第2データベースを参照し、正規登録であることを示す情報に対応付けられているとともに負荷テストの識別情報に対応した個人識別情報に対応し且つ起動中のユーザ端末1,及び、かかるユーザ端末1の数が当該負荷テストの識別情報に対応した参加者レンジの下限に不足している場合には、補欠登録であることを示す情報に対応付けられているとともに負荷テストの識別情報に対応した個人識別情報に対応し且つ起動中のユーザ端末1へ、参加申込情報に含まれる負荷テストの識別情報に対応した宛先情報及びテスト実行期間を指定したスケジュール情報を、ユーザ端末1へ送信する。   After performing the above load assignment and registration, the test management server (load management system) 3 assigns each registrant as a response to the response message (S115) received from the user terminal 1 operated by each registrant. A test schedule file (see FIG. 15) in which the load value, test execution period, URL of the test target system (2, 22), test ID, and user ID of the registrant are described is generated and encrypted. And individually transmitted to the user terminal 1 operated by each registrant. That is, the test management server (load management system) 3 refers to the second database, corresponds to the information indicating that the registration is normal, corresponds to the personal identification information corresponding to the load test identification information, and When the number of user terminals 1 being activated and the number of such user terminals 1 are insufficient for the lower limit of the participant range corresponding to the identification information of the load test, the number is associated with information indicating that the registration is substitute Address information corresponding to the load test identification information and corresponding to the personal identification information corresponding to the load test identification information, and specifying the destination information and the test execution period corresponding to the load test identification information included in the participation application information to the active user terminal 1 The schedule information is transmitted to the user terminal 1.

S305を完了すると、テスト管理サーバ(負荷管理システム)3は、全処理を完了する。   When S305 is completed, the test management server (load management system) 3 completes all the processes.

図7のS116においてテストスケジュールファイル(S305)を受信したユーザ端末1は、S117において、S116にて受信したテストスケジュールファイルを復号化する。なお、テストスケジュールファイルは、最新版のツールバープログラムによってのみ復号化できるように暗号化されているので、これを受信したユーザ端末1の操作者は、テスト対象システム(2,22)のURLを盗み見ることができない。よって、公開前のテスト対象システム(2,22)のURLの秘匿性が維持される。   The user terminal 1 that has received the test schedule file (S305) in S116 of FIG. 7 decrypts the test schedule file received in S116 in S117. Since the test schedule file is encrypted so that it can be decrypted only by the latest version of the toolbar program, the operator of the user terminal 1 that has received the test schedule file steals the URL of the test target system (2, 22). I can't. Therefore, the confidentiality of the URL of the test target system (2, 22) before release is maintained.

次のS118では、テスト管理サーバ(負荷管理システム)3は、テストスケジュールファイル中で指定された負荷(qps)に応じた頻度にて、同ファイル中で指定されたURLに対してHTTPリクエストメッセージを送信し続ける。次のS119では、テスト管理サーバ(負荷管理システム)3は、S116にて受信したテストスケジュールファイル中で指定されたテスト実行期間が満了したか否かをチェックする。そして、未だテスト実行期間が満了していなければ、テスト管理サーバ(負荷管理システム)3は、処理をS118へ戻す。これに対して、テスト実行期間が満了した場合,若しくは、入力装置17
を用いたユーザによる操作により負荷テストが強制終了された場合、テスト管理サーバ(負荷管理システム)3は、処理をS120へ進める。S120では、テスト管理サーバ(負荷管理システム)3は、テスト対象装置2からのインセンティブ通知(S405)を待つ。
In next S118, the test management server (load management system) 3 sends an HTTP request message to the URL specified in the file at a frequency corresponding to the load (qps) specified in the test schedule file. Keep sending. In next S119, the test management server (load management system) 3 checks whether or not the test execution period specified in the test schedule file received in S116 has expired. If the test execution period has not yet expired, the test management server (load management system) 3 returns the process to S118. On the other hand, when the test execution period has expired, or the input device 17
When the load test is forcibly terminated by the user's operation using, the test management server (load management system) 3 advances the process to S120. In S120, the test management server (load management system) 3 waits for an incentive notification (S405) from the test target apparatus 2.

テスト対象装置2は、テスト対象システム(2,22)として、図11のS401において、ユーザ端末1から負荷テストの為のHTTPリクエストメッセージ(S118)を受信したか否かをチェックし、何らメッセージを受信していないと、処理をそのままS403へ進め、メッセージを受信していると、S402において、当該メッセージによりリクエストされた処理を実行するとともに受信ログを録った後に、処理をS403へ進める。   As the test target system (2, 22), the test target device 2 checks whether or not the HTTP request message (S118) for the load test is received from the user terminal 1 in S401 in FIG. If not received, the process proceeds directly to S403. If a message is received, the process requested by the message is executed and a reception log is recorded in S402. Then, the process proceeds to S403.

S403では、テスト対象装置2は、負荷受付システム(2,23)として、テスト対象システム(2,22)に対する負荷テストのテスト実行期間が満了したか否かをチェックし、未だテスト実行期間が満了していなければ処理をS401に戻し、テスト実行期間が満了していれば、処理をS404へ進める。   In S403, the test target apparatus 2 checks whether the test execution period of the load test for the test target system (2, 22) has expired as the load receiving system (2, 23), and the test execution period has yet expired. If not, the process returns to S401, and if the test execution period has expired, the process proceeds to S404.

S404では、テスト対象装置2は、負荷受付システム(2,23)として、テスト管理サーバ3との間で通信を行い、テスト登録者管理データベース38にアクセスする。そして、テスト対象装置2は、テスト登録者管理データベース38の内容と受信ログとを照合する。   In S <b> 404, the test target apparatus 2 communicates with the test management server 3 as the load reception system (2, 23) and accesses the test registrant management database 38. Then, the test target device 2 collates the contents of the test registrant management database 38 with the reception log.

次のS405では、テスト対象装置2は、S404での照合の結果として、テスト登録者管理データベース38において予定されていた通りの負荷を送信した登録者に対して、分配された負荷に応じたインセンティブが有る旨の通知を行い、予定されていた通りの負荷を送信しなかった登録者に対して、インセンティブ無しの通知を行う。同時に、テスト対象端末2は、同じ通知をテスト管理サーバ3に対しても行って、インセンティブ有りとした登録者に対するインセンティブの付与を依頼する。S405を完了すると、テスト対象装置2は、全処理を終了する。   In next step S405, the test target apparatus 2 provides an incentive corresponding to the distributed load to the registrant who has transmitted the load as planned in the test registrant management database 38 as a result of the collation in S404. And notify the registrant who has not transmitted the load as planned without incentive. At the same time, the test target terminal 2 sends the same notification to the test management server 3 and requests the registrant who has incentive to give the incentive. When S405 is completed, the test target apparatus 2 ends all the processes.

図7のS120においてテスト対象装置2からインセンティブの通知(S405)を受信すると、ユーザ端末1は、S121において、S120にて受信したインセンティブの通知の内容(有り又は無し,及び、インセンティブが有る場合にはその内容)を、負荷テストツールバー上に表示する。S121を完了すると、ユーザ端末1は、処理をS101に戻す。   When receiving the incentive notification (S405) from the test target apparatus 2 in S120 of FIG. 7, the user terminal 1 in S121, when the content of the incentive notification received in S120 (present or absent, and there is an incentive) Is displayed on the load test toolbar. When S121 is completed, the user terminal 1 returns the process to S101.

以上に説明したように、本実施形態によると、負荷テストツールバープログラム18を自己の所有又は占有にかかるユーザ端末1上で実行させているとともにユーザデータベース39に登録されているユーザであっても、自動的に負荷管理システム36に登録されている全負荷テストに参加を強いられるのではなく、各負荷テストのテスト実行期間を予め認識した上で、これを考慮に容れて、各負荷テストへの参加を主体的に決定することができる(S111)。従って、各ユーザは、自己が参加する負荷テストの実行期間を知ることができるので、負荷テストの実行期間中に、確実に、自己のユーザ端末1及び負荷テストツールバープログラム18を起動させておくことができる。これにより、実際のテスト実行期間内に必要な台数のユーザ端末1が負荷テストに参加する蓋然性が高まるので、負荷テストが不成立になる可能性が減少し、負荷テストの結果についても信頼性が高まる。   As described above, according to the present embodiment, even if the load test toolbar program 18 is executed on the user terminal 1 that is owned or occupied by the user and is registered in the user database 39, Rather than being automatically forced to participate in all load tests registered in the load management system 36, the test execution period of each load test is recognized in advance, and this is taken into consideration and Participation can be determined independently (S111). Accordingly, since each user can know the execution period of the load test in which he / she participates, the user terminal 1 and the load test toolbar program 18 are surely activated during the execution period of the load test. Can do. This increases the probability that the required number of user terminals 1 will participate in the load test within the actual test execution period, thereby reducing the possibility that the load test will be unsuccessful and increasing the reliability of the result of the load test. .

また、本実施形態によると、最新のアップデートがなされた負荷テストツールバープログラム18のみによって負荷テストへの参加が可能になるので(S106〜S109)、負荷テストツールバープログラム18の版数の相違に因る誤動作やテスト対象システム(
2,22)のURLの漏洩を、防止することができる。
In addition, according to the present embodiment, since it is possible to participate in the load test only by the load test toolbar program 18 having the latest update (S106 to S109), it depends on the difference in the version number of the load test toolbar program 18. Malfunction or system under test (
2, 22) URL leakage can be prevented.

また、本実施形態によると、テスト依頼者によって指定された個々の負荷テストに必要な負荷の総量及び処理種別に応じてテスト登録者数レンジが自動的に決定される(S001)。そして、テスト参加希望者の総数が受付期間中にテスト登録者数レンジに至らなければ、負荷テストの結果に信頼性が置くことができないので、当該負荷テストは中止される(S219)。また、テスト参加に応募したユーザは先着順に正式に参加登録されるが、登録者の総数が受付期間中にテスト登録者数レンジの上限を超えると、各参加者に有意な量の負荷を分配することができなくなってしまう,若しくは、全参加者に有意な量の負荷を割り当てようとすると負荷総量が必要量を上回ってしまうので、正式な登録の受付は締め切られる(S210)。もっとも、正式に登録されたユーザがテスト実行期間中にユーザ端末1に主電源を投入して負荷テストツールバープログラム18を起動するかどうかは、ユーザの良心に任されるので、必ずしも、正式に登録された全ユーザがテスト実行期間中にユーザ端末1に主電源を投入して負荷テストツールバープログラム18を起動するとは限らず、実際に負荷テストに参加する登録者数がテスト登録者数レンジを下回ることもありえる。そのため、本実施形態では、正式な参加登録者の受付を締め切った後に参加申し込みをしたユーザは、補欠として登録され(S212)、正式に登録された全ユーザのうちテスト実行期間中にユーザ端末1に主電源を投入して負荷テストツールバープログラム18を起動した者の数がテスト登録者数レンジを下回った場合には、補欠の登録者が繰り上げられて(S304)、負荷テストに必要な数の参加者が確保されるのである(S303)。   Further, according to the present embodiment, the test registrant number range is automatically determined according to the total load and the processing type required for each load test designated by the test requester (S001). If the total number of applicants who want to participate in the test does not reach the test registrant number range during the acceptance period, the load test result is not reliable, and the load test is canceled (S219). In addition, users who apply for test participation are officially registered on a first-come-first-served basis, but if the total number of registrants exceeds the upper limit of the test registrant number range during the acceptance period, a significant amount of load is distributed to each participant. If it becomes impossible to do so, or if it is attempted to assign a significant amount of load to all participants, the total amount of load will exceed the necessary amount, so formal registration acceptance is closed (S210). However, since it is left to the user's conscience whether or not the officially registered user turns on the main power supply to the user terminal 1 and activates the load test toolbar program 18 during the test execution period, it is not necessarily officially registered. Not all the users who have been turned on the main power supply to the user terminal 1 and start the load test toolbar program 18 during the test execution period, the number of registrants actually participating in the load test falls below the test registrant number range. It can happen. Therefore, in this embodiment, the user who applied for participation after closing the acceptance of the official participation registrant is registered as a substitute (S212), and the user terminal 1 during the test execution period among all the officially registered users. If the number of persons who turned on the main power supply and started the load test toolbar program 18 falls below the test registrant number range, the number of registrants is increased (S304), and the number of persons required for the load test is increased. Participants are secured (S303).

このようにして各負荷テストの実行期間においてユーザ端末1に主電源を投入して負荷テストツールバープログラム18を起動したことが確認されたユーザ(正式な登録者及び繰り上げられた補欠の登録者)に対しては、その人数に応じて、負荷が極力均等に分配される(S305)。その結果、様々な通信経路を経てテスト対象装置(テスト対象システム2,22)へ送信されるHTTPリクエストメッセージの量が均等化されるので、特定の通信経路にのみ負荷が集中するという弊害が防止され、よって、実際の負荷の掛かり具合に近似した負荷テストを実施することが可能となる。   In this way, to the users (formal registrants and registrants who have been moved up) confirmed that the main power is turned on to the user terminal 1 and the load test toolbar program 18 is started in the execution period of each load test. On the other hand, the load is distributed as evenly as possible according to the number of people (S305). As a result, the amount of HTTP request messages transmitted to the test target devices (test target systems 2 and 22) via various communication paths is equalized, so that the adverse effect that the load is concentrated only on a specific communication path is prevented. Therefore, it is possible to perform a load test that approximates the actual load condition.

1 ユーザ端末
2 テスト対象装置
3 テスト管理サーバ
10 CPU
11 ハードディスク
14 通信装置
16 ディスプレイ
17 入力装置
18 負荷テストツールバープログラム
20 CPU
21 ハードディスク
22 テスト対象システム
23 負荷受付システム
24 通信装置
30 CPU
31 ハードディスク
34 通信装置
36 負荷管理システム
37 テスト負荷登録データベース
38 テスト登録者管理データベース
39 ユーザデータベース
DESCRIPTION OF SYMBOLS 1 User terminal 2 Test object apparatus 3 Test management server 10 CPU
11 Hard Disk 14 Communication Device 16 Display 17 Input Device 18 Load Test Toolbar Program 20 CPU
21 Hard Disk 22 Test Target System 23 Load Acceptance System 24 Communication Device 30 CPU
31 Hard Disk 34 Communication Device 36 Load Management System 37 Test Load Registration Database 38 Test Registrant Management Database 39 User Database

Claims (6)

ネットワークを通じて端末から受信したリクエストメッセージに応じて所定の処理を実行するウェブシステムに対して端末からリクエストメッセージを自動送信させることにより前記ウェブシステムの動作を試す負荷テストの、管理方法であって、
サーバが、各負荷テストにつきその識別情報,上記リクエストメッセージの宛先情報,テスト実行期間,及び、必要な参加者数レンジが相互に対応付けて登録された第1データベースを参照し、各負荷テストの告知情報を端末へ送信し、
前記負荷テストの告知情報を受信した端末が、当該告知情報を操作者に提示し、当該告知情報によって告知された負荷テストのうち当該操作者が入力装置を用いて特定した負荷テストの識別情報を含む参加申込情報を前記サーバへ送信し、
前記参加申込情報を受信した前記サーバが、前記第1データベースを参照し、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限り、前記識別情報に対応した宛先情報及びテスト実行期間を指定したスケジュール情報を、前記参加申込情報を送信した端末へ送信し、
前記スケジュール情報を受信した端末が、当該スケジュール情報により指定されたテスト実行期間に、当該スケジュール情報により指定された宛先情報を含むリクエストメッセージを送信する
ことを特徴とするウェブシステムに対する負荷テストの管理方法。
A load test management method for testing the operation of a web system by automatically transmitting a request message from a terminal to a web system that executes predetermined processing in response to a request message received from a terminal via a network,
For each load test, the server refers to the first database in which the identification information, the destination information of the request message, the test execution period, and the required number of participants range are registered in association with each other for each load test. Send notification information to the device,
The terminal that has received the load test notification information presents the notification information to the operator, and among the load tests notified by the notification information, the load test identification information specified by the operator using the input device Including participation application information to the server,
The server that has received the participation application information refers to the first database, and the number of participation application information received including the same load test identification information as the participation application information corresponds to the load test identification information. As long as the upper limit of the range is not exceeded, the destination information corresponding to the identification information and the schedule information specifying the test execution period are transmitted to the terminal that transmitted the participation application information,
A load test management method for a web system, wherein a terminal that receives the schedule information transmits a request message including destination information specified by the schedule information during a test execution period specified by the schedule information. .
前記テスト管理サーバは、各負荷テストにつき、前記第1データベースに登録されているテスト実行期間に先立って、前記負荷テストの告知情報を端末へ送信する
ことを特徴とする請求項1記載のウェブシステムに対する負荷テストの管理方法。
2. The web system according to claim 1, wherein the test management server transmits, for each load test, notification information of the load test to a terminal prior to a test execution period registered in the first database. Load test management method for.
前記参加申込情報を受信した前記サーバは、前記第1データベースを参照し、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限り、当該参加申込情報を送信した端末に対応した個人識別情報,及び当該参加申込情報に含まれる負荷テストの識別情報を、相互に対応付けて第2データベースに登録し、前記第1データベースに登録されている各負荷テストの実行期間に至ると、前記第2データベースを参照し、当該負荷テストの識別情報に対応した個人識別情報に対応した端末へ、前記スケジュール情報を送信する
ことを特徴とする請求項2記載のウェブシステムに対する負荷テストの管理方法。
The server that has received the participation application information refers to the first database, and the number of participation application information that includes the same load test identification information as the participation application information corresponds to the load test identification information. Unless the upper limit of the range is exceeded, personal identification information corresponding to the terminal that transmitted the participation application information and load test identification information included in the participation application information are registered in the second database in association with each other. When the execution period of each load test registered in the first database is reached, the schedule information is referred to the terminal corresponding to the personal identification information corresponding to the identification information of the load test with reference to the second database. The load test management method for the web system according to claim 2, wherein transmission is performed.
前記参加申込情報を受信した前記サーバは、前記第1データベースを参照し、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限り、当該参加申込情報を送信した端末に対応した個人識別情報,当該参加申込情報に含まれる負荷テストの識別情報,及び、正規登録であることを示す情報を、相互に対応付けて第2データベースに登録し、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていると、当該参加申込情報を送信した端末に対応した個人識別情報,当該参加申込情報に含まれる負荷テストの識別情報,及び、補欠登録であることを示す情報を、相互に対応付けて第2データベースに登録し、前記第1データベースに登録されている各負荷テストの実行期間に至ると、前記第1データベース及び前記第2データベースを参照し、当該負荷テストの識別情報に対応した個人識別情報に対応した端末が起動しているかどうかを調べ、正規登録であることを示す情報に対応付けられているとともに当該負荷テストの識別情報に対応した個人識別情報に対応し且つ起動中の端末,及び、かかる端末の数が当該負荷テストの識別情報に対応した参加者レンジの下限に不足している場合には、補欠登録であることを示す情報に対応付けられているとともに当該負荷テストの識別情報に対応した個人識別情報に対応し且つ起動中である
少なくとも前記不足の数に相当する数の端末へ、前記スケジュール情報を送信する
ことを特徴とする請求項3記載のウェブシステムに対する負荷テストの管理方法。
The server that has received the participation application information refers to the first database, and the number of participation application information that includes the same load test identification information as the participation application information corresponds to the load test identification information. Unless the upper limit of the range is exceeded, the personal identification information corresponding to the terminal that sent the participation application information, the load test identification information included in the participation application information, and the information indicating that it is regular registration When the number of participation application information received including the same load test identification information as the participation application information exceeds the upper limit of the participant range corresponding to the load test identification information. , Personal identification information corresponding to the terminal that transmitted the participation application information, load test identification information included in the participation application information, and information indicating that the registration is a substitute Are registered in the second database in association with each other, and when the execution period of each load test registered in the first database is reached, the load test is performed by referring to the first database and the second database. Checks whether the terminal corresponding to the personal identification information corresponding to the identification information is activated, corresponds to the information indicating that the registration is normal, and corresponds to the personal identification information corresponding to the identification information of the load test. In addition, when the number of terminals being activated and the number of such terminals are insufficient for the lower limit of the participant range corresponding to the identification information of the load test, they are associated with information indicating that the registration is substitute. To the number of terminals corresponding to the identification information of the load test and corresponding to the identification number of the load test and corresponding to at least the number of shortages being activated. Managing load test for the web system according to claim 3, wherein transmitting the Lumpur information.
前記サーバは、各負荷テストに必要な負荷量に基づいて、前記参加者数レンジを算出する
ことを特徴とする請求項1記載のウェブシステムに対する負荷テストの管理方法。
2. The load test management method for a web system according to claim 1, wherein the server calculates the number range of participants based on a load amount required for each load test.
ネットワークを通じて端末から受信したリクエストメッセージに応じて所定の処理を実行するウェブシステムに対して端末からリクエストメッセージを自動送信させることにより前記ウェブシステムの動作を試す負荷テストの、管理装置であって、
各負荷テストにつきその識別情報,上記リクエストメッセージの宛先情報,テスト実行期間,及び、必要な参加者数レンジが相互に対応付けて登録された第1データベースを記憶した記憶装置と、
ネットワークを通じて、宛先情報及びテスト実行期間を指定したスケジュール情報を受信すると当該スケジュール情報により指定されたテスト実行期間に当該スケジュール情報により指定された宛先情報を含むリクエストメッセージを送信する端末に接続された通信装置と、
前記第1データベースを参照し、各負荷テストの告知情報を生成し、生成した負荷テストの告知情報を前記通信装置を通じて前記端末へ送信し、当該告知情報により告知された負荷テストのうち操作者によって特定された負荷テストの識別情報を含む参加申込情報を前記通信装置を通じて前記端末から受信すると、当該参加申込情報と同じ負荷テストの識別情報を含む参加申込情報の受信数が当該負荷テストの識別情報に対応した参加者レンジの上限を超えていない限り、前記識別情報に対応した宛先情報及びテスト実行期間を指定したスケジュール情報を、前記参加申込情報を送信した端末へ送信する処理装置と
を備えたことを特徴とするウェブシステムに対する負荷テストの管理装置。
A load test management device for testing a web system operation by automatically transmitting a request message from a terminal to a web system that executes predetermined processing in response to a request message received from a terminal through a network,
A storage device storing a first database in which identification information, destination information of the request message, test execution period, and necessary number of participants are registered in association with each other for each load test;
Communication connected to a terminal that transmits a request message including the destination information specified by the schedule information during the test execution period specified by the schedule information when receiving the schedule information specifying the destination information and the test execution period via the network Equipment,
By referring to the first database, generating notification information of each load test, transmitting the generated load test notification information to the terminal through the communication device, and by the operator among the load tests notified by the notification information When the participation application information including the identified load test identification information is received from the terminal through the communication device, the number of received participation application information including the same load test identification information as the participation application information is the identification information of the load test. A processing device that transmits the destination information corresponding to the identification information and the schedule information that specifies the test execution period to the terminal that transmitted the participation application information, unless the upper limit of the participant range corresponding to the A load test management device for a web system.
JP2010192786A 2010-08-30 2010-08-30 Management method and management device of load test for web system Pending JP2012048669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010192786A JP2012048669A (en) 2010-08-30 2010-08-30 Management method and management device of load test for web system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010192786A JP2012048669A (en) 2010-08-30 2010-08-30 Management method and management device of load test for web system

Publications (1)

Publication Number Publication Date
JP2012048669A true JP2012048669A (en) 2012-03-08

Family

ID=45903416

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010192786A Pending JP2012048669A (en) 2010-08-30 2010-08-30 Management method and management device of load test for web system

Country Status (1)

Country Link
JP (1) JP2012048669A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015103079A (en) * 2013-11-26 2015-06-04 富士通株式会社 Test system and test method
CN110083497A (en) * 2019-04-23 2019-08-02 上海华岭集成电路技术股份有限公司 Management system when integrated circuit test device machine

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09138777A (en) * 1995-11-14 1997-05-27 Mitsubishi Electric Corp Network system
JP2000200230A (en) * 1999-01-05 2000-07-18 Hitachi Software Eng Co Ltd Method for measuring performance of client-server system, and client-server system
JP2002007232A (en) * 2000-06-21 2002-01-11 Cybird Co Ltd Performance testing method and server testing device for www server
JP2002132532A (en) * 2000-10-19 2002-05-10 4D Communications Inc Test method of load connection of server and record medium recording program using for the method
JP2003131907A (en) * 2001-10-19 2003-05-09 Toshiba Corp Performance evaluation system for web system, its method and program
JP2005235094A (en) * 2004-02-23 2005-09-02 Hitachi Software Eng Co Ltd Method and device for constructing test environment of web service requester and method and system for supporting test
JP2007264967A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Senario creation program
JP2009026020A (en) * 2007-07-19 2009-02-05 Hitachi Information Systems Ltd Load test system, load test data creation method, and program therefor
JP2010066933A (en) * 2008-09-09 2010-03-25 Fujitsu Ltd Network system, information processor, and system test program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09138777A (en) * 1995-11-14 1997-05-27 Mitsubishi Electric Corp Network system
JP2000200230A (en) * 1999-01-05 2000-07-18 Hitachi Software Eng Co Ltd Method for measuring performance of client-server system, and client-server system
JP2002007232A (en) * 2000-06-21 2002-01-11 Cybird Co Ltd Performance testing method and server testing device for www server
JP2002132532A (en) * 2000-10-19 2002-05-10 4D Communications Inc Test method of load connection of server and record medium recording program using for the method
JP2003131907A (en) * 2001-10-19 2003-05-09 Toshiba Corp Performance evaluation system for web system, its method and program
JP2005235094A (en) * 2004-02-23 2005-09-02 Hitachi Software Eng Co Ltd Method and device for constructing test environment of web service requester and method and system for supporting test
JP2007264967A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Senario creation program
JP2009026020A (en) * 2007-07-19 2009-02-05 Hitachi Information Systems Ltd Load test system, load test data creation method, and program therefor
JP2010066933A (en) * 2008-09-09 2010-03-25 Fujitsu Ltd Network system, information processor, and system test program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015103079A (en) * 2013-11-26 2015-06-04 富士通株式会社 Test system and test method
CN110083497A (en) * 2019-04-23 2019-08-02 上海华岭集成电路技术股份有限公司 Management system when integrated circuit test device machine
CN110083497B (en) * 2019-04-23 2023-01-31 上海华岭集成电路技术股份有限公司 Time management system for integrated circuit test equipment

Similar Documents

Publication Publication Date Title
US8826402B2 (en) Management of an instant message session
CN106458110B (en) System and method for promoting the cooperation between automobile mechanician
JP5201904B2 (en) Distributed user confirmation / profile management system and method
JP3861559B2 (en) Mobile agent control method
US20070083725A1 (en) Software agent-based architecture for data relocation
CN101263483A (en) Sharing a port with multiple processes
CN102449602A (en) System and method for reducing startup cost of a software application
JP2007534076A (en) System and method for chat load management in a network chat environment
JP2006187438A (en) System for hall management
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
US20150195181A1 (en) Testing of dynamic web content applications
CN111260396A (en) Advertisement preloading method and device, electronic equipment and storage medium
CN107633352A (en) The method and apparatus of specification task flow
US20100211674A1 (en) Community generation support system, community generation support method, and community generation support program
CN101594258A (en) The method of real-time processing data, system and equipment in a kind of double-machine standby technology
CN109462574A (en) A kind of billboard control gateway based on block chain
JP2019160062A (en) Business support method for store and server
US8407291B1 (en) System and method for dispensing e-Care
US20080133756A1 (en) Explicit casualty control in a client/server system
US9467521B2 (en) System and computer implemented method of personal monitoring
CN104335239A (en) Social media product reservation
JP2012048669A (en) Management method and management device of load test for web system
JP2012048668A (en) Management method and management device of load test for web system
CN110533503B (en) Data processing method and device
CN104754029B (en) Determine the methods, devices and systems of master management server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130829

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150303