JP5896862B2 - Test apparatus, test method and program - Google Patents

Test apparatus, test method and program Download PDF

Info

Publication number
JP5896862B2
JP5896862B2 JP2012183251A JP2012183251A JP5896862B2 JP 5896862 B2 JP5896862 B2 JP 5896862B2 JP 2012183251 A JP2012183251 A JP 2012183251A JP 2012183251 A JP2012183251 A JP 2012183251A JP 5896862 B2 JP5896862 B2 JP 5896862B2
Authority
JP
Japan
Prior art keywords
request
test
log
requests
indicated
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.)
Expired - Fee Related
Application number
JP2012183251A
Other languages
Japanese (ja)
Other versions
JP2014041463A (en
Inventor
宏明 白木
宏明 白木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012183251A priority Critical patent/JP5896862B2/en
Publication of JP2014041463A publication Critical patent/JP2014041463A/en
Application granted granted Critical
Publication of JP5896862B2 publication Critical patent/JP5896862B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、サーバ装置のテストを行う技術に関する。   The present invention relates to a technique for testing a server device.

従来、サーバ装置(例えば、認証サーバ装置)に対するテスト(例えば、負荷テスト)は、クライアント装置の動作をエミュレートする負荷テストツールを使用して実施する。
テスト要件にあった負荷をかけるために、従来技術では、負荷テストツールの外部からパラメータを与えて、さまざまな負荷テストを実施する(例えば、特許文献1、特許文献2)。
特許文献1では、外部からのパラメータを変化させることでコンピュータシステムにかける負荷を変化させることが示唆されている。
また、特許文献2では、負荷試験において、外部からの条件を入力することで計算機に対して過負荷状態を発生させることが示唆されている。
Conventionally, a test (for example, a load test) for a server device (for example, an authentication server device) is performed using a load test tool that emulates the operation of the client device.
In order to apply a load that meets the test requirements, in the conventional technology, various load tests are performed by providing parameters from the outside of the load test tool (for example, Patent Document 1 and Patent Document 2).
Patent Document 1 suggests changing the load applied to the computer system by changing an external parameter.
Patent Document 2 suggests that in a load test, an overload state is generated for a computer by inputting an external condition.

特開2005−182813号公報Japanese Patent Laid-Open No. 2005-182813 特開2008−234407号公報JP 2008-234407 A

従来の負荷テスト方式では、認証サーバ装置へ送信するリクエスト数に関するパラメータや、リクエストの送信タイミングに関するパラメータを外部から負荷テストツールに与えてテストを行っている。
テスト要件にあった負荷テストを実施するためには、各種パラメータを調整する必要がある。
従来の負荷テスト方式では、テスト実施者の経験や過去の試験実績をもとに、幾度となくテストを繰り返して、適切なパラメータを導き出している。
大規模な負荷テストを実施する際には、実際の負荷を発生させる負荷テストエージェントが多数必要であり、また、負荷テストエージェントを制御する負荷テストコントローラも複数必要となる。
テスト実施者は、負荷テストコントローラごとにパラメータ調整を行うが、パラメータ調整の複雑度は、個々の負荷テストコントローラが制御する負荷テストエージェントの数に比例する(負荷テストエージェントの数、負荷テストコントローラが動作するPC・サーバにより微調整が必要)。
このため、多数の負荷テストエージェント、複数の負荷テストコントローラを用いる大規模な負荷テストでは、パラメータ調整のために多大な時間が費やされる。
In the conventional load test method, a parameter relating to the number of requests to be transmitted to the authentication server device and a parameter relating to the transmission timing of the request are externally given to the load test tool for testing.
In order to perform a load test that meets the test requirements, it is necessary to adjust various parameters.
In the conventional load test method, an appropriate parameter is derived by repeating a test several times based on the experience of the tester and past test results.
When carrying out a large-scale load test, a large number of load test agents that generate an actual load are required, and a plurality of load test controllers that control the load test agents are also required.
The tester performs parameter adjustment for each load test controller, but the complexity of parameter adjustment is proportional to the number of load test agents controlled by each load test controller (the number of load test agents, load test controllers Fine adjustment is required depending on the PC / server in operation.)
For this reason, in a large-scale load test using a large number of load test agents and a plurality of load test controllers, a great amount of time is spent for parameter adjustment.

この発明は上記のような課題を解決することを主な目的としており、パラメータ調整のための時間を短縮することを目的とする。   The main object of the present invention is to solve the above-described problems, and an object thereof is to shorten the time for parameter adjustment.

本発明に係るテスト装置は、
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストをテスト対象サーバ装置に送信させて、前記テスト対象サーバ装置のテストを行うテスト装置であって、
各テストツールのリクエスト送信性能が示される性能情報を記憶する性能情報記憶部と、
クライアント装置から複数のリクエストを受信する稼動中サーバ装置で収集され、前記稼動中サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを入力するログデータ入力部と、
前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約部と、
前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記テスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定するテストパラメータ指定部とを有することを特徴とする。
The test apparatus according to the present invention includes:
A test apparatus for testing the test target server apparatus by transmitting a plurality of requests to the test target server apparatus from a plurality of test tools each emulating a client apparatus,
A performance information storage unit that stores performance information indicating the request transmission performance of each test tool;
Collected by an active server device that receives a plurality of requests from a client device, and the reception history of requests in the active server device is based on a pair of a request classification identifier that is an identifier for classifying a request and a reception time of the request A log data input section for inputting the displayed log data;
Each request classification identifier indicated in the log data is analyzed and classified into one of a plurality of request types, and the number of received requests in the active server device is totaled in units of request types every predetermined unit time. A log aggregating unit for generating log aggregating data indicating the number of requests received in the active server device in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregation data and the request transmission performance of each test tool indicated in the performance information, each test tool is the test target server device as a test parameter. And a test parameter designating unit for designating the request transmission timing and the request transmission timing in units of request types per unit time.

本発明では、実際のリクエスト受信履歴に各テストツールのリクエスト送信性能を照合して、テストツールごとのテストパラメータを生成するため、現実のシステム環境に適合するテストパラメータを短時間で得ることができる。   In the present invention, the request transmission performance of each test tool is collated with the actual request reception history, and the test parameter for each test tool is generated. Therefore, the test parameter suitable for the actual system environment can be obtained in a short time. .

実施の形態1に係る負荷テストコントロールシステムを含むシステム構成例を示す図。1 is a diagram illustrating a system configuration example including a load test control system according to a first embodiment. 実施の形態1に係るリクエスト種別情報の例を示す図。FIG. 4 is a diagram illustrating an example of request type information according to the first embodiment. 実施の形態1に係る負荷モデル情報の例を示す図。FIG. 4 is a diagram showing an example of load model information according to the first embodiment. 実施の形態1に係る負荷パラメータ情報の例を示す図。FIG. 4 is a diagram showing an example of load parameter information according to the first embodiment. 実施の形態1に係るコントローラ情報の例を示す図。FIG. 4 is a diagram illustrating an example of controller information according to the first embodiment. 実施の形態1に係るエージェント情報の例を示す図。FIG. 6 is a diagram showing an example of agent information according to the first embodiment. 実施の形態1に係る負荷モデル生成処理の例を示すフローチャート図。FIG. 3 is a flowchart showing an example of load model generation processing according to the first embodiment. 実施の形態1に係る負荷パラメータ生成処理の例を示すフローチャート図。FIG. 4 is a flowchart showing an example of load parameter generation processing according to the first embodiment. 実施の形態1に係るテストサンプルの例を示す図。FIG. 3 shows an example of a test sample according to the first embodiment. 実施の形態2に係る負荷分散定義テーブルの例を示す図。FIG. 10 is a diagram illustrating an example of a load distribution definition table according to the second embodiment. 実施の形態2に係る負荷モデル生成処理の例を示すフローチャート図。FIG. 9 is a flowchart showing an example of load model generation processing according to the second embodiment. 実施の形態3に係る負荷テストコントロールシステムを含むシステム構成例を示す図。FIG. 10 is a diagram showing a system configuration example including a load test control system according to a third embodiment. 実施の形態3に係るフィードバック調整ポリシー情報の例を示す図。FIG. 10 is a diagram illustrating an example of feedback adjustment policy information according to the third embodiment. 実施の形態3に係るフィードバック調整処理の例を示すフローチャート図。FIG. 10 is a flowchart showing an example of feedback adjustment processing according to the third embodiment. 実施の形態3に係るフィードバック調整処理の概要を示す図。FIG. 10 is a diagram showing an outline of feedback adjustment processing according to the third embodiment. 実施の形態5に係るフィードバック負荷モデル情報の例を示す図。FIG. 10 is a diagram illustrating an example of feedback load model information according to the fifth embodiment. 実施の形態5に係るフィードバック調整ポリシー情報の例を示す図。FIG. 10 is a diagram illustrating an example of feedback adjustment policy information according to the fifth embodiment. 実施の形態5に係る負荷モデル、試行結果、調整結果の関係例を示す図。The figure which shows the relationship example of the load model which concerns on Embodiment 5, a trial result, and an adjustment result. 実施の形態1に係る認証システムリクエストログの例を示す図。The figure which shows the example of the authentication system request log which concerns on Embodiment 1. FIG. 実施の形態1〜6に係るテスト装置のハードウェア構成例を示す図。The figure which shows the hardware structural example of the test apparatus which concerns on Embodiment 1-6.

実施の形態1.
本実施の形態では、大規模な負荷テスト実施の際の負荷テストの調整のための時間を短縮する構成を説明する。
Embodiment 1 FIG.
In the present embodiment, a configuration for shortening the time for adjusting the load test when performing a large-scale load test will be described.

図1は、本実施の形態に係る負荷テストコントロールシステムを含むシステム構成例を示す。   FIG. 1 shows a system configuration example including a load test control system according to the present embodiment.

負荷テストコントロールシステム(1)は、認証システム(6)内の認証サーバ装置(60−1)、(60−2)、(60−3)のテストを行う。
認証サーバ装置(60−1)、(60−2)、(60−3)は、それぞれテスト対象サーバ装置の例に相当する。
認証システム(6)は、業務システムA(7−1)、業務システムB(7−2)の認証・認可機能を統合している。
なお、認証サーバ装置(60−1)、(60−2)、(60−3)のそれぞれを区別する必要がない場合は、単に認証サーバ装置(60)と表記する。
各認証サーバ装置(60)は、クライアント装置から複数種のHTTP(HyperText Transfer Protocol)リクエストを受信し、受信したHTTPリクエストに応じた処理を行う。
図1では、認証システム(6)を構成する認証サーバ装置(60)は3台であるが、構成により、何台でもよい。
また、認証システム(6)を構成する要素として、認証するためのユーザ情報を管理する認証リポジトリ(61)、複数の認証サーバ装置(60)に対してHTTPリクエストの負荷分散を行う負荷分散装置(62)も備えている。
The load test control system (1) tests the authentication server devices (60-1), (60-2), and (60-3) in the authentication system (6).
The authentication server devices (60-1), (60-2), and (60-3) each correspond to an example of a test target server device.
The authentication system (6) integrates the authentication / authorization functions of the business system A (7-1) and the business system B (7-2).
In addition, when it is not necessary to distinguish each of authentication server apparatus (60-1), (60-2), and (60-3), it only describes with the authentication server apparatus (60).
Each authentication server device (60) receives a plurality of types of HTTP (HyperText Transfer Protocol) requests from the client device, and performs processing according to the received HTTP requests.
In FIG. 1, there are three authentication server devices (60) constituting the authentication system (6), but any number may be used depending on the configuration.
Further, as an element constituting the authentication system (6), an authentication repository (61) that manages user information for authentication, and a load distribution device that distributes the load of HTTP requests to a plurality of authentication server devices (60) ( 62).

負荷テストコントロールシステム(1)は、負荷テストコントローラ1(4−1)及び負荷テストコントローラ2(4−2)を有する。
負荷テストコントローラ1(4−1)は、負荷テストエージェント1(5−1)、負荷テストエージェント2(5−2)を制御する。
負荷テストコントローラ2(4−2)は、負荷テストエージェント3(5−3)、負荷テストエージェント4(5−4)を制御する。
負荷テストコントローラ1(4−1)、負荷テストコントローラ2(4−2)は一般的な負荷テストツールのうちテストをコントロールするコンポーネントであり、ここでは、2台であるが、必要に応じて増やすことは可能であり、上限はない。
負荷テストエージェント1(5−1)、負荷テストエージェント2(5−2)、負荷テストエージェント3(5−3)、負荷テストエージェント4(5−4)も負荷テストツールのうち、実際に認証システムにHTTPリクエストの負荷をかけるコンポーネントであり、ここでは、4台であるが、必要に応じて増やすことができる。
負荷テストコントローラ1(4−1)、負荷テストエージェント1(5−1)、負荷テストエージェント2(5−2)は、クライアント装置をエミュレートし、認証サーバ装置(60)にHTTPリクエストを送信する。
負荷テストコントローラ1(4−1)、負荷テストエージェント1(5−1)、負荷テストエージェント2(5−2)で1つのテストツールを構成する。
同様に、負荷テストコントローラ2(4−2)、負荷テストエージェント3(5−3)、負荷テストエージェント4(5−4)も、クライアント装置をエミュレートし、認証サーバ装置(60)にHTTPリクエストを送信する。
負荷テストコントローラ2(4−2)、負荷テストエージェント3(5−3)、負荷テストエージェント4(5−4)で1つのテストツールを構成する。
なお、負荷テストコントローラ1(4−1)及び負荷テストコントローラ2(4−2)を区別する必要がない場合は、単に負荷テストコントローラ(4)と表記する。
同様に、負荷テストエージェント1(5−1)、負荷テストエージェント2(5−2)、負荷テストエージェント3(5−3)、負荷テストエージェント4(5−4)を区別する必要がない場合は、単に、負荷テストエージェント(5)と表記する。
The load test control system (1) includes a load test controller 1 (4-1) and a load test controller 2 (4-2).
The load test controller 1 (4-1) controls the load test agent 1 (5-1) and the load test agent 2 (5-2).
The load test controller 2 (4-2) controls the load test agent 3 (5-3) and the load test agent 4 (5-4).
The load test controller 1 (4-1) and the load test controller 2 (4-2) are components that control the test among general load test tools. Here, the number is two, but increases as necessary. It is possible and there is no upper limit.
The load test agent 1 (5-1), the load test agent 2 (5-2), the load test agent 3 (5-3), and the load test agent 4 (5-4) are also actually authentication systems among the load test tools. In this example, the number of components is four, but can be increased as necessary.
The load test controller 1 (4-1), the load test agent 1 (5-1), and the load test agent 2 (5-2) emulate a client device and transmit an HTTP request to the authentication server device (60). .
The load test controller 1 (4-1), the load test agent 1 (5-1), and the load test agent 2 (5-2) constitute one test tool.
Similarly, the load test controller 2 (4-2), the load test agent 3 (5-3), and the load test agent 4 (5-4) also emulate the client device and send an HTTP request to the authentication server device (60). Send.
The load test controller 2 (4-2), the load test agent 3 (5-3), and the load test agent 4 (5-4) constitute one test tool.
When there is no need to distinguish between the load test controller 1 (4-1) and the load test controller 2 (4-2), they are simply expressed as a load test controller (4).
Similarly, when it is not necessary to distinguish between the load test agent 1 (5-1), the load test agent 2 (5-2), the load test agent 3 (5-3), and the load test agent 4 (5-4) , Simply referred to as load test agent (5).

負荷テストコントロールシステム(1)において、負荷モデル作成部(1−1)は、認証システムリクエストログ(8)を入力する。
また、負荷モデル作成部(1−1)は、入力した認証システムリクエストログ(8)を加工して、負荷モデル情報(3−3)を生成する。
認証システムリクエストログ(8)は、認証システム(6)の各認証サーバ装置(60)で収集されたログデータである。
認証システムリクエストログ(8)は、例えば、図19に例示するデータであり、認証サーバ装置(60)におけるHTTPリクエストの受信履歴がリクエスト受信時刻と各リクエストが対象とするURL(Uniform Resource Locator)との対により示されている。
なお、図19では、図示を省略しているが、認証システムリクエストログ(8)では、各行にHTTPリクエストの送信元のクライアント装置のアドレス情報や中継装置のアドレス情報が含まれていてもよい。
また、図19で示している「認証画面」、「認証要求(I/Dパスワード)」、「ポータル画面」は説明のための記述であり、実際の認証システムリクエストログ(8)に記述されているものではない。
後述するリクエスト種別情報(3−1)(図2)に示されるように、認証システムリクエストログ(8)の各URLは、HTTPリクエストを分類するための識別子でもあり、リクエスト分類識別子の例に相当する。
負荷モデル作成部(1−1)は、認証システムリクエストログ(8)の受信履歴を所定の単位時間(例えば、5分)ごとにリクエスト種別の単位で集計し、単位時間ごとにリクエスト種別の単位で認証サーバ装置(60)におけるリクエスト受信数が表される負荷モデル情報(3−3)を生成する。
生成された負荷モデル情報(3−3)は、負荷テスト制御情報DB(3)で保持される。
負荷モデル情報(3−3)は、図3に例示する情報である。
負荷モデル情報(3−3)の詳細は、後述する。
なお、認証システムリクエストログ(8)はログデータの例に相当し、負荷モデル情報(3−3)はログ集約データの例に相当する。
また、負荷モデル作成部(1−1)はログデータ入力部及びログ集約部の例に相当する。
In the load test control system (1), the load model creation unit (1-1) inputs the authentication system request log (8).
The load model creation unit (1-1) processes the input authentication system request log (8) to generate load model information (3-3).
The authentication system request log (8) is log data collected by each authentication server device (60) of the authentication system (6).
The authentication system request log (8) is, for example, the data illustrated in FIG. 19, and the HTTP request reception history in the authentication server device (60) is the request reception time, the URL (Uniform Resource Locator) targeted by each request, and Is shown by a pair.
Although not shown in FIG. 19, in the authentication system request log (8), each line may include address information of the client device that is the transmission source of the HTTP request and address information of the relay device.
Further, the “authentication screen”, “authentication request (I / D password)”, and “portal screen” shown in FIG. 19 are descriptions for explanation, and are described in the actual authentication system request log (8). It is not.
As shown in request type information (3-1) (FIG. 2) to be described later, each URL of the authentication system request log (8) is also an identifier for classifying an HTTP request, and corresponds to an example of a request classification identifier. To do.
The load model creation unit (1-1) totals the reception history of the authentication system request log (8) in units of request types every predetermined unit time (for example, 5 minutes), and the unit of request types every unit time. Thus, load model information (3-3) representing the number of requests received in the authentication server device (60) is generated.
The generated load model information (3-3) is held in the load test control information DB (3).
The load model information (3-3) is information illustrated in FIG.
Details of the load model information (3-3) will be described later.
The authentication system request log (8) corresponds to an example of log data, and the load model information (3-3) corresponds to an example of log aggregated data.
The load model creation unit (1-1) corresponds to an example of a log data input unit and a log aggregation unit.

なお、本実施の形態では、実際に稼働し、クライアント装置からHTTPリクエストを受信している認証サーバ装置(60)に対して負荷テストを行う場合を想定している。
例えば、新たなソフトウェアがインストールされた認証サーバ装置(60)が想定通りに動作するかを検証するために負荷テストを行う場合を想定している。
このため、本実施の形態では、認証サーバ装置(60)から認証システムリクエストログ(8)を取得することとしている。
しかし、認証システムリクエストログ(8)の取得先は、テスト対象の認証サーバ装置(60)でなくてもよい。
認証サーバ装置(60)と同様の動作をする、稼動中の他のサーバ装置から認証システムリクエストログ(8)を取得するようにしてもよい。
In the present embodiment, it is assumed that a load test is performed on the authentication server device (60) that is actually operating and receiving an HTTP request from the client device.
For example, it is assumed that a load test is performed in order to verify whether the authentication server device (60) in which new software is installed operates as expected.
For this reason, in this embodiment, the authentication system request log (8) is acquired from the authentication server device (60).
However, the acquisition destination of the authentication system request log (8) may not be the test target authentication server device (60).
You may make it acquire an authentication system request log (8) from the other server apparatus in operation which operate | moves similarly to an authentication server apparatus (60).

負荷パラメータ算出部(1−2)は、負荷ツール情報DB(2)からコントローラ情報(2−1)及びエージェント情報(2−2)を取得し、更に、負荷テスト制御情報DB(3)から負荷モデル情報(3−3)を取得して、負荷テストのテストパラメータである負荷パラメータ情報(3−4)を生成する。
コントローラ情報(2−1)は、図5に例示する情報であり、エージェント情報(2−2)は、図6に例示する情報である。
コントローラ情報(2−1)及びエージェント情報(2−2)の詳細は後述するが、コントローラ情報(2−1)及びエージェント情報(2−2)は、テストツール(負荷テストコントローラ(4)、負荷テストエージェント(5))のHTTPリクエスト送信性能を示す情報であり、性能情報の例に相当する。
負荷パラメータ算出部(1−2)は、負荷モデル情報(3−3)に示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、コントローラ情報(2−1)及びエージェント情報(2−2)に示される各テストツールのリクエスト送信性能とに基づき、負荷パラメータ情報(3−4)を生成する。
負荷パラメータ情報(3−4)は、図4に例示する情報である。
負荷パラメータ情報(3−4)の詳細は後述するが、テストパラメータとして、各テストツールが認証サーバ装置(60)に送信するHTTPリクエストの数とHTTPリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定する情報である。
生成された負荷パラメータ情報(3−4)は、負荷テスト制御情報DB(3)で保持される。
なお、負荷パラメータ算出部(1−2)はテストパラメータ指定部の例に相当する。
The load parameter calculation unit (1-2) acquires the controller information (2-1) and the agent information (2-2) from the load tool information DB (2), and further loads from the load test control information DB (3). The model information (3-3) is acquired, and load parameter information (3-4) that is a test parameter of the load test is generated.
The controller information (2-1) is information illustrated in FIG. 5, and the agent information (2-2) is information illustrated in FIG.
Although details of the controller information (2-1) and the agent information (2-2) will be described later, the controller information (2-1) and the agent information (2-2) include a test tool (load test controller (4), load This is information indicating the HTTP request transmission performance of the test agent (5), and corresponds to an example of performance information.
The load parameter calculation unit (1-2) receives the number of requests received in units of request types per unit time indicated in the load model information (3-3), controller information (2-1), and agent information (2-2). The load parameter information (3-4) is generated based on the request transmission performance of each test tool shown in FIG.
The load parameter information (3-4) is information illustrated in FIG.
The details of the load parameter information (3-4) will be described later. As test parameters, the number of HTTP requests transmitted from each test tool to the authentication server device (60) and the transmission timing of the HTTP requests are set for each request type. This information is specified in units.
The generated load parameter information (3-4) is held in the load test control information DB (3).
The load parameter calculation unit (1-2) corresponds to an example of a test parameter designation unit.

負荷テスト実行部(1−3)は、負荷パラメータ情報(3−4)に示されるパラメータに基づいて、負荷テストコントローラ(4)を制御して、認証サーバ装置(60)に対する負荷テストを実行する。   The load test execution unit (1-3) controls the load test controller (4) based on the parameters indicated in the load parameter information (3-4), and executes a load test on the authentication server device (60). .

負荷ツール情報DB(2)は、コントローラ情報(2−1)とエージェント情報(2−2)を記憶している。
負荷ツール情報DB(2)は、性能情報記憶部の例に相当する。
The load tool information DB (2) stores controller information (2-1) and agent information (2-2).
The load tool information DB (2) corresponds to an example of a performance information storage unit.

コントローラ情報(2−1)は、図5に例示する情報である。
コントローラ情報(2−1)では、1つのレコードに1台の負荷テストコントローラ(4)の情報が記述されている。
「負荷テストコントローラNo」の欄には、負荷テストコントローラ(4)の識別番号が記述されている。
「コントローラホスト名」の欄には、負荷テストコントローラ(4)の名称が記述されている。
「エージェント台数」の欄には、負荷テストコントローラ(4)が使用できる負荷テストエージェント(5)の台数が記述されている。
また、「最大ユーザ実行数」の欄は、負荷テストコントローラ(4)が負荷テストエージェント(5)を用いて模擬できる最大のユーザ(クライアント装置)数が記述されている。
「最大ユーザ実行数」は、エージェント台数×1台あたりのユーザ実行数である。
1台あたりのユーザ実行数は、エージェントの動作するホストの性能による。
エージェント情報(2−2)は、図6に例示する情報である。
エージェント情報(2−2)でも、1つのレコードに1台の負荷テストエージェント(5)の情報が記述されている。
「負荷テストコントローラNo」の欄には、負荷テストエージェント(5)を管理する負荷テストコントローラ(4)の識別番号が記述されている。
「ホスト名」の欄には、負荷テストエージェント(5)の名称が記述されている。
「マルチIP」の欄には、負荷テストエージェント(5)が複数のユーザ(クライアント)を模擬することが可能か否かが記述されている。
「IP数」の欄には、負荷テストエージェント(5)が模擬できるユーザ(クライアント装置)数が記述されている。
換言すれば、「IP数」は、エージェントの動作するホストに割り当てたIPアドレスの数である。
「OS」の欄には、負荷テストエージェント(5)が利用するOS(Operating System)の種別が記述されている。
「多重度」の欄には、負荷テストエージェント(5)が同時並行して模擬可能な1秒あたりのユーザ(クライアント装置)数が記述されている。
なお、本実施の形態では、1ユーザ(クライアント装置)につき所定数(例えば、200個)のHTTPリクエストを送信することとしている。
このため、コントローラ情報(2−1)の「最大ユーザ実行数」及びエージェント情報(2−2)の「IP数」、「多重度」は、テストツールにおけるHTTPリクエストの送信性能を表している。
また、コントローラ情報(2−1)及びエージェント情報(2−2)は、負荷モデル作成部(1−1)が認証システムリクエストログ(8)を入力する前から負荷ツール情報DB(2)に存在している。
The controller information (2-1) is information illustrated in FIG.
In the controller information (2-1), information of one load test controller (4) is described in one record.
In the “load test controller No.” column, the identification number of the load test controller (4) is described.
In the “controller host name” column, the name of the load test controller (4) is described.
In the “number of agents” column, the number of load test agents (5) that can be used by the load test controller (4) is described.
The column “maximum number of user executions” describes the maximum number of users (client devices) that the load test controller (4) can simulate using the load test agent (5).
The “maximum number of user executions” is the number of agents × the number of user executions per unit.
The number of user executions per unit depends on the performance of the host on which the agent operates.
Agent information (2-2) is information illustrated in FIG.
Also in the agent information (2-2), information of one load test agent (5) is described in one record.
In the column “load test controller No.”, the identification number of the load test controller (4) managing the load test agent (5) is described.
In the “host name” column, the name of the load test agent (5) is described.
In the “multi-IP” column, it is described whether or not the load test agent (5) can simulate a plurality of users (clients).
In the “number of IPs” column, the number of users (client devices) that can be simulated by the load test agent (5) is described.
In other words, the “number of IPs” is the number of IP addresses assigned to the host on which the agent operates.
In the “OS” column, the type of OS (Operating System) used by the load test agent (5) is described.
In the “multiplicity” column, the number of users (client devices) per second that can be simultaneously simulated by the load test agent (5) is described.
In the present embodiment, a predetermined number (for example, 200) of HTTP requests are transmitted per user (client apparatus).
Therefore, the “maximum number of user executions” in the controller information (2-1) and the “number of IPs” and “multiplicity” in the agent information (2-2) represent the transmission performance of the HTTP request in the test tool.
The controller information (2-1) and agent information (2-2) exist in the load tool information DB (2) before the load model creation unit (1-1) inputs the authentication system request log (8). doing.

負荷テスト制御情報DB(3)は、リクエスト種別情報(3−1)、負荷要件情報(3−2)、負荷モデル情報(3−3)、負荷パラメータ情報(3−4)を記憶している。   The load test control information DB (3) stores request type information (3-1), load requirement information (3-2), load model information (3-3), and load parameter information (3-4). .

リクエスト種別情報(3−1)は、図2に例示する情報であり、各URLを含むHTTPリクエストがどのような目的のリクエストであるかを分類するための情報である。
「リクエスト種別」の欄には、URLが関係しているアプリケーションの種類が示される。
図2の例では、「共通」アプリケーション、「業務」アプリケーション、「認証」アプリケーションが示されている。
負荷モデル作成部(1−1)は、入力した認証システムリクエストログ(8)に示されるURLとリクエスト種別情報(3−1)を照合して、認証システムリクエストログ(8)の各HTTPリクエストがどのリクエスト種別(アプリケーション)を対象としているのかを判断することができる。
例えば、図2の1行目のURLが含まれるHTTPリクエストが認証システムリクエストログ(8)に記述されている場合は、負荷モデル作成部(1−1)は、当該HTTPリクエストが「共通」アプリケーションの実行のためのリクエストであると判断することができる。
リクエスト種別情報(3−1)は、負荷モデル作成部(1−1)が認証システムリクエストログ(8)を入力する前から負荷テスト制御情報DB(3)に存在している。
The request type information (3-1) is information illustrated in FIG. 2, and is information for classifying what kind of request the HTTP request including each URL is.
In the “request type” column, the type of application related to the URL is shown.
In the example of FIG. 2, a “common” application, a “business” application, and an “authentication” application are shown.
The load model creation unit (1-1) collates the URL indicated in the input authentication system request log (8) with the request type information (3-1), and each HTTP request in the authentication system request log (8) It is possible to determine which request type (application) is targeted.
For example, when an HTTP request including the URL in the first line in FIG. 2 is described in the authentication system request log (8), the load model creation unit (1-1) determines that the HTTP request is a “common” application. It can be determined that the request is for execution of.
The request type information (3-1) exists in the load test control information DB (3) before the load model creation unit (1-1) inputs the authentication system request log (8).

負荷要件情報(3−2)には、HTTPリクエスト数、利用ユーザ数、利用端末数(利用IPアドレス数)が記載されている。
HTTPリクエスト数とは、ピークの負荷を継続的に発生させる場合の1秒あたりのHTTPリクエストの数である。
また、利用ユーザ数は、負荷テストで模擬されるユーザ数である。
なお、負荷要件情報(3−2)の図示は省略している。
また、負荷要件情報(3−2)も、負荷モデル作成部(1−1)が認証システムリクエストログ(8)を入力する前から負荷テスト制御情報DB(3)に存在している。
The load requirement information (3-2) describes the number of HTTP requests, the number of used users, and the number of used terminals (number of used IP addresses).
The number of HTTP requests is the number of HTTP requests per second when a peak load is continuously generated.
Further, the number of users used is the number of users simulated by the load test.
Illustration of the load requirement information (3-2) is omitted.
The load requirement information (3-2) is also present in the load test control information DB (3) before the load model creating unit (1-1) inputs the authentication system request log (8).

負荷モデル情報(3−3)は、負荷モデル作成部(1−1)が生成する情報であり、図3に例示する情報である。
「モデル名」の欄には、負荷モデルの種別を一意に決める値が記述される。
「時刻(分)」の欄には、テストの単位時間が記述される。
「モデル名:PEAK」の場合は、1時間(00−60)が単位時間であり、「モデル名:REAL」では、5分(00−05等)が単位時間である
「HTTP数/秒」の欄には、単位時間において認証サーバ装置(60)に送信する毎秒当たりのHTTPリクエストの数が記述される。
「認証(%)」、「共通(%)」及び「業務(%)」は、リクエスト種別情報(3−1)(図2)の「リクエスト種別」に対応しており、「HTTP数/秒」に示すリクエスト数の内訳をパーセンテージで表している。
例えば、図3の2行目では、「HTTP数/秒」100個のうち、「認証」は5%を占め、「共通」は90%を占め、「業務」は5%を占めることが示されている。
The load model information (3-3) is information generated by the load model creation unit (1-1) and is information illustrated in FIG.
In the “model name” column, a value that uniquely determines the type of the load model is described.
In the “time (minutes)” column, the unit time of the test is described.
In the case of “model name: PEAK”, 1 hour (00-60) is a unit time, and in “model name: REAL”, 5 minutes (00-05 etc.) is a unit time. The number of HTTP requests per second transmitted to the authentication server device (60) per unit time is described in the column.
“Authentication (%)”, “Common (%)”, and “Business (%)” correspond to “Request type” in the request type information (3-1) (FIG. 2), and “HTTP count / second”. The breakdown of the number of requests shown in FIG.
For example, in the second line of FIG. 3, among 100 “HTTP counts / second”, “authentication” accounts for 5%, “common” accounts for 90%, and “business” accounts for 5%. Has been.

「モデル名:PEAK」はピークの負荷を継続的に流す負荷モデルである。
すなわち、1時間(00−60分)の間、毎秒5000個のHTTPリクエストを認証サーバ装置(60)に送信するという負荷テストのモデルである。
そして、毎秒5000個のHTTPリクエストのうち0.3%を「認証」についてのHTTPリクエストとし、70%を「共通」についてのHTTPリクエストとし、29.7%を「業務」についてのHTTPリクエストとすることが指定されている。
「モデル名:REAL」は実際に近い負荷モデルである。
すなわち、最初の5分間は毎秒100個のHTTPリクエストを認証サーバ装置(60)に送信し、次の5分間は毎秒500個のHTTPリクエストを認証サーバ装置(60)に送信し、以降も、5分ごとに、対応する「HTTP数/秒」分のHTTPリクエストを認証サーバ装置(60)に送信するという負荷テストのモデルである。
そして、最初の5分間は毎秒100個のHTTPリクエストのうち5%を「認証」についてのHTTPリクエストとし、90%を「共通」についてのHTTPリクエストとし、5%を「業務」についてのHTTPリクエストとし、次の5分間は毎秒500個のHTTPリクエストのうち3%を「認証」についてのHTTPリクエストとし、85%を「共通」についてのHTTPリクエストとし、12%を「業務」についてのHTTPリクエストとし、以降も、5分ごとに、「認証(%)」、「共通(%)」及び「業務(%)」の比率に従うことが指定されている。
「モデル名:REAL」については、負荷モデル作成部(1−1)が認証システムリクエストログ(8)に示される受信履歴を単位時間(5分)ごとに解析し、単位時間ごとにリクエスト受信数を集計して、負荷モデル情報(3−3)の各レコードを生成する。
図3では、認証サーバ装置(60)における総リクエスト受信数が「HTTP数/秒」の欄に記述され、総リクエスト受信数のリクエスト種別ごとの内訳がパーセントにて示されているが、実質的には、リクエスト種別ごとに認証サーバ装置(60)におけるリクエスト受信数を示していると言える。
なお、以下では、「モデル名:REAL」に基づく負荷テストについて主に説明を行う。
“Model name: PEAK” is a load model that continuously flows a peak load.
That is, this is a load test model in which 5000 HTTP requests per second are transmitted to the authentication server device (60) for 1 hour (00-60 minutes).
Of the 5000 HTTP requests per second, 0.3% is an HTTP request for “authentication”, 70% is an HTTP request for “common”, and 29.7% is an HTTP request for “business”. Is specified.
“Model name: REAL” is an actual load model.
That is, 100 HTTP requests per second are sent to the authentication server device (60) for the first 5 minutes, 500 HTTP requests per second are sent to the authentication server device (60) for the next 5 minutes, and 5 This is a load test model in which HTTP requests corresponding to “HTTP count / second” are transmitted to the authentication server device (60) every minute.
For the first 5 minutes, 5% of the 100 HTTP requests per second are HTTP requests for “authentication”, 90% are HTTP requests for “common”, and 5% are HTTP requests for “business”. For the next 5 minutes, 3% of 500 HTTP requests per second are HTTP requests for “authentication”, 85% are HTTP requests for “common”, and 12% are HTTP requests for “business”, Thereafter, it is specified to follow the ratio of “authentication (%)”, “common (%)”, and “business (%)” every 5 minutes.
For “model name: REAL”, the load model creation unit (1-1) analyzes the reception history indicated in the authentication system request log (8) every unit time (5 minutes), and the number of requests received per unit time. And records of the load model information (3-3) are generated.
In FIG. 3, the total number of received requests in the authentication server device (60) is described in the “HTTP count / second” column, and the breakdown of the total number of received requests for each request type is shown as a percentage. Can be said to indicate the number of requests received in the authentication server device (60) for each request type.
In the following, a load test based on “model name: REAL” will be mainly described.

負荷パラメータ情報(3−4)は、負荷パラメータ算出部(1−2)が生成する情報であり、図4に例示する情報である。
「シナリオNo」及び「枝番」は、レコードを一意に定めるためのキーである。
なお、共通の「シナリオNo」が設定されている複数のレコードは、負荷モデル情報(3−3)(図3)内の共通の単位時間のレコードから生成されている。
「シナリオNo:S1」が設定されている4つのレコードは、例えば、負荷モデル情報(3−3)の2行目のレコード(モデル名:REAL、時刻(分):00―05)から生成されている。
「負荷テストコントローラNo」の欄には、各レコードが対象としている負荷テストコントローラ(4)の識別番号が記述される。
図4の例では、負荷テストコントローラ(4)が設置されていることを前提としている。
「ユーザ実行間隔」の欄には、負荷テストエージェント(5)においてユーザの処理を実行する間隔(単位はミリ秒)が記述されている。
つまり、「ユーザ実行間隔」は、負荷テストエージェント(5)がi番目のユーザ(クライアント装置)のリクエスト送信を開始してから、(i+1)番目のユーザのリクエスト送信を開始するまでの間隔であり、HTTPリクエストの送信タイミングが規定されている。
「ユーザ実行数」の欄には、負荷テストコントローラ(4)が該当する単位時間において模擬するユーザ(クライアント装置)数が記述されている。
前述のように、1ユーザが送信するHTTPリクエスト数は決まっているので、「ユーザ実行数」により単位時間内に送信するHTTPリクエストの個数が規定されている。
「エージェントリスト」の欄には、負荷テストコントローラ(4)の配下にある、認証サーバ装置(60)にHTTPリクエストを送信する負荷テストエージェント(5)の識別子(ホスト名)が列挙される。
なお、本実施の形態では、リクエスト種別ごとに、HTTPリクエストの送信を制御する負荷テストコントローラ(4)が決められているものとする。
例えば、リクエスト種別「共通」に分類されるHTTPリクエストの送信を制御するのは、図5の「ctrlhost01」及び「ctrlhost02」、リクエスト種別「業務」に分類されるHTTPリクエストの送信を制御するのは「ctrlhost03」、リクエスト種別「認証」に分類されるHTTPリクエストの送信を制御するのは「ctrlhost04」というように、リクエスト種別ごとに分担が予め決められているものとする。
このため、「ctrlhost01」(負荷テストコントローラNo:1)が対象である1行目のレコードには、リクエスト種別「共通」に分類されるHTTPリクエストの送信数(「ユーザ実行数」)と、送信タイミング(「ユーザ実行間隔」)が記述されている。
2行目以降のレコードにおいても、同様に、対応するリクエスト種別のHTTPリクエストの送信数(「ユーザ実行数」)と、送信タイミング(「ユーザ実行間隔」)が記述されている。
The load parameter information (3-4) is information generated by the load parameter calculation unit (1-2), and is information illustrated in FIG.
“Scenario No” and “branch number” are keys for uniquely defining a record.
The plurality of records in which the common “scenario No” is set are generated from the records of the common unit time in the load model information (3-3) (FIG. 3).
The four records in which “scenario No. S1” is set are generated from, for example, the record (model name: REAL, time (minutes): 00-05) on the second line of the load model information (3-3). ing.
In the “load test controller No.” column, the identification number of the load test controller (4) targeted by each record is described.
In the example of FIG. 4, it is assumed that a load test controller (4) is installed.
In the “user execution interval” column, an interval (unit: millisecond) for executing a user process in the load test agent (5) is described.
That is, the “user execution interval” is an interval from when the load test agent (5) starts request transmission of the i-th user (client device) to when it starts request transmission of the (i + 1) -th user. , The transmission timing of the HTTP request is defined.
In the “user execution number” column, the number of users (client devices) simulated by the load test controller (4) in the corresponding unit time is described.
As described above, since the number of HTTP requests transmitted by one user is determined, the number of HTTP requests transmitted within a unit time is defined by the “user execution number”.
The column “Agent List” lists the identifiers (host names) of the load test agents (5) that send HTTP requests to the authentication server device (60) under the load test controller (4).
In the present embodiment, it is assumed that a load test controller (4) that controls transmission of an HTTP request is determined for each request type.
For example, the transmission of the HTTP request classified into the request type “common” is controlled by the “ctrlhost01” and “ctrlhost02” in FIG. 5 and the transmission of the HTTP request classified into the request type “business”. It is assumed that sharing of HTTP requests classified as “ctrlhost03” and request type “authentication” is determined in advance for each request type, such as “ctrlhost04”.
For this reason, the number of HTTP requests that are classified into the request type “common” (“number of user executions”) and the transmission are included in the first-line record that is targeted for “ctrlhost01” (load test controller No: 1). Timing (“user execution interval”) is described.
Similarly, in the second and subsequent records, the number of transmissions of HTTP requests of the corresponding request type (“user execution number”) and the transmission timing (“user execution interval”) are described.

なお、図1において、破線で囲んだ範囲、すなわち、負荷モデル作成部(1−1)、負荷パラメータ算出部(1−2)及び負荷ツール情報DB(2)がテスト装置の例に相当する。
以降、このテスト装置に言及する際には、「テスト装置100」と表記する。
なお、図1では、テスト装置100を構成する負荷モデル作成部(1−1)、負荷パラメータ算出部(1−2)及び負荷ツール情報DB(2)が、負荷テスト実行部(1−3)、負荷テスト制御情報DB(3)及び負荷テストコントローラ(4)と同じコンピュータに実装されている例を示しているが、負荷モデル作成部(1−1)、負荷パラメータ算出部(1−2)及び負荷ツール情報DB(2)と、負荷テスト実行部(1−3)、負荷テスト制御情報DB(3)及び負荷テストコントローラ(4)とが、別のコンピュータに実装され、相互に通信を行って、以下に示す処理を行うようにしてもよい。
In FIG. 1, a range surrounded by a broken line, that is, a load model creation unit (1-1), a load parameter calculation unit (1-2), and a load tool information DB (2) correspond to an example of a test apparatus.
Hereinafter, when referring to this test apparatus, it is referred to as “test apparatus 100”.
In FIG. 1, the load model creation unit (1-1), the load parameter calculation unit (1-2), and the load tool information DB (2) that configure the test apparatus 100 are included in the load test execution unit (1-3). The load test control information DB (3) and the load test controller (4) are mounted on the same computer, but the load model creation unit (1-1) and the load parameter calculation unit (1-2) are shown. The load tool information DB (2), the load test execution unit (1-3), the load test control information DB (3), and the load test controller (4) are mounted on different computers and communicate with each other. Thus, the following processing may be performed.

次に動作について説明する。
まず、負荷モデル作成部(1−1)による負荷モデル生成の動作について説明する(図7)。
図7では、負荷モデル作成部(1−1)は、認証システムリクエストログ(8)に示されるURLを解析して、HTTPリクエストをリクエスト種別に分類し、単位時間ごとにリクエスト種別の単位で認証サーバ装置(60)におけるリクエスト受信数を集計する。
そして、負荷モデル作成部(1−1)は、単位時間ごとにリクエスト種別の単位で認証サーバ装置(60)におけるリクエスト受信数が示される負荷モデル情報(3−3)(図3)を生成している
Next, the operation will be described.
First, the load model generation operation by the load model creation unit (1-1) will be described (FIG. 7).
In FIG. 7, the load model creation unit (1-1) analyzes the URL indicated in the authentication system request log (8), classifies the HTTP request into request types, and authenticates the request types in units of unit time. The number of requests received in the server device (60) is totaled.
Then, the load model creation unit (1-1) generates load model information (3-3) (FIG. 3) indicating the number of requests received in the authentication server device (60) in units of request types every unit time. ing

負荷モデル作成部(1−1)は、負荷モデルの元とする認証システムリクエストログ(8)を認証システム(6)上の全ての認証サーバ装置(60)から事前に収集しておく(S1)。
次に、負荷モデル作成部(1−1)は、リクエスト種別情報(3−1)(図2)のデータをメモリ上に格納する(S2)。
次に、負荷モデル作成部(1−1)は、認証システムリクエストログ(8)を1つずつ読み込む(S3)。
つまり、複数の認証サーバ装置(60)の認証システムリクエストログ(8)の中から1つの認証サーバ装置(60)の認証システムリクエストログ(8)を読み込む。
次に、負荷モデル作成部(1−1)は、負荷モデル生成のためのパラメータとして、起点時刻(例えば8時)と集計するための時間間隔(例えば5分)をパラメータファイル(図1には不図示)から読み込む(S4)。
パラメータファイルには、例えば、「起点時刻=08:00」、「時間間隔=5」という形式でパラメータが記述されている。
次に、負荷モデル作成部(1−1)は、集計時刻に起点時刻+時間間隔を代入する(S5)。
次に、負荷モデル作成部(1−1)は、リクエストログを1件ずつ読込む(S6)。
負荷モデル作成部(1−1)は、集計時刻とリクエストログの時刻を比較(S7)し、リクエストログの時刻が集計時刻より早い場合にはS9へ進む。
一方、リクエストログの時刻が集計時刻より遅い場合には集計時刻に時間間隔を加算し(S8)、メモリ上の集計テーブルのデータを負荷モデル情報(3−3)に記録(S8−1)して、S10へ進む。
集計テーブルとは、負荷モデル情報(3−3)の各レコードを生成するために、単位時間ごとに、HTTPリクエスト受信数、リクエスト種別の比率を集計するためのテーブルである。
なお、集計テーブルでは、単位時間(5分)でのHTTPリクエスト受信数が集計されるため、負荷モデル情報(3−3)の形式に合わせて、負荷モデル作成部(1−1)は集計テーブル上のHTTPリクエスト受信数を300(秒)で除算して、秒単位のHTTP受信数に変換して、負荷モデル情報(3−3)に記述する。
The load model creation unit (1-1) collects in advance the authentication system request log (8) based on the load model from all the authentication server devices (60) on the authentication system (6) (S1). .
Next, the load model creation unit (1-1) stores the data of the request type information (3-1) (FIG. 2) on the memory (S2).
Next, the load model creation unit (1-1) reads the authentication system request logs (8) one by one (S3).
That is, the authentication system request log (8) of one authentication server device (60) is read from the authentication system request logs (8) of the plurality of authentication server devices (60).
Next, the load model creation unit (1-1) sets a starting time (for example, 8:00) and a time interval (for example, 5 minutes) for aggregation as a parameter for generating the load model as a parameter file (in FIG. 1). (S4).
In the parameter file, for example, parameters are described in a format of “start time = 08: 0” and “time interval = 5”.
Next, the load model creation unit (1-1) substitutes the starting time + time interval for the counting time (S5).
Next, the load model creation unit (1-1) reads request logs one by one (S6).
The load model creation unit (1-1) compares the aggregation time with the request log time (S7), and if the request log time is earlier than the aggregation time, the process proceeds to S9.
On the other hand, if the request log time is later than the total time, the time interval is added to the total time (S8), and the data of the total table in the memory is recorded in the load model information (3-3) (S8-1). Then, the process proceeds to S10.
The tabulation table is a table for tabulating the HTTP request reception count and the request type ratio for each unit time in order to generate each record of the load model information (3-3).
In the aggregation table, since the number of HTTP request receptions per unit time (5 minutes) is aggregated, the load model creation unit (1-1) is configured according to the format of the load model information (3-3). The above HTTP request reception number is divided by 300 (seconds) to be converted into an HTTP reception number per second and described in the load model information (3-3).

S9では、負荷モデル作成部(1−1)は、S6で読み込んだリクエストログのURLをリクエスト種別情報(3−1)と照合して、リクエスト種別を判定し、メモリ上の集計テーブルに集計リクエスト数とリクエスト種別の比率を加算する。   In S9, the load model creation unit (1-1) determines the request type by comparing the URL of the request log read in S6 with the request type information (3-1), and adds the total request to the total table on the memory. Add the number and the request type ratio.

S10では、負荷モデル作成部(1−1)は、リクエストログの最終行まで処理したかを確認し、最終行まで処理していればS11に進み、最終行までの処理が終了していなければS6へ戻り、S6〜S10を繰り返す。
また、負荷モデル作成部(1−1)は、認証システムリクエストログ(8)の全ファイルの処理が終了したかを確認し(S11)、終了していれば、動作を終了する。
In S10, the load model creation unit (1-1) confirms whether or not processing has been performed up to the last line of the request log. If the processing has been performed up to the last line, the process proceeds to S11. Returning to S6, S6 to S10 are repeated.
Further, the load model creation unit (1-1) confirms whether the processing of all the files in the authentication system request log (8) has been completed (S11), and ends the operation if it has been completed.

次に、負荷パラメータ算出部(1−2)が負荷モデル情報(3−3)から負荷パラメータ情報(3−4)を生成し、負荷テスト実行部(1−3)が負荷パラメータ情報(3−4)に基づいてテストを実施する動作について説明する(図8)。   Next, the load parameter calculation unit (1-2) generates load parameter information (3-4) from the load model information (3-3), and the load test execution unit (1-3) receives the load parameter information (3- The operation for performing the test based on 4) will be described (FIG. 8).

まず、負荷パラメータ算出部(1−2)は、算出するモデルを指定(ここでは、現実モデルのため、「REAL」とする)する(S13)。
また、負荷パラメータ算出部(1−2)は、基本情報として、負荷ツール情報DB(2)のコントローラ情報(2−1)、エージェント情報(2−2)を読み込む(S14)。
次に、負荷パラメータ算出部(1−2)は、負荷モデル情報(3−3)のレコードを1レコードずつ読み込む(S15)。
First, the load parameter calculation unit (1-2) designates a model to be calculated (here, “REAL” for a real model) (S13).
Further, the load parameter calculation unit (1-2) reads the controller information (2-1) and the agent information (2-2) of the load tool information DB (2) as basic information (S14).
Next, the load parameter calculation unit (1-2) reads the records of the load model information (3-3) one record at a time (S15).

次に、負荷パラメータ算出部(1−2)は、S15で読み込んだレコードに記載のHTTPリクエスト数とコントローラごとの最大ユーザ実行数から必要なコントローラ台数を算出する(S16)。
この処理は、リクエスト種別ごとに行われる。
つまり、S15で読み込んだレコードに記載の「HTTP数/秒」にリクエスト種別ごとのパーセンテージ(「共通(%)」等)を乗算し、リクエスト種別ごとの「HTTP数/秒」と、当該リクエスト種別に対応する負荷テストコントローラ(4)の最大ユーザ実行数(図5)とを照合する。
例えば、「HTTP数/秒」が1台の負荷テストエージェント(5)の最大ユーザ実行数の範囲内であれば、必要なコントローラ台数は1台である。
また、「HTTP数/秒」が1台の負荷テストエージェント(5)の最大ユーザ実行数ではカバーできない場合は、「HTTP数/秒」の残数が2台目の負荷テストエージェント(5)の最大ユーザ実行数の範囲内であれば、必要なコントローラ台数は2台である。
このようにして、負荷パラメータ算出部(1−2)は、リクエスト種別ごとに、必要なコントローラ台数を算出する。
Next, the load parameter calculation unit (1-2) calculates the required number of controllers from the number of HTTP requests described in the record read in S15 and the maximum number of user executions for each controller (S16).
This process is performed for each request type.
That is, “HTTP count / second” described in the record read in S15 is multiplied by a percentage for each request type (such as “common (%)”) to obtain “HTTP count / second” for each request type and the request type. Is compared with the maximum number of user executions (FIG. 5) of the load test controller (4) corresponding to.
For example, if “HTTP number / second” is within the range of the maximum number of user executions of one load test agent (5), the number of necessary controllers is one.
In addition, when the “HTTP count / second” cannot be covered by the maximum number of user executions of one load test agent (5), the remaining number of “HTTP count / second” is the second load test agent (5). If it is within the range of the maximum number of user executions, two controllers are required.
In this way, the load parameter calculation unit (1-2) calculates the required number of controllers for each request type.

次に、負荷パラメータ算出部(1−2)は、1秒当たり、1コントローラあたりの実行ユーザ数を、「リクエスト数÷必要コントローラ台数」で算出する(S17)。
この処理も、リクエスト種別ごとに行われる。
つまり、S16で求めたリクエスト種別ごとの「HTTP数/秒」を、S16で求めた当該リクエスト種別の「必要なコントローラ台数」で除算して、1秒当たり、1コントローラあたりの実行ユーザ数を求める。
Next, the load parameter calculation unit (1-2) calculates the number of execution users per controller per second by “number of requests ÷ number of required controllers” (S17).
This process is also performed for each request type.
That is, the “number of HTTPs / second” for each request type obtained in S16 is divided by the “necessary number of controllers” for the request type obtained in S16 to obtain the number of execution users per controller per second. .

次に、負荷パラメータ算出部(1−2)は、1テストあたりの必要時間を、「(1テストあたりのリクエスト数)×(1秒当たり、1コントローラあたりの実行ユーザ数)÷(リクエスト数)」で算出する(S18)。
この処理も、リクエスト種別ごとに行われる。
上式の「1テスト当たりのリクエスト数」は、予め指定されており、例えば、200個である。
上式の「1秒当たり、1コントローラあたりの実行ユーザ数」は、S17で求めた値である。
上式の「リクエスト数」は、S16で求めた、リクエスト種別ごとの「HTTP数/秒」である。
Next, the load parameter calculation unit (1-2) calculates the necessary time per test as “(number of requests per test) × (number of execution users per controller per second) ÷ (number of requests)”. (S18).
This process is also performed for each request type.
The “number of requests per test” in the above formula is specified in advance, and is, for example, 200.
“The number of execution users per controller per second” in the above equation is the value obtained in S17.
The “number of requests” in the above equation is “number of HTTPs / second” for each request type obtained in S16.

次に、負荷パラメータ算出部(1−2)は、ユーザの実行間隔を、「(1テストあたりの必要時間)÷(エージェント1台あたりの多重度)」で算出する(S19)。
この処理は、負荷テストコントローラ(4)ごとに行われる。
上式の「1テストあたりの必要時間」は、S18で求めた値である。
上式の「エージェント1台あたりの多重度」は、エージェント情報(2−2)(図6)の「多重度」の値の平均値である。
例えば、「ctrlhost01」(負荷テストコントローラNo:1)について計算では、「ctrlhost01」の配下の負荷テストエージェント(5)である「host001」、「host002」、「host003」等における平均の多重度である。
Next, the load parameter calculation unit (1-2) calculates the execution interval of the user by “(required time per test) ÷ (multiplicity per agent)” (S19).
This process is performed for each load test controller (4).
The “required time per test” in the above equation is the value obtained in S18.
The “multiplicity per agent” in the above equation is an average value of the “multiplicity” values in the agent information (2-2) (FIG. 6).
For example, in the calculation for “ctrlhost01” (load test controller No: 1), the average multiplicity of “host001”, “host002”, “host003”, etc., which are the load test agents (5) under “ctrlhost01”. .

次に、負荷パラメータ算出部(1−2)は、算出したパラメータを、負荷テストコントローラ(4)ごとに負荷パラメータ情報(3−4)に書き込む(S20)。
具体的には、S19で算出した「ユーザ実行間隔」の値を、負荷パラメータ情報(3−4)の「ユーザ実行間隔」の欄に、S17で算出した「1秒当たり、1コントローラあたりの実行ユーザ数」の値を、負荷パラメータ情報(3−4)の「ユーザ実行数」の欄に書き込む。
更に、図6のエージェント情報(2−2)から、負荷テストコントローラ(4)が制御する負荷テストエージェント(5)のホスト名を抽出して、負荷パラメータ情報(3−4)の「エージェントリスト」の欄に書き込む。
Next, the load parameter calculation unit (1-2) writes the calculated parameter in the load parameter information (3-4) for each load test controller (4) (S20).
Specifically, the value of “user execution interval” calculated in S19 is stored in the “user execution interval” column of the load parameter information (3-4), “execution per controller per second calculated in S17”. The value of “number of users” is written in the “number of executed users” column of the load parameter information (3-4).
Further, the host name of the load test agent (5) controlled by the load test controller (4) is extracted from the agent information (2-2) of FIG. 6, and the “agent list” of the load parameter information (3-4) is extracted. Write in the field.

次に、負荷パラメータ算出部(1−2)は、負荷モデル情報(3−3)の全てのレコードを処理したか否かを確認し(S21)、全てのレコードを処理していればS22へ進み、処理していないレコードが残っていればS15へ戻り、次のレコード(次の単位時間)に対してS15〜S21を繰り返す。   Next, the load parameter calculation unit (1-2) checks whether or not all records of the load model information (3-3) have been processed (S21). If all records have been processed, the process proceeds to S22. If there is an unprocessed record, the process returns to S15, and S15 to S21 are repeated for the next record (next unit time).

次に、負荷テスト実行部(1−3)が、負荷パラメータ情報(3−4)を負荷テストツールの各負荷テストコントローラ(4)用のシナリオに変換する。
具体的には、負荷テスト実行部(1−3)が負荷パラメータ情報(3−4)のレコードを読込む(S22)。
次に、負荷テスト実行部(1−3)は、起動時刻から起動遅延時間を算出し、各負荷テストコントローラ(4)に負荷パラメータ情報(3−4)の「ユーザ実行間隔」の値、「ユーザ実行数」の値、「エージェントリスト」の値を負荷テストの実行シナリオとして書き込む(S23)。
例えば、「ctrlhost01」(負荷テストコントローラNo:1)に対しては、負荷パラメータ情報(3−4)(図4)の1行目の「ユーザ実行間隔」の値(150)、「ユーザ実行数」の値(1400)、「エージェントリスト」の値(host001,...)、5行目の「ユーザ実行間隔」の値(200)、「ユーザ実行数」の値(1000)、「エージェントリスト」の値(host001,...)等を書き込む。
その後、負荷テスト実行部(1−3)は、負荷パラメータ情報(3−4)の全てのレコードを処理したか否かを確認し(S24)、全てのレコードを処理していればS25へ進み、処理していないレコードが残っていればS22へ戻る。
負荷パラメータ情報(3−4)の全てのレコードを処理していれば、負荷テスト実行部(1−3)は、各負荷テストコントローラ(4)に負荷テストの実行を指示する(S25)。
そして、負荷テスト実行部(1−3)は、負荷テストの完了を待ち(S26)、テストが完了すると動作を終了する。
なお、負荷テストにおいては、各負荷テストエージェント(5)から図9の各URLが記述されたHTTPリクエストが送信される。
HTTPリクエストを送信する際に設定されたIP数や利用ユーザ数に応じてIPアドレスを模擬する。
また、図9で示している「認証画面」、「認証要求(I/Dパスワード)」、「ポータル画面」は説明のための記述であり、実際の負荷テストにおいてこのような記述がなされているわけではない。
Next, the load test execution unit (1-3) converts the load parameter information (3-4) into a scenario for each load test controller (4) of the load test tool.
Specifically, the load test execution unit (1-3) reads the record of the load parameter information (3-4) (S22).
Next, the load test execution unit (1-3) calculates the activation delay time from the activation time, and assigns the value of “user execution interval” of the load parameter information (3-4) to each load test controller (4), “ The values of “user execution count” and “agent list” are written as load test execution scenarios (S23).
For example, for “ctrlhost01” (load test controller No: 1), the value (150) of “user execution interval” on the first line of the load parameter information (3-4) (FIG. 4), “number of user executions” Value (1400), “agent list” value (host001,...), “User execution interval” value (200), “user execution count” value (1000), “agent list” on the fifth line ”(Host 001,...) And the like are written.
Thereafter, the load test execution unit (1-3) checks whether or not all the records of the load parameter information (3-4) have been processed (S24). If all the records have been processed, the process proceeds to S25. If there are unprocessed records, the process returns to S22.
If all records of the load parameter information (3-4) have been processed, the load test execution unit (1-3) instructs each load test controller (4) to execute the load test (S25).
Then, the load test execution unit (1-3) waits for completion of the load test (S26), and ends the operation when the test is completed.
In the load test, an HTTP request describing each URL in FIG. 9 is transmitted from each load test agent (5).
An IP address is simulated in accordance with the number of IPs and the number of users set when transmitting an HTTP request.
Further, the “authentication screen”, “authentication request (I / D password)”, and “portal screen” shown in FIG. 9 are descriptions for explanation, and such descriptions are made in an actual load test. Do not mean.

以上のように、本実施の形態では、負荷モデルの自動生成および負荷パラメータを自動算出するようにしているので、負荷テスト実施期間を短縮できる効果がある。
また、算出結果を記録しておくことが可能であるため、類似の負荷要件に対するパラメータ算出の短縮や負荷を掛けるパターンごとに負荷モデルを定義することができることでも負荷テストの時間短縮の効果がある。
As described above, according to the present embodiment, since load models are automatically generated and load parameters are automatically calculated, the load test execution period can be shortened.
In addition, since the calculation results can be recorded, it is possible to shorten the parameter calculation for similar load requirements and to define a load model for each pattern to which the load is applied. .

以上、本実施の形態では、
実環境の認証システムのログを元に、負荷モデルを生成する負荷モデル作成部と生成した負荷モデルと負荷ツール構成情報を合わせて負荷ツール実行パラメータを自動的に算出するための負荷パラメータ算出ツール、負荷ツールを制御・実行するための負荷テスト実行部を備える負荷テストコントロール方式を説明した。
As described above, in the present embodiment,
Load parameter calculation tool for automatically calculating load tool execution parameters by combining the generated load model and load tool configuration information based on the log of the real environment authentication system, A load test control method including a load test execution unit for controlling and executing a load tool has been described.

実施の形態2.
以上の実施の形態1では、認証システムに対するHTTPリクエスト負荷を掛けるためのモデルを実環境の全てのログから生成するようにしたものであるが、次に全サーバのログから生成すると非常に時間がかかってしまう場合に対して、1つの認証サーバ装置のログから負荷モデルを生成する実施の形態を示す。
すなわち、本実施の形態では、負荷モデル作成部(1−1)は、認証システム(6)内の全ての認証サーバ装置(60)の認証システムリクエストログ(8)から負荷モデル情報(3−3)を生成するのではなく、代表の認証サーバ装置(60)の認証システムリクエストログ(8)に基づいて、全ての認証サーバ装置(60)におけるHTTPリクエストの受信数の推定値を導出し、導出した推定値から負荷モデル情報(3−3)を生成する。
Embodiment 2. FIG.
In the first embodiment described above, a model for applying an HTTP request load on the authentication system is generated from all logs in the real environment. In this case, an embodiment in which a load model is generated from a log of one authentication server device will be described.
That is, in the present embodiment, the load model creation unit (1-1) reads the load model information (3-3) from the authentication system request log (8) of all the authentication server devices (60) in the authentication system (6). ), But based on the authentication system request log (8) of the representative authentication server device (60), the estimated number of received HTTP requests in all the authentication server devices (60) is derived and derived. Load model information (3-3) is generated from the estimated value.

本実施の形態に係るシステム構成は、図1と同様である。
図1に示す負荷分散装置(62)は図10に示す負荷分散定義テーブルにて各認証サーバ装置(60−1)(60−2)(60−3)にHTTPリクエストを割り振る割合を管理し、各認証サーバ装置(60−1)(60−2)(60−3)にHTTPリクエストを割り振り、認証サーバ装置への負荷を均等にする。
図10に示す負荷分散定義テーブルでは、割合は全て積算すると1になるように定義されているものとする。
The system configuration according to the present embodiment is the same as that shown in FIG.
The load balancer (62) shown in FIG. 1 manages the ratio of allocating HTTP requests to the authentication server devices (60-1) (60-2) (60-3) in the load balance definition table shown in FIG. An HTTP request is allocated to each authentication server device (60-1) (60-2) (60-3), and the load on the authentication server device is equalized.
In the load distribution definition table shown in FIG. 10, it is assumed that all ratios are defined to be 1 when integrated.

図11は、本実施の形態に係る動作のフローを示した図である。
以下では、実施の形態1との違いについて述べる。
FIG. 11 is a diagram showing a flow of operations according to the present embodiment.
Hereinafter, differences from the first embodiment will be described.

負荷モデル作成部(1−1)は、あらかじめ認証システムリクエストログ(8)を読み込む代表の認証サーバ装置(60)を決めておき、また、負荷分散定義テーブル(図10)を記録しておく。
そして、負荷モデル作成部(1−1)は、代表の認証サーバ装置(60)の認証システムリクエストログ(8)を入力し、実施の形態1と同様に、入力した認証システムリクエストログ(8)におけるリクエスト数を単位時間ごとに集計し、また、リクエスト種別ごとの比率も集計し、集計結果を集計テーブルに書き込む。
集計テーブルからリクエスト数を負荷モデル情報(3−3)に記録する際に、負荷モデル作成部(1−1)は、集計テーブル上のリクエスト数を図10の分散割合で除算した値を負荷モデル情報(3−3)に記録する(S8−2)。
例えば、代表の認証サーバ装置が図10の認証サーバ装置1であれば、集計テーブルのリクエスト数を「0.3」で割って、全ての認証サーバ装置(60)におけるリクエスト受信数の推定値を算出する。
そして、推定値を負荷モデル情報(3−3)に記録する。
リクエスト種別ごとの比率は集計テーブルの値のまま、負荷モデル情報(3−3)に記録する。
S8−2以外の処理は、図7に示したものと同様である。
The load model creation unit (1-1) determines a representative authentication server device (60) that reads the authentication system request log (8) in advance, and records a load distribution definition table (FIG. 10).
Then, the load model creation unit (1-1) inputs the authentication system request log (8) of the representative authentication server device (60), and the input authentication system request log (8) as in the first embodiment. The total number of requests is counted for each unit time, the ratio for each request type is also totaled, and the total result is written in the total table.
When recording the number of requests from the aggregation table in the load model information (3-3), the load model creation unit (1-1) divides the number of requests on the aggregation table by the distribution ratio in FIG. Information is recorded in (3-3) (S8-2).
For example, if the representative authentication server device is the authentication server device 1 of FIG. 10, the number of requests in the aggregation table is divided by “0.3” and the estimated number of requests received in all the authentication server devices (60). calculate.
Then, the estimated value is recorded in the load model information (3-3).
The ratio for each request type is recorded in the load model information (3-3) with the value in the aggregation table.
Processes other than S8-2 are the same as those shown in FIG.

以上のように、本実施の形態によれば、負荷モデルを生成する際に1台の認証サーバ装置のログから生成することを可能にすることで、更なる時間短縮の効果が得られる。   As described above, according to the present embodiment, when a load model is generated, it is possible to generate a load model from a log of one authentication server device, thereby further reducing the time.

以上、本実施の形態では、認証サーバ1台のログから負荷モデル作成を行うことを可能とする負荷テストコントロール方式を説明した。   As described above, in the present embodiment, the load test control method that enables creation of a load model from the log of one authentication server has been described.

実施の形態3.
以上の実施の形態1では、負荷テストを実施後、想定どおりの負荷がかからなかった場合、手動で調整する必要がある。
本実施の形態では、これに対し、負荷テスト試行時の認証サーバ装置のログを使用して負荷モデルを調整する実施の形態を示す。
Embodiment 3 FIG.
In Embodiment 1 described above, if a load as expected is not applied after the load test is performed, it is necessary to manually adjust the load.
In the present embodiment, on the other hand, an embodiment in which a load model is adjusted using a log of an authentication server device at the time of a load test trial is shown.

図12は、実施の形態3に係るシステム構成図である。
図12では、図1と比較して、負荷モデルフィードバック部(1−4)とフィードバックDB(9)が負荷テストコントロールシステム(1)の要素として追加されている。
また、負荷テスト試行時の認証サーバ装置(60)のHTTPリクエストの受信についてのログデータが負荷テスト試行時認証システムリクエストログ(80)として負荷モデルフィードバック部(1−4)に入力される。
認証システムリクエストログ(8)は通常稼働時のHTTPリクエストの受信履歴を示すのに対して、負荷テスト試行時認証システムリクエストログ(80)は負荷テスト試行時のHTTPリクエストの受信履歴を示す。
負荷テスト試行時認証システムリクエストログ(80)の形式は、認証システムリクエストログ(8)と同様であり、例えば、図19に示す通りである。
なお、負荷モデルフィードバック部(1−4)は、フィードバックログデータ入力部、フィードバックログ集約部及びログ集約データ変更部の例に相当する。
また、本実施の形態では、負荷モデル作成部(1−1)、負荷パラメータ算出部(1−2)、負荷ツール情報DB(2)及び負荷モデルフィードバック部(1−4)がテスト装置の例に相当する。
FIG. 12 is a system configuration diagram according to the third embodiment.
In FIG. 12, compared with FIG. 1, a load model feedback unit (1-4) and a feedback DB (9) are added as elements of the load test control system (1).
Further, log data regarding reception of an HTTP request of the authentication server device (60) at the time of the load test trial is input to the load model feedback unit (1-4) as a load test trial time authentication system request log (80).
The authentication system request log (8) shows the HTTP request reception history during normal operation, while the load test trial authentication system request log (80) shows the HTTP request reception history during the load test trial.
The format of the authentication system request log (80) at the time of load test trial is the same as that of the authentication system request log (8), for example, as shown in FIG.
The load model feedback unit (1-4) corresponds to an example of a feedback log data input unit, a feedback log aggregation unit, and a log aggregation data change unit.
In this embodiment, the load model creation unit (1-1), the load parameter calculation unit (1-2), the load tool information DB (2), and the load model feedback unit (1-4) are examples of test devices. It corresponds to.

フィードバックDB(9)では、フィードバック負荷モデル情報(9−1)とフィードバック調整ポリシー情報(9−2)が記憶されている。
フィードバック負荷モデル情報(9−1)のテーブル構成は、負荷モデル情報(3−3)(図3)と同様である。
また、フィードバック調整ポリシー情報(9−2)のテーブル構成は、図13となる。
負荷モデルフィードバック部(1−4)は、単位時間ごと、リクエスト種別ごとに、フィードバック調整ポリシー情報(9−2)の差分条件が成立するか否かを判断し、差分条件が成立する場合は、適用ポリシーに従って、負荷モデル情報(3−3)の該当する内容を変更する。
フィードバック調整ポリシー情報(9−2)の1行目は、負荷モデル情報(3−3)で規定されている「HTTP数/秒」の値が、負荷テスト試行時認証システムリクエストログ(80)から集計されたフィードバック負荷モデル情報(9−1)で規定されている「HTTP数/秒」の1.1倍よりも大きいことを差分条件としている。
すなわち、負荷テストにおいて実際に認証サーバ装置(60)に送信されたHTTPリクエストの数が、負荷モデル情報(3−3)で規定されている「HTTP数/秒」よりも10%以上少なかったことを差分条件としている。
そして、この差分条件が成立する場合には、現在の負荷モデル情報(3−3)に規定されている「HTTP数/秒」の1.5倍の値が規定される新たな負荷モデル情報(3−3)を生成することを適用ポリシーとする。
また、フィードバック調整ポリシー情報(9−2)の3行目は、負荷モデル情報(3−3)で規定されている「業務(%)」の値と、負荷テスト試行時認証システムリクエストログ(80)から集計されたフィードバック負荷モデル情報(9−1)ので規定されている「業務(%)」の値とが一致しないことを差分条件としている。
そして、この差分条件が成立する場合には、フィードバック負荷モデル情報(9−1)で規定されている「業務(%)」の値と「共通(%)」の値と同じ値が規定される新たな負荷モデル情報(3−3)を生成することを適用ポリシーとする。
In the feedback DB (9), feedback load model information (9-1) and feedback adjustment policy information (9-2) are stored.
The table configuration of the feedback load model information (9-1) is the same as that of the load model information (3-3) (FIG. 3).
The table configuration of the feedback adjustment policy information (9-2) is as shown in FIG.
The load model feedback unit (1-4) determines whether the difference condition of the feedback adjustment policy information (9-2) is satisfied for each unit time and for each request type, and when the difference condition is satisfied, The corresponding contents of the load model information (3-3) are changed according to the application policy.
The first line of the feedback adjustment policy information (9-2) shows that the value of “HTTP count / second” defined in the load model information (3-3) is obtained from the authentication system request log (80) at the time of load test trial. The difference condition is that it is larger than 1.1 times “HTTP count / second” defined in the aggregated feedback load model information (9-1).
That is, the number of HTTP requests actually transmitted to the authentication server device (60) in the load test was 10% or more less than the “HTTP count / second” defined in the load model information (3-3). Is the difference condition.
When this difference condition is satisfied, new load model information (1.5 times the value of “HTTP count / second” defined in the current load model information (3-3) is defined ( 3-3) is the application policy.
The third line of the feedback adjustment policy information (9-2) includes the value of “operation (%)” defined in the load model information (3-3), and the load test trial authentication system request log (80 The difference condition is that the value of “business (%)” defined in the feedback load model information (9-1) compiled from () does not match.
When this difference condition is satisfied, the same value as the “common (%)” value and the “business (%)” value defined in the feedback load model information (9-1) is defined. An application policy is to generate new load model information (3-3).

次に、本実施の形態での動作の流れを示す。
負荷モデル生成(図7)から負荷パラメータ算出(図8)、負荷テスト実施(図8)までは実施の形態1と同じである。
図14が負荷モデルフィードバック部(1−4)のフローである。
フィードバック負荷モデル情報(9−1)の生成は、インプットとなる情報が、負荷テスト試行時の認証システム(6)のログである負荷テスト試行時認証システムリクエストログ(80)となる点を除けば、図7と同じである。
したがって、フィードバック負荷モデル情報(9−1)と負荷モデル情報(3−3)の差分を比較するところから記述する。
Next, an operation flow in the present embodiment is shown.
The processes from load model generation (FIG. 7) to load parameter calculation (FIG. 8) and load test execution (FIG. 8) are the same as those in the first embodiment.
FIG. 14 is a flow of the load model feedback unit (1-4).
The feedback load model information (9-1) is generated except that the input information is a load test trial authentication system request log (80) that is a log of the authentication system (6) at the time of the load test trial. This is the same as FIG.
Therefore, the description starts from comparing the difference between the feedback load model information (9-1) and the load model information (3-3).

負荷モデルフィードバック部(1−4)は、フィードバック調整ポリシー情報(9−2)をメモリ上に読込み(S27)、比較時刻を初期化する(S28)。
また、負荷モデルフィードバック部(1−4)は、該当時刻の負荷モデル情報(3−3)のレコードを読み込み(S29)、該当時刻のフィードバック負荷モデル情報(9−1)のレコードを読み込む(S30)。
次に、負荷モデルフィードバック部(1−4)は、両レコードの内容を比較し(S31)、差分があればS32へ、差分がなければS35へ進む。
差分があった場合には、負荷モデルフィードバック部(1−4)は、差分をフィードバック調整ポリシー情報(9−2)の差分条件とつき合わせて適用ポリシーを抽出する(S32)。
つまり、負荷モデルフィードバック部(1−4)は、抽出した差分が合致する差分条件があれば、その差分条件に対応する適用ポリシーを採用する。
そして、負荷モデルフィードバック部(1−4)は、S32にて抽出した適用ポリシーを元の負荷モデル情報(3−3)の値に適用して再計算する(S33)。
そして、負荷モデルフィードバック部(1−4)は、再計算した値を負荷モデル情報(3−3)に反映する(S34)。
The load model feedback unit (1-4) reads the feedback adjustment policy information (9-2) into the memory (S27), and initializes the comparison time (S28).
The load model feedback unit (1-4) reads the record of the load model information (3-3) at the corresponding time (S29), and reads the record of the feedback load model information (9-1) at the corresponding time (S30). ).
Next, the load model feedback unit (1-4) compares the contents of both records (S31). If there is a difference, the process proceeds to S32, and if there is no difference, the process proceeds to S35.
When there is a difference, the load model feedback unit (1-4) extracts the application policy by matching the difference with the difference condition of the feedback adjustment policy information (9-2) (S32).
That is, if there is a difference condition that matches the extracted difference, the load model feedback unit (1-4) adopts an application policy corresponding to the difference condition.
Then, the load model feedback unit (1-4) applies the application policy extracted in S32 to the value of the original load model information (3-3) and recalculates (S33).
Then, the load model feedback unit (1-4) reflects the recalculated value in the load model information (3-3) (S34).

S32で差分がなかった場合又はS34で負荷モデル情報(3−3)を更新した後は、負荷モデルフィードバック部(1−4)は、比較時刻に時間間隔を加算する(S35)。
また、負荷モデルフィードバック部(1−4)は、全データの比較処理が完了したかチェックし(S36)、完了していれば、動作を終了する。
完了していなければS29からS35までを繰り返す。
When there is no difference in S32 or after updating the load model information (3-3) in S34, the load model feedback unit (1-4) adds a time interval to the comparison time (S35).
Further, the load model feedback unit (1-4) checks whether or not all data comparison processing has been completed (S36), and if completed, ends the operation.
If not completed, S29 to S35 are repeated.

この後、負荷テスト実行部(1−3)が、新たな負荷モデル情報(3−3)を用いて、実施の形態1と同様の手順にて負荷テストを行う。
負荷テストの試行と負荷テストフィードバックを繰り返すことで、要件に合った負荷パラメータに収束される。
なお、2回目以降の負荷テスト試行時認証システムリクエストログ(80)から生成されたフィードバック負荷モデル情報(9−1)については、オリジナルの負荷モデル情報(3−3)との差分を抽出してもよいし、変更後の負荷モデル情報(3−3)との差分を抽出してもよい。
Thereafter, the load test execution unit (1-3) performs a load test using the new load model information (3-3) in the same procedure as in the first embodiment.
By repeating the load test trial and the load test feedback, the load parameters that meet the requirements are converged.
For the feedback load model information (9-1) generated from the authentication test request log (80) at the second and subsequent load test trials, the difference from the original load model information (3-3) is extracted. Alternatively, a difference from the changed load model information (3-3) may be extracted.

図15は、本実施の形態のフィードバック調整処理の概要を示す。
図15(a)は、認証システムリクエストログ(8)に基づいて生成された負荷モデル情報(3−3)の単位時間ごとの「HTTP数/秒」の値をグラフ化した状態を示す。
図15(b)は、負荷テスト試行時認証システムリクエストログ(80)に基づいて生成されたフィードバック負荷モデル情報(9−1)の単位時間ごとの「HTTP数/秒」の値をグラフ化した状態を示す。
図15(c)は、負荷モデルフィードバック部(1−4)によって負荷モデル情報(3−3)とフィードバック負荷モデル情報(9−1)の差分が調整された後の「HTTP数/秒」の値をグラフ化した状態を示す。
つまり、図15(c)は、図14のS33の再計算により得られた「HTTP数/秒」の値のグラフである。
図15(c)にあるように、図14のS33では、実際の差分よりも大きく調整を行って、当初の負荷モデル情報(3−3)に記載の「HTTP数/秒」分のリクエストが認証サーバ装置(60)に送信されるようにする。
FIG. 15 shows an overview of the feedback adjustment processing of the present embodiment.
FIG. 15A shows a state in which the value of “HTTP count / second” per unit time of the load model information (3-3) generated based on the authentication system request log (8) is graphed.
FIG. 15B is a graph of the value of “HTTP count / second” per unit time of the feedback load model information (9-1) generated based on the authentication system request log (80) at the time of the load test trial. Indicates the state.
FIG. 15C shows the “HTTP count / second” after the difference between the load model information (3-3) and the feedback load model information (9-1) is adjusted by the load model feedback unit (1-4). The state that the value was graphed is shown.
That is, FIG. 15C is a graph of the value of “HTTP number / second” obtained by recalculation in S33 of FIG.
As shown in FIG. 15 (c), in S33 of FIG. 14, the request for “HTTP count / second” described in the initial load model information (3-3) is made by adjusting larger than the actual difference. It is transmitted to the authentication server device (60).

以上のように、本実施の形態によれば、生成した負荷モデルを元にした負荷テストの実施結果が負荷モデルと差異がある場合に、負荷モデルを自動的に調整することが可能となり、負荷テストの時間短縮の効果が得られる。   As described above, according to the present embodiment, the load model can be automatically adjusted when the load test execution result based on the generated load model is different from the load model. The effect of shortening the test time can be obtained.

以上、本実施の形態では、負荷テストの試行結果を負荷モデルにフィードバックする負荷テストコントロール方式を説明した。   As described above, in the present embodiment, the load test control method that feeds back the test result of the load test to the load model has been described.

実施の形態4.
以上の実施の形態2と実施の形態3とを組み合わせてもよい。
実施の形態2及び3よりも更に負荷テスト実施の時間短縮の効果が得られる。
Embodiment 4 FIG.
You may combine the above Embodiment 2 and Embodiment 3.
As compared with the second and third embodiments, the effect of reducing the load test execution time can be obtained.

実施の形態5.
以上の実施の形態3では、フィードバックを繰り返すことで負荷要件に合った負荷テストパラメータを算出していたが、これでは、なかなか負荷モデルが収束されない可能性が考えられる。
そこで、本実施の形態では、適用するフィードバック調整ポリシー情報を1度目と2度目とで変え、フィードバック回数を2回で完了させる実施の形態を示す。
Embodiment 5 FIG.
In the third embodiment described above, the load test parameter that meets the load requirement is calculated by repeating the feedback. However, it is possible that the load model is not easily converged.
Therefore, in the present embodiment, an embodiment is shown in which the feedback adjustment policy information to be applied is changed between the first time and the second time, and the number of feedbacks is completed by two times.

本実施の形態に係るシステム構成は、図12と同じである。
本実施の形態では、フィードバック負荷モデル情報(9−1)にはラベルカラムをキーの一つとして追加し、「試行」および「調整」の回数と負荷モデルを記録する(図16)。
「試行」とは、負荷テストの実施を意味し、図16において「試行」が設定されているレコードには、負荷テスト試行時認証システムリクエストログ(80)を集計して得られた値が記述されている。
「調整」とは、負荷テスト後の新たなパラメータの設定を意味し、図16において「調整」が設定されているレコードには、図14のS33の再計算により得られた値が記述されている。
また、本実施の形態に係るフィードバック調整ポリシー情報(9−2)では、差分条件に試行の回数の情報も追加されている(図17)。
図17の1行目は、1回目の負荷テスト試行時認証システムリクエストログ(80)を集計して得られたフィードバック負荷モデル情報(9−1)とオリジナルの負荷モデル情報(3−3)との間の差分について規定している。
一方、図17の2行目は、2回目の負荷テスト試行時認証システムリクエストログ(80)を集計して得られたフィードバック負荷モデル情報(9−1)とオリジナルの負荷モデル情報(3−3)との間の差分について規定している。
このように、本実施の形態では、負荷モデルフィードバック部(1−4)は、1回目の負荷テスト試行時認証システムリクエストログ(80)の入力時と2回目の負荷テスト試行時認証システムリクエストログ(80)の入力時で適用ポリシーを変えている。
The system configuration according to the present embodiment is the same as FIG.
In this embodiment, a label column is added as one of the keys to the feedback load model information (9-1), and the number of “trials” and “adjustments” and the load model are recorded (FIG. 16).
“Trial” means execution of a load test. In the record in which “trial” is set in FIG. 16, a value obtained by aggregating the authentication system request log (80) at the time of load test is described. Has been.
“Adjustment” means the setting of a new parameter after the load test. In the record in which “Adjustment” is set in FIG. 16, the value obtained by the recalculation in S33 of FIG. 14 is described. Yes.
In the feedback adjustment policy information (9-2) according to the present embodiment, information on the number of trials is also added to the difference condition (FIG. 17).
The first line in FIG. 17 shows feedback load model information (9-1) obtained by aggregating the first load test trial authentication system request log (80) and original load model information (3-3). The difference between is specified.
On the other hand, the second line in FIG. 17 shows feedback load model information (9-1) obtained by aggregating the authentication system request log (80) at the second load test trial and original load model information (3-3). ) Is specified.
Thus, in the present embodiment, the load model feedback unit (1-4) receives the first load test trial authentication system request log (80) and the second load test trial authentication system request log. The application policy is changed when (80) is input.

なお、負荷モデルフィードバック部(1−4)の動作フローは、実施の形態3と同様に図14に従う。
本実施の形態と実施の形態3では、S32、S33で使用する差分条件、適用ポリシーが図17のものを使用する点のみが異なる。
The operation flow of the load model feedback section (1-4) follows FIG. 14 as in the third embodiment.
This embodiment is different from Embodiment 3 only in that the difference conditions and application policies used in S32 and S33 are the same as those in FIG.

負荷モデルと試行結果と調整結果との関係を図18に示す。
図18において、負荷モデルはオリジナルの負荷モデル情報(3−3)の負荷モデルである。
試行結果(1回目)は、オリジナルの負荷モデル情報(3−3)に基づいて負荷テストが行われた後に出力された1回目の負荷テスト試行時認証システムリクエストログ(80)から生成された1回目のフィードバック負荷モデル情報(9−1)の負荷モデルである。
また、調整結果(1回目)は、オリジナルの負荷モデル情報(3−3)と1回目のフィードバック負荷モデル情報(9−1)との差分を調整した、変更後の負荷モデル情報(3−3)の負荷モデルである。
試行結果(2回目)は、変更後の負荷モデル情報(3−3)に基づいて負荷テストが行われた後に出力された2回目の負荷テスト試行時認証システムリクエストログ(80)から生成された2回目のフィードバック負荷モデル情報(9−1)の負荷モデルである。
調整結果(2回目)は、オリジナルの負荷モデル情報(3−3)と2回目のフィードバック負荷モデル情報(9−1)との差分を調整した、更なる変更後の負荷モデル情報(3−3)の負荷モデルである。
FIG. 18 shows the relationship among the load model, trial results, and adjustment results.
In FIG. 18, the load model is the load model of the original load model information (3-3).
The trial result (first time) is 1 generated from the first load test trial authentication system request log (80) output after the load test is performed based on the original load model information (3-3). It is a load model of the feedback feedback model information (9-1) for the second time.
Further, the adjustment result (first time) is obtained by adjusting the difference between the original load model information (3-3) and the first feedback load model information (9-1), and the changed load model information (3-3). ) Load model.
The trial result (second time) was generated from the second load test trial authentication system request log (80) output after the load test was performed based on the changed load model information (3-3). It is a load model of the second feedback load model information (9-1).
The adjustment result (second time) is obtained by adjusting the difference between the original load model information (3-3) and the second feedback load model information (9-1), and further changing the load model information (3-3). ) Load model.

なお、上記では、1回目の負荷テスト試行時認証システムリクエストログ(80)の入力時と2回目の負荷テスト試行時認証システムリクエストログ(80)の入力時とで異なる差分条件と適用ポリシーを用いたが、どのようなタイミングで差分条件と適用ポリシーを変更するようにしてもよい。
つまり、フィードバック回数を2回に限定しなければ、n(nは1以上の整数)回目の負荷テスト試行時認証システムリクエストログ(80)の入力時と(n+m)(mは1以上の整数)回目の負荷テスト試行時認証システムリクエストログ(80)の入力時とで異なる差分条件と適用ポリシーを用いるようにすることができる。
Note that, in the above, different difference conditions and application policies are used when the first load test trial authentication system request log (80) is input and when the second load test trial authentication system request log (80) is input. However, the difference condition and the application policy may be changed at any timing.
In other words, if the number of feedback is not limited to two, n (n is an integer of 1 or more) load test trial authentication system request log (80) input (n + m) (m is an integer of 1 or more) Different difference conditions and application policies may be used depending on the input of the authentication system request log (80) at the time of the load test attempt.

以上のように、本実施の形態によれば、フィードバック調整ポリシー情報を調整することで、短時間で適切な負荷モデルを生成することが可能となり、負荷テストの時間短縮の効果が得られる。   As described above, according to the present embodiment, it is possible to generate an appropriate load model in a short time by adjusting the feedback adjustment policy information, and the effect of shortening the load test time can be obtained.

以上、本実施の形態では、負荷テストの試行結果のフィードバック回数を最大2回で負荷モデルの調整を完了させる負荷コントロール方式を説明した。   As described above, in the present embodiment, the load control method has been described in which the adjustment of the load model is completed with the maximum number of feedback times of the test result of the load test being two.

実施の形態6.
以上の実施の形態2と実施の形態5とを組み合わせてもよい。
実施の形態2と実施の形態5よりもさらに負荷テスト実施の時間短縮の効果が得られる。
Embodiment 6 FIG.
You may combine the above Embodiment 2 and Embodiment 5. FIG.
The effect of shortening the load test execution time can be obtained as compared with the second and fifth embodiments.

最後に、実施の形態1〜5に示したテスト装置(100)のハードウェア構成例について説明する。
図20は、実施の形態1〜5に示すテスト装置(100)のハードウェア資源の一例を示す図である。
なお、図20の構成は、あくまでもテスト装置(100)のハードウェア構成の一例を示すものであり、テスト装置(100)のハードウェア構成は図20に記載の構成に限らず、他の構成であってもよい。
Finally, a hardware configuration example of the test apparatus (100) shown in the first to fifth embodiments will be described.
FIG. 20 is a diagram illustrating an example of hardware resources of the test apparatus (100) illustrated in the first to fifth embodiments.
Note that the configuration of FIG. 20 is merely an example of the hardware configuration of the test apparatus (100), and the hardware configuration of the test apparatus (100) is not limited to the configuration illustrated in FIG. There may be.

図20において、テスト装置(100)は、プログラムを実行するCPU911(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサともいう)を備えている。
CPU911は、バス912を介して、例えば、ROM(Read Only Memory)913、RAM(Random Access Memory)914、通信ボード915、表示装置901、キーボード902、マウス903、磁気ディスク装置920と接続され、これらのハードウェアデバイスを制御する。
更に、CPU911は、FDD904(Flexible Disk Drive)、コンパクトディスク装置905(CDD)、プリンタ装置906、スキャナ装置907と接続していてもよい。また、磁気ディスク装置920の代わりに、SSD(Solid State Drive)、光ディスク装置、メモリカード(登録商標)読み書き装置などの記憶装置でもよい。
RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、磁気ディスク装置920の記憶媒体は、不揮発性メモリの一例である。これらは、記憶装置の一例である。
実施の形態1〜5で説明した「負荷ツール情報DB(2)」、「負荷テスト制御情報DB(3)」及び「フィードバックDB(9)」は、RAM914、磁気ディスク装置920等により実現される。
通信ボード915、キーボード902、マウス903、スキャナ装置907などは、入力装置の一例である。
また、通信ボード915、表示装置901、プリンタ装置906などは、出力装置の一例である。
20, the test apparatus (100) includes a CPU 911 (also referred to as a central processing unit, a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, and a processor) that executes a program.
The CPU 911 is connected to, for example, a ROM (Read Only Memory) 913, a RAM (Random Access Memory) 914, a communication board 915, a display device 901, a keyboard 902, a mouse 903, and a magnetic disk device 920 via a bus 912. Control hardware devices.
Further, the CPU 911 may be connected to an FDD 904 (Flexible Disk Drive), a compact disk device 905 (CDD), a printer device 906, and a scanner device 907. Further, instead of the magnetic disk device 920, a storage device such as an SSD (Solid State Drive), an optical disk device, or a memory card (registered trademark) read / write device may be used.
The RAM 914 is an example of a volatile memory. The storage media of the ROM 913, the FDD 904, the CDD 905, and the magnetic disk device 920 are an example of a nonvolatile memory. These are examples of the storage device.
The “load tool information DB (2)”, “load test control information DB (3)”, and “feedback DB (9)” described in the first to fifth embodiments are realized by the RAM 914, the magnetic disk device 920, and the like. .
A communication board 915, a keyboard 902, a mouse 903, a scanner device 907, and the like are examples of input devices.
The communication board 915, the display device 901, the printer device 906, and the like are examples of output devices.

通信ボード915は、ネットワークに接続されている。
例えば、通信ボード915は、LAN(ローカルエリアネットワーク)、インターネット、WAN(ワイドエリアネットワーク)、SAN(ストレージエリアネットワーク)などに接続されている。
The communication board 915 is connected to the network.
For example, the communication board 915 is connected to a LAN (local area network), the Internet, a WAN (wide area network), a SAN (storage area network), and the like.

磁気ディスク装置920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。
プログラム群923のプログラムは、CPU911がオペレーティングシステム921、ウィンドウシステム922を利用しながら実行する。
The magnetic disk device 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924.
The programs in the program group 923 are executed by the CPU 911 using the operating system 921 and the window system 922.

また、RAM914には、CPU911に実行させるオペレーティングシステム921のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。
また、RAM914には、CPU911による処理に必要な各種データが格納される。
The RAM 914 temporarily stores at least part of the operating system 921 program and application programs to be executed by the CPU 911.
The RAM 914 stores various data necessary for processing by the CPU 911.

また、ROM913には、BIOS(Basic Input Output System)プログラムが格納され、磁気ディスク装置920にはブートプログラムが格納されている。
テスト装置(100)の起動時には、ROM913のBIOSプログラム及び磁気ディスク装置920のブートプログラムが実行され、BIOSプログラム及びブートプログラムによりオペレーティングシステム921が起動される。
The ROM 913 stores a BIOS (Basic Input Output System) program, and the magnetic disk device 920 stores a boot program.
When the test apparatus (100) is activated, the BIOS program in the ROM 913 and the boot program in the magnetic disk device 920 are executed, and the operating system 921 is activated by the BIOS program and the boot program.

上記プログラム群923には、実施の形態1〜5の説明において「〜部」として説明している機能を実行するプログラムが記憶されている。プログラムは、CPU911により読み出され実行される。   The program group 923 stores a program for executing the function described as “˜unit” in the description of the first to fifth embodiments. The program is read and executed by the CPU 911.

ファイル群924には、実施の形態1〜5の説明において、「〜の判断」、「〜の計算」、「〜の比較」、「〜の集計」、「〜の生成」、「〜の指定」、「〜の変更」、「〜の更新」、「〜の設定」、「〜の登録」、「〜の選択」、「〜の入力」、「〜の出力」等として説明している処理の結果を示す情報やデータや信号値や変数値が、ディスクやメモリなどの記憶媒体にファイルとして記憶されている。
また、暗号鍵・復号鍵や乱数値やパラメータが、ディスクやメモリなどの記憶媒体にファイルとして記憶されてもよい。
「〜ファイル」や「〜データベース」は、ディスクやメモリなどの記憶媒体に記憶される。
ディスクやメモリなどの記憶媒体に記憶された情報やデータや信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出される。
そして、読み出された情報やデータや信号値や変数値やパラメータは、抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示などのCPUの動作に用いられる。
抽出・検索・参照・比較・演算・計算・処理・編集・出力・印刷・表示のCPUの動作の間、情報やデータや信号値や変数値やパラメータは、メインメモリ、レジスタ、キャッシュメモリ、バッファメモリ等に一時的に記憶される。
また、実施の形態1〜5で説明しているフローチャートの矢印の部分は主としてデータや信号の入出力を示す。
データや信号値は、RAM914のメモリ、FDD904のフレキシブルディスク、CDD905のコンパクトディスク、磁気ディスク装置920の磁気ディスク、その他光ディスク、ブルーレイ(登録商標)ディスク、DVD等の記憶媒体に記録される。
また、データや信号は、バス912や信号線やケーブルその他の伝送媒体によりオンライン伝送される。
In the file group 924, in the description of the first to fifth embodiments, “determination of”, “calculation of”, “comparison of”, “aggregation of”, “generation of”, “designation of” ”,“ Change of ”,“ update of ”,“ setting of ”,“ registration of ”,“ selection of ”,“ input of ”,“ output of ”, etc. Information, data, signal values, and variable values indicating the results are stored as files on a storage medium such as a disk or memory.
The encryption key / decryption key, random number value, and parameter may be stored as a file in a storage medium such as a disk or memory.
The “˜file” and “˜database” are stored in a storage medium such as a disk or a memory.
Information, data, signal values, variable values, and parameters stored in a storage medium such as a disk or memory are read out to the main memory or cache memory by the CPU 911 via a read / write circuit.
The read information, data, signal value, variable value, and parameter are used for CPU operations such as extraction, search, reference, comparison, calculation, calculation, processing, editing, output, printing, and display.
Information, data, signal values, variable values, and parameters are stored in the main memory, registers, cache memory, and buffers during the CPU operations of extraction, search, reference, comparison, calculation, processing, editing, output, printing, and display. It is temporarily stored in a memory or the like.
The arrows in the flowcharts described in the first to fifth embodiments mainly indicate input / output of data and signals.
Data and signal values are recorded on a storage medium such as a memory of the RAM 914, a flexible disk of the FDD 904, a compact disk of the CDD 905, a magnetic disk of the magnetic disk device 920, other optical disks, a Blu-ray (registered trademark) disk, and a DVD.
Data and signals are transmitted online via a bus 912, signal lines, cables, or other transmission media.

また、実施の形態1〜5の説明において「〜部」として説明しているものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜手順」、「〜処理」であってもよい。
すなわち、実施の形態1〜5で説明したフローチャートに示すステップ、手順、処理により、本発明に係る「テスト方法」を実現することができる。
また、「〜部」として説明しているものは、ROM913に記憶されたファームウェアで実現されていても構わない。
或いは、ソフトウェアのみ、或いは、素子・デバイス・基板・配線などのハードウェアのみ、或いは、ソフトウェアとハードウェアとの組み合わせ、さらには、ファームウェアとの組み合わせで実施されても構わない。
ファームウェアとソフトウェアは、プログラムとして、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD等の記憶媒体に記憶される。
プログラムはCPU911により読み出され、CPU911により実行される。
すなわち、プログラムは、実施の形態1〜5の「〜部」としてコンピュータを機能させるものである。あるいは、実施の形態1〜5の「〜部」の手順や方法をコンピュータに実行させるものである。
In addition, what is described as “˜unit” in the description of the first to fifth embodiments may be “˜circuit”, “˜device”, “˜device”, and “˜step”, It may be “˜procedure” or “˜processing”.
That is, the “test method” according to the present invention can be realized by the steps, procedures, and processes shown in the flowcharts described in the first to fifth embodiments.
Further, what is described as “˜unit” may be realized by firmware stored in the ROM 913.
Alternatively, it may be implemented only by software, or only by hardware such as elements, devices, substrates, and wirings, by a combination of software and hardware, or by a combination of firmware.
Firmware and software are stored as programs in a storage medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, and a DVD.
The program is read by the CPU 911 and executed by the CPU 911.
That is, the program causes the computer to function as “to part” in the first to fifth embodiments. Alternatively, the computer executes the procedure and method of “to part” in the first to fifth embodiments.

このように、実施の形態1〜5に示すテスト装置(100)は、処理装置たるCPU、記憶装置たるメモリ、磁気ディスク等、入力装置たるキーボード、マウス、通信ボード等、出力装置たる表示装置、通信ボード等を備えるコンピュータである。
そして、上記したように「〜部」として示された機能をこれら処理装置、記憶装置、入力装置、出力装置を用いて実現するものである。
As described above, the test apparatus (100) shown in the first to fifth embodiments includes a CPU as a processing device, a memory as a storage device, a magnetic disk, a keyboard as an input device, a mouse, a communication board, and a display device as an output device, A computer including a communication board and the like.
Then, as described above, the functions indicated as “˜units” are realized using these processing devices, storage devices, input devices, and output devices.

1 負荷テストコントロールシステム、1−1 負荷モデル作成部、1−2 負荷パラメータ算出部、1−3 負荷テスト実行部、1−4 負荷モデルフィードバック部、2 負荷ツール情報DB、2−1 コントローラ情報、2−2 エージェント情報、3 負荷テスト制御情報DB、3−1 リクエスト種別情報、3−2 負荷要件情報、3−3 負荷モデル情報、3−4 負荷パラメータ情報、4 負荷テストコントローラ、5 負荷テストエージェント、6 認証システム、7 業務システム、8 認証システムリクエストログ、9 フィードバックDB、9−1 フィードバック負荷モデル情報、9−2 フィードバック調整ポリシー情報、60 認証サーバ装置、61 認証リポジトリ、62 負荷分散装置、80 負荷テスト試行時認証システムリクエストログ、100 テスト装置。   DESCRIPTION OF SYMBOLS 1 Load test control system, 1-1 Load model creation part, 1-2 Load parameter calculation part, 1-3 Load test execution part, 1-4 Load model feedback part, 2 Load tool information DB, 2-1 Controller information, 2-2 Agent information, 3 Load test control information DB, 3-1 Request type information, 3-2 Load requirement information, 3-3 Load model information, 3-4 Load parameter information, 4 Load test controller, 5 Load test agent , 6 authentication system, 7 business system, 8 authentication system request log, 9 feedback DB, 9-1 feedback load model information, 9-2 feedback adjustment policy information, 60 authentication server device, 61 authentication repository, 62 load distribution device, 80 Authentication system for load test trials Request log, 100 test equipment.

Claims (10)

それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストをテスト対象サーバ装置に送信させて、前記テスト対象サーバ装置のテストを行うテスト装置であって、
各テストツールのリクエスト送信性能が示される性能情報を記憶する性能情報記憶部と、
クライアント装置から複数のリクエストを受信する稼動中の稼動中サーバ装置で収集され、前記稼動中サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを入力するログデータ入力部と、
前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約部と、
前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記テスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定するテストパラメータ指定部と
前記テストパラメータ指定部により指定されたテストパラメータに従って各テストツールから送信されたリクエストの前記テスト対象サーバ装置における受信履歴が、リクエスト分類識別子とリクエストの受信時刻との対により示されるフィードバックログデータを入力するフィードバックログデータ入力部と、
前記フィードバックログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数が示されるフィードバックログ集約データを生成するフィードバックログ集約部と、
前記フィードバックログ集約データに示されるリクエスト受信数と、前記テストパラメータを指定するために用いられたログ集約データに示されるリクエスト受信数とを、単位時間ごとにリクエスト種別の単位で比較し、比較結果に基づき、前記ログ集約データのリクエスト受信数を変更するログ集約データ変更部とを有し、
前記テストパラメータ指定部は、
前記ログ集約データ変更部による変更後のログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、新たなテストパラメータを指定することを特徴とするテスト装置。
A test apparatus for testing the test target server apparatus by transmitting a plurality of requests to the test target server apparatus from a plurality of test tools each emulating a client apparatus,
A performance information storage unit that stores performance information indicating the request transmission performance of each test tool;
Collected by an active server device in operation that receives a plurality of requests from a client device, the request reception history in the active server device is an identifier for classifying the request, and a request reception time, A log data input unit for inputting log data indicated by a pair of
Each request classification identifier indicated in the log data is analyzed and classified into one of a plurality of request types, and the number of received requests in the active server device is totaled in units of request types every predetermined unit time. A log aggregating unit for generating log aggregating data indicating the number of requests received in the active server device in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregation data and the request transmission performance of each test tool indicated in the performance information, each test tool is the test target server device as a test parameter. A test parameter specification unit that specifies the number of requests to be sent to and the request transmission timing in units of request types per unit time ,
Input the feedback log data in which the reception history in the test target server device of the request transmitted from each test tool according to the test parameter specified by the test parameter specifying unit is indicated by the pair of the request classification identifier and the reception time of the request A feedback log data input unit,
Analyzing each request classification identifier shown in the feedback log data and classifying it into one of a plurality of request types, totaling the number of requests received in the test target server device in units of request types per unit time, A feedback log aggregation unit that generates feedback log aggregation data indicating the number of requests received in the test target server device in units of request types per unit time;
The number of received requests indicated in the feedback log aggregated data is compared with the number of received requests indicated in the log aggregated data used to specify the test parameters in units of request types for each unit time, and the comparison result And a log aggregated data change unit for changing the number of received log aggregated data requests,
The test parameter designating unit is
New test parameters based on the number of requests received per request type indicated in the log aggregated data after the change by the log aggregated data changing unit and the request transmission performance of each test tool indicated in the performance information A test apparatus characterized by specifying .
前記テストパラメータ指定部は、
前記ログ集約データに示されるリクエスト受信数分のリクエストが各単位時間で全てのリクエスト種別について送信されるように、テストツールごとにリクエストの送信数とリクエストの送信タイミングを指定することを特徴とする請求項1に記載のテスト装置。
The test parameter designating unit is
The number of requests transmitted and the request transmission timing are specified for each test tool so that requests corresponding to the number of requests received indicated in the log aggregated data are transmitted for all request types in each unit time. The test apparatus according to claim 1.
前記フィードバックログデータ入力部は、
前記テストパラメータ指定部により新たなテストパラメータが指定され、新たなテストパラメータに従って各テストツールから前記テスト対象サーバ装置にリクエストが送信される度に、フィードバックログデータを入力し、
前記フィードバックログ集約部は、
前記フィードバックログデータ入力部によりフィードバックログデータが入力される度に、フィードバックログ集約データを生成し、
前記ログ集約データ変更部は、
前記フィードバックログ集約部によりフィードバックログ集約データが生成される度に、生成されたフィードバックログ集約データに示されるリクエスト受信数と、過去のいずれかのログ集約データに示されるリクエスト受信数とを、単位時間ごとにリクエスト種別の単位で比較し、比較結果に基づき、過去のいずれかのログ集約データのリクエスト受信数を変更し、
前記テストパラメータ指定部は、
前記ログ集約データ変更部によりログ集約データが変更される度に、変更後のログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、新たなテストパラメータを指定することを特徴とする請求項に記載のテスト装置。
The feedback log data input unit includes:
When a new test parameter is specified by the test parameter specifying unit, and a request is transmitted from each test tool to the test target server device according to the new test parameter, feedback log data is input,
The feedback log aggregation unit
Every time feedback log data is input by the feedback log data input unit, the feedback log aggregated data is generated,
The log aggregation data changing unit
Each time feedback log aggregated data is generated by the feedback log aggregator, the number of received requests indicated in the generated feedback log aggregated data and the number of received requests indicated in any past log aggregated data are expressed in units. Compare each request type in units of request type, and based on the comparison result, change the number of received requests for any log aggregated data in the past,
The test parameter designating unit is
Each time the log aggregated data is changed by the log aggregated data changing unit, the number of requests received per request type per unit time indicated in the log aggregated data after the change and the request of each test tool indicated in the performance information based on the transmission performance testing device according to claim 1, characterized in that designating a new test parameters.
前記ログ集約データ変更部は、
n(nは1以上の整数)回目のフィードバックログデータの入力の際に、第1の基準に従ってログ集約データのリクエスト受信数を変更し、
(n+m)(mは1以上の整数)回目のフィードバックログデータの入力の際に、第1の基準と異なる第2の基準に従ってログ集約データのリクエスト受信数を変更することを特徴とする請求項に記載のテスト装置。
The log aggregation data changing unit
When inputting feedback log data n (n is an integer of 1 or more), the number of received log aggregated data requests is changed according to the first criterion,
The number of received log aggregated data requests is changed according to a second criterion different from the first criterion when (n + m) (m is an integer of 1 or more) feedback log data is input. 3. The test apparatus according to 3 .
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストを、クライアント装置から複数のリクエストを受信する稼動中の複数のテスト対象サーバ装置に送信させて、前記複数のテスト対象サーバ装置のテストを行うテスト装置であって、
各テストツールのリクエスト送信性能が示される性能情報を記憶する性能情報記憶部と、
前記複数のテスト対象サーバ装置で収集され、前記複数のテスト対象サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを入力するログデータ入力部と、
前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約部と、
前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記複数のテスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定するテストパラメータ指定部とを有することを特徴とするテスト装置。
Multiple requests from a plurality of test tools to emulate each client device, by sending a plurality of test server running which receives a plurality of requests from the client device, tests of the plurality of test server A test device for performing
A performance information storage unit that stores performance information indicating the request transmission performance of each test tool;
Are collected by the plurality of test server, log data reception history of the request in the plurality of test server apparatus, indicated by the pair of the identifier and a request classification identifier and the reception time of the request to classify the request Log data input part to input,
Each request classification identifier shown in the log data is analyzed and classified into one of a plurality of request types, and the number of received requests in the plurality of test target server devices in units of request types every predetermined unit time. A log aggregating unit that aggregates and generates log aggregated data indicating the number of requests received in the plurality of test target server devices in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregated data and the request transmission performance of each test tool indicated in the performance information, each test tool has the plurality of test targets as test parameters. A test apparatus comprising: a test parameter designating unit that designates the number of requests to be transmitted to a server apparatus and the request transmission timing in units of request types per unit time.
前記テストパラメータ指定部は、
スト対象サーバ装置に対する負荷テストのテストパラメータを指定することを特徴とする請求項1又は5に記載のテスト装置。
The test parameter designating unit is
Testing apparatus according to claim 1 or 5, characterized in specifying the test parameters of a load test for testing the target server device.
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストをテスト対象サーバ装置に送信させて、前記テスト対象サーバ装置のテストを行うコンピュータによるテスト方法であって、
前記コンピュータが、各テストツールのリクエスト送信性能が示される性能情報を所定の記憶領域から読み出す性能情報読み出しステップと、
クライアント装置から複数のリクエストを受信する稼動中の稼動中サーバ装置で収集され、前記稼動中サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを、前記コンピュータが入力するログデータ入力ステップと、
前記コンピュータが、前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約ステップと、
前記コンピュータが、前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記テスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定する第1のテストパラメータ指定ステップと
前記コンピュータが、前記第1のテストパラメータ指定ステップにより指定されたテストパラメータに従って各テストツールから送信されたリクエストの前記テスト対象サーバ装置における受信履歴が、リクエスト分類識別子とリクエストの受信時刻との対により示されるフィードバックログデータを入力するフィードバックログデータ入力ステップと、
前記コンピュータが、前記フィードバックログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数が示されるフィードバックログ集約データを生成するフィードバックログ集約ステップと、
前記コンピュータが、前記フィードバックログ集約データに示されるリクエスト受信数と、前記テストパラメータを指定するために用いられたログ集約データに示されるリクエスト受信数とを、単位時間ごとにリクエスト種別の単位で比較し、比較結果に基づき、前記ログ集約データのリクエスト受信数を変更するログ集約データ変更ステップと、
前記コンピュータが、前記ログ集約データ変更ステップによる変更後のログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、新たなテストパラメータを指定する第2のテストパラメータ指定ステップとを有することを特徴とするテスト方法。
A test method using a computer for testing a test target server device by sending a plurality of requests to a test target server device from a plurality of test tools each emulating a client device,
A performance information reading step in which the computer reads performance information indicating the request transmission performance of each test tool from a predetermined storage area;
Collected by an active server device in operation that receives a plurality of requests from a client device, the request reception history in the active server device is an identifier for classifying the request, and a request reception time, Log data input step in which the computer inputs log data indicated by a pair of
The computer analyzes each request classification identifier indicated in the log data and classifies it into one of a plurality of request types, and receives a request in the active server device in units of request types every predetermined unit time. A log aggregation step for generating log aggregation data indicating the number of requests received in the active server device in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregated data and the request transmission performance of each test tool indicated in the performance information, the computer uses each test tool as a test parameter. A first test parameter specifying step for specifying the number of requests to be transmitted to the test target server device and the transmission timing of the request in units of request types for each unit time ;
The reception history in the test target server device of the request transmitted from each test tool according to the test parameter specified in the first test parameter specifying step by the computer is represented by a pair of request classification identifier and request reception time. A feedback log data input step for inputting the displayed feedback log data;
The computer analyzes each request classification identifier indicated in the feedback log data and classifies it into one of a plurality of request types, and the number of requests received in the test target server device in units of request types per unit time A feedback log aggregation step for generating feedback log aggregation data indicating the number of requests received in the test target server device in units of request types per unit time;
The computer compares the number of received requests indicated in the feedback log aggregated data with the number of received requests indicated in the log aggregated data used to specify the test parameters in units of request types per unit time. And, based on the comparison result, a log aggregated data changing step for changing the number of requests received for the log aggregated data,
The computer is based on the number of requests received per unit time indicated in the log aggregated data after the change by the log aggregated data change step, and the request transmission performance of each test tool indicated in the performance information, And a second test parameter designating step for designating a new test parameter .
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストを、クライアント装置から複数のリクエストを受信する稼動中の複数のテスト対象サーバ装置に送信させて、前記複数のテスト対象サーバ装置のテストを行うコンピュータによるテスト方法であって、
前記コンピュータが、各テストツールのリクエスト送信性能が示される性能情報を所定の記憶領域から読み出す性能情報読み出しステップと、
前記複数のテスト対象サーバ装置で収集され、前記複数のテスト対象サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを、前記コンピュータが入力するログデータ入力ステップと、
前記コンピュータが、前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約ステップと、
前記コンピュータが、前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記複数のテスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定するテストパラメータ指定ステップと有することを特徴とするテスト方法。
Multiple requests from a plurality of test tools to emulate each client device, by sending a plurality of test server running which receives a plurality of requests from the client device, tests of the plurality of test server A test method using a computer,
A performance information reading step in which the computer reads performance information indicating the request transmission performance of each test tool from a predetermined storage area;
Are collected by the plurality of test server, log data reception history of the request in the plurality of test server apparatus, indicated by the pair of the identifier and a request classification identifier and the reception time of the request to classify the request Log data input step input by the computer,
The computer analyzes each request classification identifier indicated in the log data and classifies the request classification identifier into one of a plurality of request types, and in the plurality of test target server devices in units of request types every predetermined unit time. A log aggregation step for counting the number of received requests, and generating log aggregation data indicating the number of request receptions in the plurality of test target server devices in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregated data and the request transmission performance of each test tool indicated in the performance information, the computer uses each test tool as a test parameter. A test method comprising: a test parameter specifying step for specifying the number of requests to be transmitted to a plurality of test target server devices and the request transmission timing in units of request types for each unit time.
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストをテスト対象サーバ装置に送信させて、前記テスト対象サーバ装置のテストを行うコンピュータに、
各テストツールのリクエスト送信性能が示される性能情報を所定の記憶領域から読み出す性能情報読み出しステップと、
クライアント装置から複数のリクエストを受信する稼動中の稼動中サーバ装置で収集され、前記稼動中サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを入力するログデータ入力ステップと、
前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記稼動中サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約ステップと、
前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記テスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定する第1のテストパラメータ指定ステップと
前記第1のテストパラメータ指定ステップにより指定されたテストパラメータに従って各テストツールから送信されたリクエストの前記テスト対象サーバ装置における受信履歴が、リクエスト分類識別子とリクエストの受信時刻との対により示されるフィードバックログデータを入力するフィードバックログデータ入力ステップと、
前記フィードバックログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記テスト対象サーバ装置におけるリクエスト受信数が示されるフィードバックログ集約データを生成するフィードバックログ集約ステップと、
前記フィードバックログ集約データに示されるリクエスト受信数と、前記テストパラメータを指定するために用いられたログ集約データに示されるリクエスト受信数とを、単位時間ごとにリクエスト種別の単位で比較し、比較結果に基づき、前記ログ集約データのリクエスト受信数を変更するログ集約データ変更ステップと、
前記ログ集約データ変更ステップによる変更後のログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、新たなテストパラメータを指定する第2のテストパラメータ指定ステップとを実行させることを特徴とするプログラム。
A computer for testing the test target server device by sending a plurality of requests to the test target server device from a plurality of test tools each emulating a client device,
A performance information reading step of reading performance information indicating the request transmission performance of each test tool from a predetermined storage area;
Collected by an active server device in operation that receives a plurality of requests from a client device, the request reception history in the active server device is an identifier for classifying the request, and a request reception time, A log data input step for inputting log data indicated by a pair of
Each request classification identifier indicated in the log data is analyzed and classified into one of a plurality of request types, and the number of received requests in the active server device is totaled in units of request types every predetermined unit time. Log aggregation step for generating log aggregation data indicating the number of requests received in the active server device in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregation data and the request transmission performance of each test tool indicated in the performance information, each test tool is the test target server device as a test parameter. A first test parameter designating step for designating the number of requests to be transmitted and the transmission timing of the request in units of request types per unit time ;
A feedback log in which a reception history in the test target server device of a request transmitted from each test tool according to the test parameter specified in the first test parameter specifying step is indicated by a pair of a request classification identifier and a request reception time. A feedback log data input step for inputting data;
Analyzing each request classification identifier shown in the feedback log data and classifying it into one of a plurality of request types, totaling the number of requests received in the test target server device in units of request types per unit time, A feedback log aggregation step for generating feedback log aggregation data indicating the number of requests received in the test target server device in units of request types per unit time;
The number of received requests indicated in the feedback log aggregated data is compared with the number of received requests indicated in the log aggregated data used to specify the test parameters in units of request types for each unit time, and the comparison result Log aggregated data change step for changing the number of log aggregated data requests received,
Based on the number of requests received per request type indicated in the log aggregated data after the change in the log aggregated data change step and the request transmission performance of each test tool indicated in the performance information, a new test parameter And a second test parameter designating step for designating a program.
それぞれがクライアント装置をエミュレートする複数のテストツールから複数のリクエストを、クライアント装置から複数のリクエストを受信する稼動中の複数のテスト対象サーバ装置に送信させて、前記複数のテスト対象サーバ装置のテストを行うコンピュータに、
各テストツールのリクエスト送信性能が示される性能情報を所定の記憶領域から読み出す性能情報読み出しステップと、
前記複数のテスト対象サーバ装置で収集され、前記複数のテスト対象サーバ装置におけるリクエストの受信履歴が、リクエストを分類するための識別子であるリクエスト分類識別子とリクエストの受信時刻との対により示されるログデータを入力するログデータ入力ステップと、
前記ログデータに示される各リクエスト分類識別子を解析して複数のリクエスト種別のうちのいずれかに分類し、所定の単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数を集計し、単位時間ごとにリクエスト種別の単位で前記複数のテスト対象サーバ装置におけるリクエスト受信数が示されるログ集約データを生成するログ集約ステップと、
前記ログ集約データに示される単位時間ごとのリクエスト種別単位のリクエスト受信数と、前記性能情報に示される各テストツールのリクエスト送信性能とに基づき、テストパラメータとして、各テストツールが前記複数のテスト対象サーバ装置に送信するリクエストの数とリクエストの送信タイミングを単位時間ごとにリクエスト種別の単位で指定するテストパラメータ指定ステップとを実行させることを特徴とするプログラム。
Multiple requests from a plurality of test tools to emulate each client device, by sending a plurality of test server running which receives a plurality of requests from the client device, tests of the plurality of test server On the computer
A performance information reading step of reading performance information indicating the request transmission performance of each test tool from a predetermined storage area;
Are collected by the plurality of test server, log data reception history of the request in the plurality of test server apparatus, indicated by the pair of the identifier and a request classification identifier and the reception time of the request to classify the request Log data input step to input,
Each request classification identifier shown in the log data is analyzed and classified into one of a plurality of request types, and the number of received requests in the plurality of test target server devices in units of request types every predetermined unit time. A log aggregating step that aggregates and generates log aggregating data indicating the number of requests received in the plurality of test target server devices in units of request types per unit time;
Based on the number of requests received per request type per unit time indicated in the log aggregated data and the request transmission performance of each test tool indicated in the performance information, each test tool has the plurality of test targets as test parameters. A program for executing a test parameter specifying step for specifying the number of requests to be transmitted to a server device and the request transmission timing in units of request types per unit time.
JP2012183251A 2012-08-22 2012-08-22 Test apparatus, test method and program Expired - Fee Related JP5896862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012183251A JP5896862B2 (en) 2012-08-22 2012-08-22 Test apparatus, test method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012183251A JP5896862B2 (en) 2012-08-22 2012-08-22 Test apparatus, test method and program

Publications (2)

Publication Number Publication Date
JP2014041463A JP2014041463A (en) 2014-03-06
JP5896862B2 true JP5896862B2 (en) 2016-03-30

Family

ID=50393681

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012183251A Expired - Fee Related JP5896862B2 (en) 2012-08-22 2012-08-22 Test apparatus, test method and program

Country Status (1)

Country Link
JP (1) JP5896862B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6658507B2 (en) * 2014-03-28 2020-03-04 日本電気株式会社 Load estimation system, information processing device, load estimation method, and computer program
TW201721498A (en) * 2015-12-01 2017-06-16 Chunghwa Telecom Co Ltd Wired area network user management system and method with security and function scalability wherein a network controller is used to control a programmable network switch, and divert a non-authenticated terminal device to an authentication server
CN108445869A (en) * 2018-03-26 2018-08-24 杭州先途电子有限公司 A kind of controller test approach and system
KR101978403B1 (en) * 2019-01-28 2019-05-14 넷마블 주식회사 Apparatus of generating load, operating method of the same, and performance test system comprising the same
JP7222260B2 (en) * 2019-02-07 2023-02-15 日本電信電話株式会社 test equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006344050A (en) * 2005-06-09 2006-12-21 Honda Motor Co Ltd Load verification requirement specifying apparatus, method, and program

Also Published As

Publication number Publication date
JP2014041463A (en) 2014-03-06

Similar Documents

Publication Publication Date Title
US10248530B2 (en) Methods and systems for determining capacity
JP5896862B2 (en) Test apparatus, test method and program
US10587653B2 (en) Policy approval layer
US11163769B2 (en) Joining two data tables on a join attribute
US20090240759A1 (en) Methods and Apparatus for Web Application Testing Using Proxy
US11374832B2 (en) Integration and customization of third-party services with remote computing infrastructure
TW202009768A (en) Multi-frame cyber security analysis device and related computer program product for generating multiple associated data frames
US9521136B2 (en) Role-based access tool
CN106161356A (en) Method and system by client quick registration website
JP7274162B2 (en) ABNORMAL OPERATION DETECTION DEVICE, ABNORMAL OPERATION DETECTION METHOD, AND PROGRAM
JP6861880B1 (en) Generation device, generation method and generation program
US20150100677A1 (en) Managing server system, and control method for the same
CN110889105B (en) Data processing method, device, system and medium
US11729161B1 (en) Pre-built, pre-tested, and standardized connectors for end-to-end connection
CN112015715A (en) Industrial Internet data management service testing method and system
US10313188B2 (en) Method for remote management of multiple device configurations
US11301362B1 (en) Control system for distributed load generation
Li et al. Scalability and performance analysis of BDPS in clouds
JP2006031178A (en) Load test execution device, load test execution method and load test execution program
CN113158146A (en) Script management method, script management platform, computing device and medium
MVP et al. Microsoft System Center 2012 R2 Operations Manager Cookbook
KR102633150B1 (en) Method, computer system, and computer program to provide data analysis environment with controlled tempering
JP5669632B2 (en) Information system verification apparatus, information system verification method, and program
US20240143968A1 (en) System for Dynamically Generating Self-Improving Data Center Asset Health Scores
WO2023100545A1 (en) Update detail verification system and update detail verification method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150721

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150821

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160202

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160301

R150 Certificate of patent or registration of utility model

Ref document number: 5896862

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees