JP5446649B2 - TAT measuring device, TAT measuring method and TAT measuring program - Google Patents

TAT measuring device, TAT measuring method and TAT measuring program Download PDF

Info

Publication number
JP5446649B2
JP5446649B2 JP2009215630A JP2009215630A JP5446649B2 JP 5446649 B2 JP5446649 B2 JP 5446649B2 JP 2009215630 A JP2009215630 A JP 2009215630A JP 2009215630 A JP2009215630 A JP 2009215630A JP 5446649 B2 JP5446649 B2 JP 5446649B2
Authority
JP
Japan
Prior art keywords
response
tat
unit
request generation
request
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
JP2009215630A
Other languages
Japanese (ja)
Other versions
JP2011065433A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2009215630A priority Critical patent/JP5446649B2/en
Publication of JP2011065433A publication Critical patent/JP2011065433A/en
Application granted granted Critical
Publication of JP5446649B2 publication Critical patent/JP5446649B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明はウェブサービスのレスポンスの監視に関し、特に該サービスのTAT(Turnaround Time、レスポンス応答時間)の計測に関する。   The present invention relates to monitoring a response of a web service, and more particularly to measuring a TAT (Turnaround Time) of the service.

ウェブサーバによって提供されるウェブサービスは、24時間休み無く、かつユーザに対してストレスを与えることなく動作し続ける必要がある。そのため、障害の発生のみならず、たとえば特定の処理にアクセスが集中することなどによるパフォーマンスの低下も、すぐに発見されなければならない。   The web service provided by the web server needs to continue to operate 24 hours a day and without stressing the user. For this reason, not only the occurrence of a failure but also a decrease in performance due to, for example, the concentration of access to a specific process must be discovered immediately.

そのため、たとえば日本電気株式会社のWebSAM(登録商標)アプリケーション・ナビゲーターなどのように、エンドユーザのウェブサービスでの画面遷移を想定した擬似アクセス(以後、本明細書では単にアクセスという)をウェブサービスに対して行い、これによってTATを測定する製品がある。   For this reason, for example, pseudo access (hereinafter simply referred to as “access” in this specification) that assumes screen transition of an end user's web service, such as NEC's WebSAM (registered trademark) application navigator, is used as a web service. There are products that do this and thus measure TAT.

このTATの測定では、たとえば「ネットショップでの買い物」で、ログイン→商品選定→確認→確定などといった一連の画面遷移を「シナリオ」として定義し、ウェブブラウザを介してユーザがウェブサーバに対して行うであろう操作をアクセス処理として行い、それに対するTATを測定する。   In this TAT measurement, for example, in “shopping at an online shop”, a series of screen transitions such as login → product selection → confirmation → confirmation is defined as a “scenario”, and a user connects to a web server via a web browser The operation that will be performed is performed as an access process, and the TAT for it is measured.

ウェブサービスのTATの測定に関連して、次のような技術文献がある。特許文献1には、パスワードの入力が必要なウェブサービスについても、応答時間を測定することを可能とする測定システムが記載されている。特許文献2には、複数の計算機にジョブを割り当てるスケジューリングが記載されている。   There are the following technical documents related to the measurement of TAT for web services. Patent Document 1 describes a measurement system that can measure response time even for a web service that requires a password input. Patent Document 2 describes scheduling for assigning jobs to a plurality of computers.

特許文献3には、ウェブサービスで実行される「シナリオ」を分割して実行することが記載されている。特許文献4には、ウェブサービスで実際にユーザが体験する応答時間を測定するという応答時間測定モニタが記載されている。非特許文献1には、ウェブサービスのTATを測定する製品の具体的な一例が記載されている(「プローブオプション」欄の「Webシナリオ稼動監視」の項目を参照されたい)。   Patent Document 3 describes that a “scenario” executed by a web service is divided and executed. Patent Document 4 describes a response time measurement monitor that measures a response time that a user actually experiences in a web service. Non-Patent Document 1 describes a specific example of a product that measures the TAT of a web service (refer to the item “Web scenario operation monitoring” in the “Probe option” column).

特開2002915475号公報JP200002915475A 特開2005−031771号公報JP 2005-031771 A 特開2008−250953号公報JP 2008-250953 A 特開平11−110312号公報Japanese Patent Laid-Open No. 11-110312

日本電気株式会社、「WebSAM Application Navigator−特長・機能」、[online][平成21年7月24日検索]、インターネット<URL:http://www.nec.co.jp/middle/WebSAM/products/appnavi/kinou.html>NEC Corporation, “WebSAM Application Navigator-Features / Functions”, [online] [searched July 24, 2009], Internet <URL: http://www.nec.co.jp/middle/WebSAM/products /appnavi/kinou.html>

このようなTATの測定で、1台の測定装置が複数のシナリオを実行すると、複数のアクセス処理が同時に実行されるタイミングが発生しうる。複数の処理が同時に実行されることによって、この装置自体に処理のオーバーヘッドが発生して応答レスポンスが遅延し、正確なTATの測定が困難となることがある。   In such TAT measurement, when one measuring device executes a plurality of scenarios, a timing at which a plurality of access processes are simultaneously executed may occur. When a plurality of processes are executed simultaneously, processing overhead occurs in the apparatus itself, response response is delayed, and accurate TAT measurement may be difficult.

スケジュールの最適化によって、1台の測定装置で複数のアクセス処理が同時に実行されることを防止することも考えられる。しかしながら、それだと計測対象となるシナリオが場合によって数百〜数千単位になることもあるので、このような場合にはスケジュールの最適化自体が困難となる。   It may be possible to prevent a plurality of access processes from being simultaneously executed by one measuring device by optimizing the schedule. However, since the scenario to be measured may be several hundred to several thousand units depending on the case, it is difficult to optimize the schedule in such a case.

さらに、複数の測定装置を用意して、複数のシナリオを各々の装置に割り振って同時に実行可能なようにすることも考えられる。しかしながら、上記のシナリオで示される動作は、本来はユーザが操作する1つの端末で行われるものである。そのため、特にIDやパスワードなどをクッキーに記憶する必要があるウェブサービスについては、シナリオをステップごとに分割して各々を別々の測定装置に実行させるようにすることは不可能であるので、複数の測定装置を用意してもアクセス処理にかかる負荷を有効に分散することはできない。   Furthermore, it is conceivable to prepare a plurality of measuring devices and allocate a plurality of scenarios to each device so that they can be executed simultaneously. However, the operation shown in the above scenario is originally performed by one terminal operated by the user. Therefore, especially for web services that need to store IDs, passwords, etc. in cookies, it is impossible to divide a scenario into steps and have each measurement device execute them. Even if a measuring device is prepared, the load on access processing cannot be distributed effectively.

特許文献1〜4および非特許文献1には、単一のシナリオからTATを測定する技術、特にパスワードなどの入力を必要とするウェブサービスに対してTATを測定する技術は記載されているが、このような複数のシナリオが同時に実行されることによって発生する問題を解決しうる構成は記載されていない。特に、複数のシナリオをステップごとに分割してTATを測定することを可能とする構成は記載されていない。   Patent Documents 1 to 4 and Non-Patent Document 1 describe a technique for measuring TAT from a single scenario, particularly a technique for measuring TAT for a web service that requires input of a password or the like. There is no description of a configuration that can solve the problem that occurs when such a plurality of scenarios are executed simultaneously. In particular, there is no description of a configuration that makes it possible to measure a TAT by dividing a plurality of scenarios for each step.

本発明の目的は、アクセス処理にかかる負荷を有効に分散してTATを正確に測定することを可能とするTAT測定装置、TAT測定方法およびTAT測定プログラムを提供することにある。   An object of the present invention is to provide a TAT measurement apparatus, a TAT measurement method, and a TAT measurement program that can accurately measure a TAT by effectively distributing a load applied to an access process.

上記目的を達成するため、本発明に係るTAT測定装置は、ユーザによる操作に対するウェブサーバのTAT(Turnaround Time)を測定するTAT測定装置であって、複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段と、複数のリクエスト生成手段の動作を制御する制御手段とを備え、制御手段が、リクエスト生成手段が実行すべき操作内容と操作内容の段階ごとに対応するクッキー情報である応答パラメータとを記録しているレスポンス情報テーブルと、複数のリクエスト生成手段の中で空いているものを検索する空き検索部と、空いているリクエスト生成手段に段階ごとの操作内容と応答パラメータとを割り当てて実行させる実行指示部と、リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介し、アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれをTATとするプロキシサーバ部とを備えたことを特徴とする。   In order to achieve the above object, a TAT measuring apparatus according to the present invention is a TAT measuring apparatus that measures a TAT (Turnaround Time) of a web server in response to an operation by a user, and generates a plurality of operations by a plurality of users in a pseudo manner. A response that is cookie information corresponding to the operation content to be executed by the request generation unit and each stage of the operation content, and a control unit that controls operations of the plurality of request generation units. Response information table that records parameters, empty search part that searches for empty ones among multiple request generation means, and operation contents and response parameters for each stage are assigned to empty request generation means Mediating the access to the execution instruction unit to be executed and the web server generated by the request generation means. This measures the time from Seth until the response to this is returned, characterized in that a proxy server unit to TAT.

上記目的を達成するため、本発明に係るTAT測定方法は、複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段を備え、実行すべき操作内容と、操作内容の段階ごとに対応するクッキー情報である応答パラメータとをあらかじめ記憶しているTAT(Turnaround Time)測定装置にあって、ユーザによる操作に対するウェブサーバのTATを測定するTAT測定方法であって、複数のリクエスト生成手段の中で空いているものを検索し、空いているリクエスト生成手段に段階ごとの操作内容と応答パラメータとを割り当てて実行させ、リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介し、アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれをTATとすることを特徴とする。   In order to achieve the above object, the TAT measurement method according to the present invention includes a plurality of request generation means for generating pseudo operations by a plurality of users, and corresponds to each operation content to be executed and each operation content stage. A TAT (Turnaround Time) measuring device that stores in advance a response parameter that is cookie information to be measured, the TAT measuring method for measuring the TAT of a web server in response to an operation by a user, and a plurality of request generating means Search for an empty request, assign the operation contents and response parameters for each stage to the empty request generation means, execute, and mediate the access to the web server generated by the request generation means. The time until the response to the response is returned is measured and this is set as TAT.

上記目的を達成するため、本発明に係るTAT測定プログラムは、複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段を備え、実行すべき操作内容と、操作内容の段階ごとに対応するクッキー情報である応答パラメータとをあらかじめ記憶しているTAT(Turnaround Time)測定装置にあって、TAT測定装置が備えているコンピュータに、複数のリクエスト生成手段の中で空いているものを検索する手順と、空いているリクエスト生成手段に段階ごとの操作内容と応答パラメータとを割り当てて実行させる手順と、リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介する手順と、アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれをTATとする手順とを実行させることを特徴とする。   In order to achieve the above object, a TAT measurement program according to the present invention includes a plurality of request generation means for generating pseudo operations by a plurality of users, and corresponds to each operation content to be executed and each operation content stage. A TAT (Turnaround Time) measuring device that stores in advance response parameters that are cookie information to be searched, and searches for a free one of a plurality of request generating means in a computer provided in the TAT measuring device. A procedure, a procedure for assigning an operation content and a response parameter for each stage to an empty request generation means, a procedure for mediating access to the web server generated by the request generation means, and a response to the response from the access Measuring the time until a reply is made and executing this procedure as TAT To.

本発明は上述したように、ステップごとに必要な応答パラメータを記憶したレスポンス情報DBを備えるように構成したので、複数のリクエスト生成手段にステップごとの処理を割り振って実行させることが可能である。これによって、多数のシナリオをステップごとに分割して正確なTATを計測することが可能であるという、優れた特徴を持つTAT測定装置、TAT測定方法およびTAT測定プログラムを提供することができる。   As described above, since the present invention is configured to include the response information DB storing the response parameters necessary for each step, it is possible to allocate and execute processing for each step to a plurality of request generation means. Accordingly, it is possible to provide a TAT measuring apparatus, a TAT measuring method, and a TAT measuring program having an excellent feature that it is possible to measure an accurate TAT by dividing a large number of scenarios for each step.

本発明の実施形態に係る応答監視装置全体の構成を示す説明図である。It is explanatory drawing which shows the structure of the whole response monitoring apparatus which concerns on embodiment of this invention. 図1で示したリクエスト生成手段および制御手段の、ソフトウェアとしてのより詳しい構成を示す説明図である。It is explanatory drawing which shows the more detailed structure as a software of the request production | generation means and control means shown in FIG. 図2で示した監視DBに含まれるシナリオ属性テーブルおよびリクエスト生成手段属性テーブルの記憶内容について示す説明図である。It is explanatory drawing shown about the memory content of the scenario attribute table and request production | generation means attribute table contained in the monitoring DB shown in FIG. 図2で示した監視DBに含まれるレスポンス情報テーブルおよび測定結果テーブルの記憶内容について示す説明図である。It is explanatory drawing shown about the memory | storage content of the response information table and measurement result table which are contained in monitoring DB shown in FIG. 図1〜2で示した応答監視装置で定義されるシナリオの内容の一例を示す説明図である。It is explanatory drawing which shows an example of the content of the scenario defined with the response monitoring apparatus shown in FIGS. 図1〜2で示した制御手段がリクエスト生成手段に動作内容を示すシナリオを割り振る動作で、そのステップが初期ステップである場合の動作について示すフローチャートである。It is a flowchart which shows operation | movement when the control means shown in FIGS. 1-2 is the operation | movement which allocates the scenario which shows operation | movement content to a request production | generation means, and the step is an initial step. 図6のステップS408で実行待ちのステップの内容を受け取ったリクエスト生成手段およびTAT監視部が実行する動作で、そのステップが初期ステップである場合の動作について示すフローチャートである。FIG. 7 is a flowchart illustrating an operation performed by the request generation unit and the TAT monitoring unit that have received the contents of a step waiting for execution in step S <b> 408 in FIG. 6, when the step is an initial step. 図7の動作に続いて、実行待ちの中間ステップの内容がシナリオ実行指示部240からに渡された場合にリクエスト生成手段およびTAT監視部が実行する動作について示すフローチャートである。FIG. 9 is a flowchart showing operations executed by the request generation unit and the TAT monitoring unit when the contents of an intermediate step waiting for execution are transferred from the scenario execution instruction unit 240 following the operation of FIG. 7. 図8のステップS602として示されたリクエスト生成手段の空きの検索と中間ステップの実行指示の動作について示すフローチャートである。FIG. 9 is a flowchart showing empty request search and intermediate step execution instruction operations shown as step S602 in FIG. 8; FIG. 図7〜8の動作に続いて、実行待ちの最終ステップの内容がシナリオ実行指示部から渡された場合にリクエスト生成手段およびTAT監視部が実行する動作について示すフローチャートである。FIG. 9 is a flowchart showing operations executed by the request generation unit and the TAT monitoring unit when the contents of the final step waiting for execution are delivered from the scenario execution instruction unit following the operations of FIGS. ここまでで説明した応答監視装置で実際に、制御手段が複数のリクエスト生成手段の各々に複数のシナリオをステップ単位で動作を割り振る動作の一例を示す説明図である。It is explanatory drawing which shows an example of operation | movement in which the control means actually allocates a several scenario to each of several request production | generation means in step unit with the response monitoring apparatus demonstrated so far.

(第1の実施形態)
以下、本発明の実施形態の構成について添付図1〜2に基づいて説明する。
最初に、本実施形態の基本的な内容について説明し、その後でより具体的な内容について説明する。
本実施形態に係るTAT測定装置(応答監視装置10)は、ユーザによる操作に対するウェブサーバのTAT(Turnaround Time)を測定する装置である。この装置は、複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段110〜130と、複数のリクエスト生成手段の動作を制御する制御手段200とを備える。この制御手段が、リクエスト生成手段が実行すべき操作内容と、操作内容の段階ごとに対応するクッキー情報である応答パラメータとを記録しているレスポンス情報テーブル293と、複数のリクエスト生成手段の中で空いているものを検索する空き検索部230と、空いているリクエスト生成手段に段階ごとの操作内容と応答パラメータとを割り当てて実行させる実行指示部(シナリオ実行指示部240)と、リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介し、アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれをTATとするプロキシサーバ部(TAT監視部260)とを備えている。
(First embodiment)
Hereinafter, the configuration of an embodiment of the present invention will be described with reference to FIGS.
First, the basic content of the present embodiment will be described, and then more specific content will be described.
The TAT measurement device (response monitoring device 10) according to the present embodiment is a device that measures a TAT (Turnaround Time) of a web server in response to an operation by a user. This apparatus includes a plurality of request generation units 110 to 130 that artificially generate operations by a plurality of users, and a control unit 200 that controls operations of the plurality of request generation units. The control means includes a response information table 293 that records the operation contents to be executed by the request generation means and response parameters that are cookie information corresponding to each stage of the operation contents, and a plurality of request generation means. An empty search unit 230 that searches for an empty one, an execution instruction unit (scenario execution instruction unit 240) that assigns an operation content and a response parameter for each stage to an empty request generation unit, and executes the request generation unit. A proxy server unit (TAT monitoring unit 260) that mediates the access to the generated web server, measures the time from the access until a response to the response is returned, and sets this as TAT.

このプロキシサーバ部は、リクエスト生成手段からウェブサーバへのアクセスの発生時刻と、これに対するウェブサーバからリクエスト生成手段へのレスポンスの発生時刻とを記録し、これらの時刻からTATを取得するTAT算出機能263を備えている。また実行指示部は、リクエスト生成手段に対して段階ごとの操作内容を実行させる直前に、当該段階の1つ前の段階の操作結果に対するウェブサーバからのレスポンスの確認をそのリクエスト生成手段に実行させる機能を備える。   This proxy server unit records the occurrence time of the access from the request generation means to the web server and the occurrence time of the response from the web server to the request generation means, and obtains the TAT from these times. H.263. Further, the execution instruction unit causes the request generation unit to check the response from the web server for the operation result of the step immediately before the step immediately before causing the request generation unit to execute the operation contents for each step. It has a function.

制御手段はさらに、複数のリクエスト生成手段の中に空いているものが無い場合に、段階ごとの操作内容を予め用意されたシナリオ実行キュー251に一時的に記憶させると共に、複数のリクエスト生成手段の中に空きが生じ次第段階ごとの操作内容をその空いたリクエスト生成手段に実行させるシナリオ待機部250を備えている。そして制御手段は、ユーザによるウェブサーバに対する操作を記録して、段階ごとの操作内容として記憶するシナリオレコーダ部210も備えている。   The control unit further temporarily stores the operation contents for each stage in the prepared scenario execution queue 251 when there is no available request generation unit among the plurality of request generation units. A scenario standby unit 250 is provided for causing the vacant request generation means to execute the operation content for each stage as soon as a vacancy occurs therein. The control unit also includes a scenario recorder unit 210 that records operations performed by the user on the web server and stores them as operation contents for each stage.

制御手段はまた、複数のリクエスト生成手段の各々のIPアドレスと、複数のリクエスト生成手段の各々が使用中であるか否かを示す使用状況とを記憶したリクエスト生成手段属性テーブル292も備えている。そして実行指示部は、段階ごとの操作内容をリクエスト生成手段に割り当てる際に、その段階ごとの操作内容を割り当てたリクエスト生成手段をプロキシサーバ部に通知する機能を備えている。   The control unit also includes a request generation unit attribute table 292 that stores the IP address of each of the plurality of request generation units and the usage status indicating whether each of the plurality of request generation units is in use. . The execution instruction unit has a function of notifying the proxy server unit of the request generation unit to which the operation content for each step is allocated when the operation content for each step is allocated to the request generation unit.

そしてリクエスト生成手段110は、実行指示部からの段階ごとの操作内容の実行指示を受信するシナリオ実行指示受信部111と、段階ごとの操作内容に基づくリクエストをウェブサーバに送信するリクエスト送信部112と、リクエストに対するウェブサーバからのレスポンスを受信するレスポンス受信部113と、レスポンスを画面表示する応答画面表示部114と、レスポンスが正当な応答であるか否かを判断してその判断結果をレスポンス情報テーブルに記録させるレスポンス情報送信部115とを備えている。   The request generation unit 110 includes a scenario execution instruction receiving unit 111 that receives an execution instruction for the operation content for each step from the execution instruction unit, and a request transmission unit 112 that transmits a request based on the operation content for each step to the web server. A response reception unit 113 that receives a response from the web server to the request, a response screen display unit 114 that displays the response on the screen, and determines whether or not the response is a valid response and displays the determination result in the response information table And a response information transmission unit 115 to be recorded.

この構成を備えることにより、TAT測定装置は、多数のシナリオをステップごとに分割して正確なTATを計測することが可能となる。
以下、これをより詳細に説明する。
By providing this configuration, the TAT measuring apparatus can measure an accurate TAT by dividing a large number of scenarios for each step.
Hereinafter, this will be described in more detail.

図1は、本発明の実施形態に係る応答監視装置10全体の構成を示す説明図である。応答監視装置10は通常のコンピュータ装置で構成され、インターネット20を介して、監視対象となるウェブサービスを提供するウェブサーバ30および31に接続する。   FIG. 1 is an explanatory diagram showing the overall configuration of the response monitoring apparatus 10 according to the embodiment of the present invention. The response monitoring device 10 is configured by a normal computer device, and is connected via the Internet 20 to web servers 30 and 31 that provide web services to be monitored.

ただし、応答監視装置10は1台のコンピュータ装置であっても複数台のコンピュータ装置であってもよい。本実施形態では、応答監視装置10が1台のコンピュータ装置である例を示す。また、監視対象となるウェブサーバ30および31は、図1では2台のみを表記しているが、いくつあっても構わない。以後、特に必要のある場合を除いては、それらを総称してウェブサーバ30という。   However, the response monitoring apparatus 10 may be a single computer apparatus or a plurality of computer apparatuses. In the present embodiment, an example in which the response monitoring apparatus 10 is a single computer apparatus is shown. Further, although only two web servers 30 and 31 to be monitored are shown in FIG. 1, any number of web servers 30 and 31 may be provided. Hereinafter, these are collectively referred to as the web server 30 unless otherwise required.

応答監視装置10は、コンピュータプログラムを実行する主体となるプロセッサ11と、コンピュータプログラムおよびデータを記憶する記憶手段12と、データの入出力を行う入出力手段13と、インターネット20を介して他のコンピュータ装置とのデータ通信を行う通信手段14とを備える。   The response monitoring apparatus 10 includes a processor 11 that executes a computer program, a storage unit 12 that stores a computer program and data, an input / output unit 13 that inputs and outputs data, and another computer via the Internet 20. And communication means 14 for performing data communication with the apparatus.

プロセッサ11では、第1〜第3のリクエスト生成手段110、120、130、および制御手段200が、コンピュータプログラムとして実行される。本実施形態では3つのリクエスト生成手段が実行されるという例を示しているが、実際にはリクエスト生成手段は2つ以上いくつ動作していてもよい。制御手段200は、それら第1〜第3のリクエスト生成手段110〜130を制御して動作させる。また記憶手段12には、後述の各テーブルを含む監視DB(データベース)290と、後述のシナリオ実行キュー251とが記憶される。   In the processor 11, the first to third request generation means 110, 120, and 130 and the control means 200 are executed as computer programs. In the present embodiment, an example is shown in which three request generation units are executed, but in actuality, any number of two or more request generation units may be operating. The control unit 200 controls and operates the first to third request generation units 110 to 130. The storage unit 12 stores a monitoring DB (database) 290 including each table described later and a scenario execution queue 251 described later.

図2は、図1で示した第1〜第3のリクエスト生成手段110〜130および制御手段200の、ソフトウェアとしてのより詳しい構成を示す説明図である。図2中の矢印は、各部の間での情報の流れを観念的に示す。   FIG. 2 is an explanatory diagram showing a more detailed configuration of the first to third request generation means 110 to 130 and the control means 200 shown in FIG. 1 as software. The arrows in FIG. 2 conceptually show the flow of information between the parts.

リクエスト生成手段110は、シナリオ実行指示受信部111、リクエスト送信部112、レスポンス受信部113、応答画面表示部114、レスポンス情報送信部115といった各機能手段を備える。同様に、リクエスト生成手段120および130も、リクエスト生成手段110と同一の各機能部を備え、同じように制御手段200からの制御を受けて動作する。リクエスト生成手段120および130の構成は、リクエスト生成手段110の構成と同一であるので、図2では細かい記載を省略している。   The request generation unit 110 includes functional units such as a scenario execution instruction reception unit 111, a request transmission unit 112, a response reception unit 113, a response screen display unit 114, and a response information transmission unit 115. Similarly, the request generation means 120 and 130 include the same functional units as the request generation means 110, and operate under the same control from the control means 200. Since the configuration of the request generation means 120 and 130 is the same as the configuration of the request generation means 110, detailed description is omitted in FIG.

リクエスト生成手段120はシナリオ実行指示受信部121…を備え、リクエスト生成手段130はシナリオ実行指示受信部131…を備えるというように、リクエスト生成手段120が備える各部は参照番号の百の位と十の位を「12」とし、リクエスト生成手段130が備える各部は参照番号の百の位と十の位を「13」とする。   The request generating means 120 includes a scenario execution instruction receiving unit 121... And the request generating unit 130 includes a scenario execution instruction receiving unit 131. The order is “12”, and the units included in the request generation unit 130 are the hundreds and tens of the reference number “13”.

シナリオ実行指示受信部111(121、131)は、後述する制御手段200のシナリオ実行指示部240から動作内容について指示を受ける。リクエスト送信部112(122、132)は、指示された動作内容通りの疑似アクセスをウェブサーバ30に対して発生させる。レスポンス受信部113(123、133)は、この疑似アクセスに対するウェブサーバ30からのレスポンスを受信する。   The scenario execution instruction receiving unit 111 (121, 131) receives an instruction regarding the operation content from a scenario execution instruction unit 240 of the control unit 200 described later. The request transmission unit 112 (122, 132) causes the web server 30 to generate pseudo access according to the instructed operation content. The response receiving unit 113 (123, 133) receives a response from the web server 30 for this pseudo access.

応答画面表示部114(124、134)はウェブブラウザであり、ウェブサーバ30から受信したレスポンスをこのウェブブラウザの画面として表示する。レスポンス情報送信部115(125、135)は、そのウェブブラウザに表示された画面のレスポンスがエラーの発生していない正しい画面であるか否かを確認して、その確認結果を後述する制御手段200のDB制御部220に送信して記録させる。   The response screen display unit 114 (124, 134) is a web browser, and displays the response received from the web server 30 as the screen of the web browser. The response information transmitting unit 115 (125, 135) confirms whether or not the response of the screen displayed on the web browser is a correct screen in which no error has occurred, and the control unit 200 described later with the confirmation result. Are sent to the DB control unit 220 for recording.

制御手段200は、シナリオレコーダ部210、DB制御部220、空き検索部230、シナリオ実行指示部240、シナリオ待機部250、TAT監視部260、レスポンス情報監視部270、実行タイマー部280といった各機能部を備える。   The control unit 200 includes functional units such as a scenario recorder unit 210, a DB control unit 220, an empty search unit 230, a scenario execution instruction unit 240, a scenario standby unit 250, a TAT monitoring unit 260, a response information monitoring unit 270, and an execution timer unit 280. Is provided.

シナリオレコーダ部210は、ユーザから入出力手段13を介して入力されたウェブサイトに対する操作内容を記録し、DB制御部220に後述するシナリオとして記憶させる。DB制御部220は、記憶手段12に記憶された監視DB290に含まれるシナリオ属性テーブル291、リクエスト生成手段属性テーブル292、レスポンス情報テーブル293、測定結果テーブル294といった各テーブルの記憶内容の参照および更新を行う。   The scenario recorder unit 210 records the operation content for the website input from the user via the input / output means 13 and stores it in the DB control unit 220 as a scenario to be described later. The DB control unit 220 refers to and updates the storage contents of each table such as the scenario attribute table 291, the request generation unit attribute table 292, the response information table 293, and the measurement result table 294 included in the monitoring DB 290 stored in the storage unit 12. Do.

空き検索部230は、第1〜第3のリクエスト生成手段110〜130の中で空いているものを検索する。シナリオ実行指示部240は、シナリオの中で実行すべきステップの動作を、空き検索部230で検索された空きのリクエスト生成手段に実行させる。シナリオ待機部250は、第1〜第3のリクエスト生成手段110〜130に空きがなく、実行待ちになったステップの動作を、記憶手段12内のシナリオ実行キュー251にキュー(先入れ先出し)方式で記憶し、第1〜第3のリクエスト生成手段110〜130に空きができ次第実行させられるようにする。   The empty search unit 230 searches for empty ones among the first to third request generation units 110 to 130. The scenario execution instructing unit 240 causes the empty request generating unit searched by the empty searching unit 230 to execute the operation of the step to be executed in the scenario. The scenario standby unit 250 stores the operation of the step waiting for execution in the first to third request generation units 110 to 130 in the scenario execution queue 251 in the storage unit 12 by a queue (first-in first-out) method. The first to third request generation units 110 to 130 are made to execute as soon as they are available.

TAT監視部260はプロキシサーバとしての機能を備え、第1〜第3のリクエスト生成手段110〜130からウェブサーバ30への疑似アクセスを仲介すると共にこのアクセスの発生時刻を取得するアクセス仲介機能部262と、この疑似アクセスに対するウェブサーバ30から第1〜第3のリクエスト生成手段110〜130へのレスポンスを仲介すると共にこのレスポンスの発生時刻を取得するレスポンス仲介機能部261と、アクセス仲介機能部262とレスポンス仲介機能部261が取得した時刻からTATを算出するTAT算出機能部263とを備える。算出されたTATは、DB制御部220を介してレスポンス情報テーブル293に記録される。   The TAT monitoring unit 260 has a function as a proxy server, mediates pseudo access to the web server 30 from the first to third request generation units 110 to 130, and acquires an occurrence time of this access. A response mediation function unit 261 that mediates a response from the web server 30 to the first to third request generation units 110 to 130 with respect to the pseudo access, and acquires an occurrence time of the response, an access mediation function unit 262, And a TAT calculation function unit 263 that calculates TAT from the time acquired by the response mediation function unit 261. The calculated TAT is recorded in the response information table 293 via the DB control unit 220.

レスポンス情報監視部270は、記録されたTATに対して分析を行い、このTATを分析結果と共に入出力手段13に出力する。ここでいう分析とは、たとえばTATが特定の閾値以上である、あるいはレスポンス画面にエラーが発生したなどのような場合を検出して、管理者に警報を発するなどのようなことである。実行タイマー部280は、たとえば1分に1度などのような実行間隔をカウントし、後述の処理を実行させる。   The response information monitoring unit 270 analyzes the recorded TAT, and outputs this TAT to the input / output unit 13 together with the analysis result. The analysis here refers to, for example, detecting a case where the TAT is equal to or greater than a specific threshold or an error has occurred on the response screen, and issuing an alarm to the administrator. The execution timer unit 280 counts an execution interval such as once per minute, for example, and executes processing described later.

図3〜4は、図2で示した監視DB290に含まれるシナリオ属性テーブル291、リクエスト生成手段属性テーブル292、レスポンス情報テーブル293、測定結果テーブル294の記憶内容について示す説明図である。図3に示すシナリオ属性テーブル291には、シナリオ名291a、実行間隔291b、次回実行開始時間291c、ステップ名291dといった各内容が記憶される。やはり図3に示すリクエスト生成手段属性テーブル292には、リクエスト生成手段名292a、リクエスト生成手段のIPアドレス292b、現在の使用状況292cといった各内容が記憶される。   3 to 4 are explanatory diagrams showing storage contents of the scenario attribute table 291, the request generation unit attribute table 292, the response information table 293, and the measurement result table 294 included in the monitoring DB 290 shown in FIG. 2. The scenario attribute table 291 shown in FIG. 3 stores contents such as a scenario name 291a, an execution interval 291b, a next execution start time 291c, and a step name 291d. The request generation unit attribute table 292 shown in FIG. 3 also stores the contents such as the request generation unit name 292a, the IP address 292b of the request generation unit, and the current usage status 292c.

ここで実行間隔291bは、後述するようにユーザの入力に基づいてシナリオレコーダ部210がDB制御部220を介して記憶する記録内容である。これに対して次回実行開始時間291cは、時間の経過と共にDB制御部220が減算していく記録内容であり、これが「0」になると、これに対応するシナリオの実行が開始される。   Here, the execution interval 291b is recorded content that the scenario recorder unit 210 stores via the DB control unit 220 based on user input, as will be described later. On the other hand, the next execution start time 291c is the recorded content that is subtracted by the DB control unit 220 with the passage of time. When this becomes “0”, the execution of the scenario corresponding thereto is started.

図4に示すレスポンス情報テーブル293には、シナリオ名291a、ステップ名291d、遷移前URL(Uniform Resource Locator)293a、応答パラメータ293b、および遷移後URL293cといった各内容が記憶される。シナリオ名291aおよびステップ名291dは、シナリオ属性テーブル291にある同名のデータと対応する。遷移前URL293aおよび応答パラメータ293bは、第1〜第3のリクエスト生成手段110〜130が制御手段200を経てウェブサーバ30に接続して処理を行わせる際に必要なデータである。その処理が完了すれば、遷移後URL293cの画面に移動する。言い換えれば、処理完了後に遷移後URL293cの画面に移動していれば、その処理は成功したということになる。   The response information table 293 illustrated in FIG. 4 stores contents such as a scenario name 291a, a step name 291d, a pre-transition URL (Uniform Resource Locator) 293a, a response parameter 293b, and a post-transition URL 293c. The scenario name 291a and the step name 291d correspond to the data of the same name in the scenario attribute table 291. The pre-transition URL 293a and the response parameter 293b are data necessary when the first to third request generation units 110 to 130 connect to the web server 30 via the control unit 200 and perform processing. When the processing is completed, the screen moves to the post-transition URL 293c screen. In other words, if the screen moves to the post-transition URL 293c screen after the processing is completed, the processing is successful.

やはり図4に示す測定結果テーブル294には、シナリオ名291a、ステップ名291d、および測定結果294aといった各内容が記憶される。シナリオ名291aおよびステップ名291dは、シナリオ属性テーブル291にある同名のデータと対応する。また測定結果294aは、計測を行った日時294bと、その日時に計測されたTAT294cとの組が単数または複数個で構成される。   In the measurement result table 294 also shown in FIG. 4, the contents such as the scenario name 291a, the step name 291d, and the measurement result 294a are stored. The scenario name 291a and the step name 291d correspond to the data of the same name in the scenario attribute table 291. In addition, the measurement result 294a includes one or a plurality of sets of the date / time 294b when the measurement is performed and the TAT 294c measured at the date / time.

図5は、図1〜2で示した応答監視装置10で定義されるシナリオの内容の一例を示す説明図である。たとえばユーザが「あるネットショップでの買い物」をするという場面を想定すると、まずウェブサーバ30にアクセスしてログイン画面301を開いたユーザは、ここでIDおよびパスワードを入力して「送信」ボタンを押す。すると、表示画面は商品選定画面302に進む。   FIG. 5 is an explanatory diagram showing an example of the contents of the scenario defined by the response monitoring apparatus 10 shown in FIGS. For example, assuming a scene where the user performs “shopping at a certain net shop”, the user who first accesses the web server 30 and opens the login screen 301 inputs the ID and password here and clicks the “Send” button. Push. Then, the display screen proceeds to the product selection screen 302.

続いてユーザは、商品選定画面302で商品番号を選択して「この商品を選択」ボタンを押す。すると、表示画面は確認画面303に進む。続いてユーザは、確認画面303で購入点数を入力して「確認」ボタンを押す。すると、表示画面は確定画面304に進む。最後にユーザは、確定画面304で送付先住所を入力して「確定」ボタンを押す。以上で商品の購入が確定し、一連の動作が完了して完了画面305が表示される。ここまでの過程でユーザが入力した内容は、ウェブブラウザのCookieに記憶される。   Subsequently, the user selects a product number on the product selection screen 302 and presses a “select this product” button. Then, the display screen proceeds to the confirmation screen 303. Subsequently, the user inputs the purchase points on the confirmation screen 303 and presses the “confirm” button. Then, the display screen proceeds to the confirmation screen 304. Finally, the user inputs a delivery address on the confirmation screen 304 and presses the “confirm” button. Thus, the purchase of the product is confirmed, a series of operations are completed, and a completion screen 305 is displayed. The contents input by the user in the process so far are stored in the cookie of the web browser.

ユーザはあらかじめこの操作を応答監視装置10の端末上で行い、シナリオレコーダ部210はユーザが行った動作を記録する。より具体的には、ユーザが入力したID、パスワード、商品番号、購入点数、送付先住所などについての入力内容、「送信」「確認」などユーザが操作したボタンなどの入力要素名、各画面のURL、そして操作の過程でウェブブラウザのCookieに記憶される内容などである。   The user performs this operation on the terminal of the response monitoring apparatus 10 in advance, and the scenario recorder unit 210 records the operation performed by the user. More specifically, input contents such as IDs, passwords, product numbers, purchase points, delivery addresses, etc. entered by the user, input element names such as buttons operated by the user such as “Send”, “Confirm”, etc. The URL and the contents stored in the cookie of the web browser in the course of operation.

シナリオレコーダ部210はDB制御部220を介して、シナリオ属性テーブル291およびレスポンス情報テーブル293に記憶する。シナリオ名291aは、たとえば「ネットショップ○○での買い物」などのようにユーザが任意に定義することができる。ステップ名291dは、たとえば各操作ステップごとに与えられる連番である。   The scenario recorder unit 210 stores the scenario attribute table 291 and the response information table 293 via the DB control unit 220. The scenario name 291a can be arbitrarily defined by the user, for example, “shopping at the net shop XX”. The step name 291d is a sequential number given for each operation step, for example.

図3〜図5に示された例では、シナリオ名を「A」とし、ログイン画面301から商品選定画面302への遷移をステップ名「A1」、商品選定画面302から確認画面303への遷移をステップ名「A2」、確認画面303から確定画面304への遷移をステップ名「A3」、確定画面304から完了画面305への遷移をステップ名「A4」と定義する。また、各々のシナリオで最初に実行されるステップのことを先頭ステップといい、最後に実行されるステップのことを最終ステップ、先頭ステップにも最終ステップにも該当しないステップのことを中間ステップという。シナリオ名「A」の先頭ステップは「A1」、最終ステップ「A4」は、中間ステップは「A2」および「A3」である。   In the example shown in FIGS. 3 to 5, the scenario name is “A”, the transition from the login screen 301 to the product selection screen 302 is the step name “A1”, and the transition from the product selection screen 302 to the confirmation screen 303 is performed. A step name “A2”, a transition from the confirmation screen 303 to the confirmation screen 304 is defined as a step name “A3”, and a transition from the confirmation screen 304 to the completion screen 305 is defined as a step name “A4”. The first step executed in each scenario is referred to as a first step, the last step executed is referred to as a final step, and a step that does not correspond to the first step or the final step is referred to as an intermediate step. The first step of the scenario name “A” is “A1”, the final step “A4” is the intermediate steps “A2” and “A3”.

各画面のURLはレスポンス情報テーブル293の遷移前URL293a、入力されたIDおよびパスワード、およびCookieの内容などはレスポンス情報テーブル293の応答パラメータ293bとして記憶される。そして、ユーザは上記のシナリオおよび各ステップとして定義したこれらの処理を行わせようとする時間を入力すると、シナリオレコーダ部210はDB制御部220を介してシナリオ属性テーブル291の実行間隔291bとして記憶する。   The URL of each screen is stored as the response parameter 293b of the response information table 293, the URL 293a before the transition of the response information table 293, the input ID and password, the contents of the cookie, and the like. Then, when the user inputs the above scenario and the time to perform these processes defined as each step, the scenario recorder unit 210 stores the execution interval 291b of the scenario attribute table 291 via the DB control unit 220. .

図6は、図1〜2で示した制御手段200が第1〜第3のリクエスト生成手段110〜130に動作内容を示すシナリオを割り振る動作で、そのステップが初期ステップである場合の動作について示すフローチャートである。シナリオ属性テーブル291およびレスポンス情報テーブル293には、前述したシナリオ属性とリクエスト生成手段属性とがシナリオレコーダ部210によってあらかじめ記憶されている。   FIG. 6 shows an operation in which the control unit 200 shown in FIGS. 1 and 2 allocates a scenario indicating the operation content to the first to third request generation units 110 to 130, and that step is an initial step. It is a flowchart. In the scenario attribute table 291 and the response information table 293, the scenario recorder and the request generation unit attribute described above are stored in advance by the scenario recorder unit 210.

まず実行タイマー部280が実行間隔をカウントし(ステップS401)、実行間隔が来ればDB制御部220が次回実行開始時間291cを更新する(ステップS402)。ステップS402では、時間の経過と共に次回実行開始時間291cを減算する。   First, the execution timer unit 280 counts the execution interval (step S401), and when the execution interval comes, the DB control unit 220 updates the next execution start time 291c (step S402). In step S402, the next execution start time 291c is subtracted with the passage of time.

そしてDB制御部220は、シナリオ属性テーブル291に記憶された各々のシナリオについて次回実行開始時間291cが0となったシナリオがあるか否かについて判断する(ステップS403)。まずここでは前述の「シナリオA」の先頭ステップである「ステップA1」が実行対象となるものとする。   Then, the DB control unit 220 determines whether there is a scenario in which the next execution start time 291c is 0 for each scenario stored in the scenario attribute table 291 (step S403). First, it is assumed that “step A1”, which is the first step of “scenario A” described above, is an execution target.

次回実行開始時間291cが0となったシナリオがあれば、これはすぐに動作を開始されるべきシナリオであるので、その先頭ステップについて、空き検索部230がリクエスト生成手段属性テーブル292の使用状況292cを参照して、現在使用されていない(空きの)リクエスト生成手段110〜130が存在するか否かについて判断する(ステップS404)。ここで第1〜第3のリクエスト生成手段110〜130のうち、第1のリクエスト生成手段110が空いているものとする。   If there is a scenario in which the next execution start time 291c becomes 0, this is a scenario that should be started immediately, so that the empty search unit 230 uses the request generation means attribute table 292 usage status 292c for the first step. Referring to FIG. 5, it is determined whether or not there are currently unused (empty) request generation units 110 to 130 (step S404). Here, it is assumed that, among the first to third request generation units 110 to 130, the first request generation unit 110 is free.

空きがあれば、DB制御部220は、リクエスト生成手段属性テーブル292の第1のリクエスト生成手段110の現在の使用状況292cを「使用中」とする(ステップS405)。これと同時に、DB制御部220は、ステップA1の内容を読み出してシナリオ実行指示部240に渡す(ステップS408)。そしてDB制御部220は、該シナリオについて次回実行開始時間291cを更新する(ステップS409)。   If there is a vacancy, the DB control unit 220 sets the current usage status 292c of the first request generation unit 110 in the request generation unit attribute table 292 to “in use” (step S405). At the same time, the DB control unit 220 reads the content of step A1 and passes it to the scenario execution instruction unit 240 (step S408). Then, the DB control unit 220 updates the next execution start time 291c for the scenario (step S409).

ステップS404で、第1〜第3のリクエスト生成手段110〜130に空きが存在しなければ、シナリオ待機部250は実行しようとしていたステップA1の内容をシナリオ実行キュー251に記憶させる(ステップS406)。ここで記憶されたステップA1の内容は、第1〜第3のリクエスト生成手段110〜130のいずれかに空きができ次第(ステップS407)、ステップS405に進んですぐに実行される。   In step S404, if there is no free space in the first to third request generation units 110 to 130, the scenario standby unit 250 stores the contents of step A1 to be executed in the scenario execution queue 251 (step S406). The contents of step A1 stored here are executed as soon as any one of the first to third request generation units 110 to 130 becomes available (step S407) and proceeds to step S405.

ステップS408で、実行待ちのステップA1の内容がシナリオ実行指示部240に送られるのと同時に、リクエスト生成手段110がステップA1を実行するとの情報が、シナリオ実行指示部240からTAT監視部260に送信される(ステップS410)。   In step S408, the content of step A1 waiting for execution is sent to the scenario execution instruction unit 240, and at the same time, information that the request generation unit 110 executes step A1 is transmitted from the scenario execution instruction unit 240 to the TAT monitoring unit 260. (Step S410).

ステップS406〜407に処理が進んでシナリオ実行キュー251に記憶されていたジョブは、第1〜第3のリクエスト生成手段110〜130のいずれかに空きができるのを待って実行されるから、実行間隔291bとして設定されていた時刻から多少遅れて該ジョブが実行されることとなる。たとえばその「空きができるのを待って」いる間に、実行間隔291bの設定時間が経過していた場合、同一のシナリオが重複して実行されることになる。そのような事態を回避するという意味で、ステップS409では、時間の経過と共に減算されていた次回実行開始時間291cを実行間隔291bの値に戻している。言い換えれば、次回実行開始時間291cを実行間隔291bの設定値に「リセット」しているのである。   The job that has been processed in steps S406 to S407 and stored in the scenario execution queue 251 is executed after waiting for any of the first to third request generation units 110 to 130 to be executed. The job is executed with a slight delay from the time set as the interval 291b. For example, if the set time of the execution interval 291b has elapsed while “waiting for a free space”, the same scenario is repeatedly executed. In order to avoid such a situation, in step S409, the next execution start time 291c subtracted with the passage of time is returned to the value of the execution interval 291b. In other words, the next execution start time 291c is “reset” to the set value of the execution interval 291b.

図7は、図6のステップS408で実行待ちのステップの内容を受け取ったリクエスト生成手段110およびTAT監視部260が実行する動作で、そのステップが初期ステップである場合の動作について示すフローチャートである。ここでは、実行待ちのステップA1の内容がシナリオ実行指示部240から第1のリクエスト生成手段110に渡され、実行されるものとする。   FIG. 7 is a flowchart showing the operation performed by the request generation unit 110 and the TAT monitoring unit 260 that have received the contents of the step waiting for execution in step S408 of FIG. 6 and the step is an initial step. Here, it is assumed that the content of step A1 waiting for execution is transferred from the scenario execution instruction unit 240 to the first request generation unit 110 and executed.

ステップA1の内容を受け取ったシナリオ実行指示受信部111は、まずウェブブラウザである応答画面表示部114を起動して(ステップS501)、シナリオにある通りの遷移前URL293a(ここではログイン画面301)を開く。   The scenario execution instruction receiving unit 111 that has received the content of step A1 first activates the response screen display unit 114 that is a web browser (step S501), and displays the pre-transition URL 293a (here, the login screen 301) as in the scenario. open.

そしてシナリオ実行指示受信部111は、リクエスト送信部112に遷移前URL293aと応答パラメータ293bとを渡して、ログインリクエストを送信させる(ステップS502)。このリクエストは、プロキシサーバであるTAT監視部260を経由して、ウェブサーバ30に送信される。   Then, the scenario execution instruction receiving unit 111 passes the pre-transition URL 293a and the response parameter 293b to the request transmitting unit 112, and transmits a login request (step S502). This request is transmitted to the web server 30 via the TAT monitoring unit 260 which is a proxy server.

TAT監視部260のアクセス仲介機能部262がこのリクエストを受け取ると(ステップS503)、TAT算出機能部263がTATのカウントを開始し(ステップS504)、アクセス仲介機能部262がこのリクエストをウェブサーバ30に転送する(ステップS505)。ここまででリクエスト生成手段110の処理は一度終了するので、TAT監視部260はDB制御部220を介して、リクエスト生成手段110の使用状況292cを「未使用」とする(ステップS506)。   When the access mediation function unit 262 of the TAT monitoring unit 260 receives this request (step S503), the TAT calculation function unit 263 starts counting TAT (step S504), and the access mediation function unit 262 receives this request from the web server 30. (Step S505). Since the processing of the request generation unit 110 ends once so far, the TAT monitoring unit 260 sets the usage status 292c of the request generation unit 110 to “unused” via the DB control unit 220 (step S506).

ウェブサーバ30は、アクセス仲介機能部262が転送したリクエストに対応する処理(トランザクション)を実行開始する(ステップS507)。   The web server 30 starts executing a process (transaction) corresponding to the request transferred by the access mediating function unit 262 (step S507).

図8は、図7の動作に続いて、実行待ちの中間ステップ(ここではステップA2)の内容がシナリオ実行指示部240からに渡された場合に第1〜第3のリクエスト生成手段110〜130およびTAT監視部260が実行する動作について示すフローチャートである。前述のように、ステップA1のリクエストは、既に第1のリクエスト生成手段110が送信済である。ウェブサーバ30は、ステップA1に対する処理を完了して、これに対するレスポンスをリクエスト生成手段110に返却しようとする(ステップS601)。   FIG. 8 shows the first to third request generation means 110 to 130 when the contents of the intermediate step waiting for execution (here, step A2) are transferred from the scenario execution instruction unit 240 following the operation of FIG. 4 is a flowchart illustrating an operation performed by the TAT monitoring unit 260. As described above, the request of step A1 has already been transmitted by the first request generation means 110. The web server 30 completes the process for step A1, and tries to return a response to this to the request generation unit 110 (step S601).

この結果は、プロキシサーバであるTAT監視部260のレスポンス仲介機能部261を経由して、リクエスト生成手段110〜130のうちのいずれかに返却される。ここで、ステップA1のリクエストを送信したリクエスト生成手段110とは異なるリクエスト生成手段120が空いていたものとする。   This result is returned to one of the request generation units 110 to 130 via the response mediation function unit 261 of the TAT monitoring unit 260 that is a proxy server. Here, it is assumed that the request generation unit 120 different from the request generation unit 110 that has transmitted the request of Step A1 is free.

TAT監視部260のレスポンス仲介機能部261がこのリクエストを受け取ると、TAT算出機能部263がTATのカウントを停止し(ステップS602)、空き検索部230が空きのリクエスト生成手段110〜130が存在するか否かについて判断する(ステップS603)。図9は、図8のステップS602として示された第1〜第3のリクエスト生成手段110〜130の空きの検索と中間ステップ(ここではステップA2)の実行指示の動作について示すフローチャートである。この動作の内容は、図6のステップS404〜S410の動作と同一であるので、それらの各ステップの参照番号を+50して示す。ただし、図6のステップS409に相当する、該シナリオについて次回実行開始時間291cを更新するという動作はない。   When the response mediation function unit 261 of the TAT monitoring unit 260 receives this request, the TAT calculation function unit 263 stops counting the TAT (step S602), and the empty search unit 230 includes the empty request generation units 110 to 130. It is determined whether or not (step S603). FIG. 9 is a flowchart showing the empty search of the first to third request generation means 110 to 130 shown as step S602 in FIG. 8 and the operation of executing an intermediate step (here, step A2). Since the content of this operation is the same as the operation of steps S404 to S410 in FIG. 6, the reference number of each step is indicated by +50. However, there is no operation of updating the next execution start time 291c for the scenario corresponding to step S409 in FIG.

ここで、このステップS603(図8)の動作に続いて、レスポンス仲介機能部261がこのリクエストをリクエスト生成手段120に転送する(ステップS604)。図7のステップS504で開始され、図8のステップS602で停止された時刻のカウントが、ステップA1にかかるTATである。   Here, following the operation in step S603 (FIG. 8), the response mediation function unit 261 transfers this request to the request generation unit 120 (step S604). The count of the time started in step S504 in FIG. 7 and stopped in step S602 in FIG. 8 is the TAT for step A1.

図6のステップS410で、リクエスト生成手段110がこのステップA1についてのリクエストを送信するという情報が既に送信されているので、TAT算出機能部263はこのことを既に把握済である。また、TAT算出機能部263はリクエスト生成手段属性テーブル292のIPアドレス292bを参照して、IPアドレス292bに該当するリクエストがリクエスト生成手段110によるものであることも把握している。さらに図9のステップS460の動作によって、そのレスポンスはリクエスト生成手段120に返すべきものであることも把握している。   In step S410 of FIG. 6, since the information that the request generation unit 110 transmits the request for step A1 has already been transmitted, the TAT calculation function unit 263 has already grasped this. Further, the TAT calculation function unit 263 refers to the IP address 292b of the request generation unit attribute table 292, and grasps that the request corresponding to the IP address 292b is from the request generation unit 110. Furthermore, it is understood that the response should be returned to the request generation unit 120 by the operation in step S460 of FIG.

TAT算出機能部263がステップA1にかかるTATをカウントできたら、この時刻をDB制御部220に送信する(ステップS605)。レスポンス受信部123は、ステップS604でレスポンス仲介機能部261から転送されてきたレスポンスを受信し、応答画面表示部124に表示させる(ステップS606)。そして、この画面表示されたレスポンスが、エラー画面などでない正しいレスポンスであるか否かを、レスポンス情報送信部125が確認して、その結果をDB制御部220に送信する(ステップS608)。ここで、表示されているURLがステップA1の遷移後URL293cと一致するか否かを判断材料にすることもできるが、判断材料はこれに限定されない。   When the TAT calculation function unit 263 can count the TAT related to step A1, this time is transmitted to the DB control unit 220 (step S605). The response receiving unit 123 receives the response transferred from the response mediation function unit 261 in step S604 and displays it on the response screen display unit 124 (step S606). Then, the response information transmission unit 125 checks whether the response displayed on the screen is a correct response that is not an error screen or the like, and transmits the result to the DB control unit 220 (step S608). Here, whether the displayed URL matches the post-transition URL 293c in step A1 can be used as a determination material, but the determination material is not limited to this.

これに続いてリクエスト生成手段120は、制御部200から実行指示を受けたステップA2にかかるリクエストの送信に係る動作を行う(ステップS608〜613)。その内容は、図7のステップS502〜507で説明した内容と同一であり、ただ実行する主体がリクエスト生成手段110からリクエスト生成手段120に変わるだけである。これに続くステップA3についても、これと同様の動作が行われる。   Following this, the request generation unit 120 performs an operation related to the transmission of the request relating to Step A2 that has received the execution instruction from the control unit 200 (Steps S608 to 613). The content is the same as the content described in steps S502 to S507 in FIG. 7, and only the subject to be executed is changed from the request generation unit 110 to the request generation unit 120. The same operation is performed for the subsequent step A3.

本実施形態では、このようにして前ステップのレスポンス画面の確認と、今ステップのリクエスト送信とをワンセットで行う。たとえば、「今ステップ」がステップA2なら、「前ステップ」はステップA1である。このようにすれば、たとえば1つのリクエスト生成手段が送信した複数のシナリオに係るレスポンスが同時に返信されたとしても、同じリクエスト生成手段にそれらの同時に返信されたレスポンス確認処理が割り振られることはないので、それによって処理が滞ることもない。   In this embodiment, the confirmation of the response screen of the previous step and the request transmission of the current step are performed in one set in this way. For example, if “now step” is step A2, “previous step” is step A1. In this way, for example, even if responses related to a plurality of scenarios transmitted by one request generation means are simultaneously returned, the response confirmation processing for those simultaneously returned responses is not allocated to the same request generation means. , It won't delay processing.

図10は、図7〜8の動作に続いて、実行待ちの最終ステップ(ここではステップA4)の内容がシナリオ実行指示部240から渡された場合に第1〜第3のリクエスト生成手段110〜130およびTAT監視部260が実行する動作について示すフローチャートである。空きのリクエスト生成手段110〜130が存在するか否かについて判断するというステップS603に相当する動作が存在しないことを除いて、動作の内容は図8のステップS601〜607と同一であるので、それらの各ステップの参照番号を+100したステップS701〜707として示す。ただしそれらの各ステップの終了後のステップS708で、レスポンス情報送信部115(125,135)はDB制御部220を介して、リクエスト生成手段110の使用状況292cを「未使用」とする(ステップS708)。   FIG. 10 shows the first to third request generation means 110 to 110 when the contents of the final step waiting for execution (here, step A4) are passed from the scenario execution instructing unit 240 following the operations of FIGS. 13 is a flowchart illustrating operations executed by 130 and the TAT monitoring unit 260. Since the content of the operation is the same as that in steps S601 to 607 in FIG. 8 except that there is no operation corresponding to step S603 in which it is determined whether or not there are empty request generation units 110 to 130, these These steps are indicated as steps S701 to 707 in which the reference number of each step is +100. However, in step S708 after completion of each step, the response information transmission unit 115 (125, 135) sets the usage status 292c of the request generation unit 110 to “unused” via the DB control unit 220 (step S708). ).

DB制御部220は、送信されたTATの計測結果およびレスポンスの確認結果を測定結果テーブル294の測定結果294aとして記録する。そして、測定されたTATの値とエラーの有無については、レスポンス情報監視部270が常時監視と分析を行っている。測定されたTATに異常があれば、すぐに警報を入出力手段13に出力する。それ以外の場合も、管理者は操作によっていつでも測定結果と判定結果とを入出力手段13に出力させることができる。このTATの監視と分析には、任意の公知の手法を用いることができる。たとえば測定されたTATとあらかじめ与えられた閾値とを比較し、測定されたTATが閾値以上となれば異常と判断するようにしてもよい。   The DB control unit 220 records the transmitted TAT measurement result and response confirmation result as the measurement result 294 a of the measurement result table 294. The response information monitoring unit 270 constantly monitors and analyzes the measured TAT value and the presence / absence of an error. If there is an abnormality in the measured TAT, an alarm is immediately output to the input / output means 13. In other cases, the administrator can cause the input / output means 13 to output the measurement result and the determination result at any time by an operation. Any known method can be used for monitoring and analyzing the TAT. For example, the measured TAT may be compared with a predetermined threshold value, and an abnormality may be determined if the measured TAT is equal to or greater than the threshold value.

図11は、ここまでで説明した応答監視装置10で実際に、制御手段200が複数のリクエスト生成手段110および120の各々に複数のシナリオをステップ単位で動作を割り振る動作の一例を示す説明図である。図11の縦方向は時間の経過を示す。   FIG. 11 is an explanatory diagram illustrating an example of an operation in which the control unit 200 actually allocates a plurality of scenarios to each of the plurality of request generation units 110 and 120 in units of steps in the response monitoring apparatus 10 described so far. is there. The vertical direction in FIG. 11 shows the passage of time.

ここでは、シナリオAおよびBという2通りのシナリオがあり、シナリオAは図5で説明したステップA1、ステップA2、ステップA3…という一連の各ステップ、シナリオBはこれと同様のステップB1、ステップB2…という一連の各ステップが順番に実行される。また、シナリオAはウェブサーバ30、シナリオBはこれとは別のウェブサーバ31に接続して動作を行う。   Here, there are two scenarios, scenarios A and B. Scenario A is a series of steps A1, A2, A3, etc. described in FIG. 5, and scenario B is the same steps B1 and B2 as described above. A series of steps are executed in order. The scenario A is operated by connecting to the web server 30, and the scenario B is connected to another web server 31.

図面の錯綜を回避するため、図8ではリクエスト生成手段はリクエスト生成手段110および120という2つ、シナリオおよびステップはステップA1〜A3、およびステップB1〜B2しか記載しないが、実際にはこれよりも多数のリクエスト生成手段に、これよりも多数のシナリオおよびステップを割り振るようにできる。   In order to avoid the confusion of the drawings, in FIG. 8, the request generation means are the request generation means 110 and 120, and the scenarios and steps are only described in steps A1 to A3 and steps B1 and B2. A larger number of scenarios and steps can be allocated to a large number of request generation means.

まず、制御手段200がステップA1の実行をリクエスト生成手段110に割り振って実行指示を送信する(ステップS800、図6のステップS408)。リクエスト生成手段110はこの割り振られた内容に基づき、ウェブサーバ30に対してアクセスしてリクエストを送信し、ログイン画面301から商品選定画面302に進む動作を行う(ステップS801、図7のステップS501〜502)。その際、入力が必要であるIDおよびパスワードは、応答パラメータ293bとしてレスポンス情報テーブル293に記憶されている内容を使用する。   First, the control unit 200 allocates the execution of step A1 to the request generation unit 110 and transmits an execution instruction (step S800, step S408 in FIG. 6). Based on the allocated contents, the request generation unit 110 accesses the web server 30 to transmit a request, and performs an operation of proceeding from the login screen 301 to the product selection screen 302 (step S801, step S501 in FIG. 7). 502). At this time, the ID and password that need to be input use the contents stored in the response information table 293 as the response parameter 293b.

ステップS801のウェブサーバ30へのアクセスはプロキシサーバである制御手段200を経由するので、これを受けた制御手段200はここでTATのカウントを開始する(図7のステップS504)。ここで制御手段200は、ステップS801のステップA1のリクエストを送信し終えて使用状況292cが「未使用」となったリクエスト生成手段110に、今度はステップB1の実行を指示する(ステップS802)。   Since the access to the web server 30 in step S801 passes through the control means 200 that is a proxy server, the control means 200 that has received this starts TAT counting here (step S504 in FIG. 7). Here, the control means 200 instructs the request generation means 110 whose use status 292c has become “unused” after transmitting the request of step A1 in step S801, this time to execute step B1 (step S802).

これを受けたリクエスト生成手段110は、ウェブサーバ31に対してアクセスしてステップB1のリクエストを送信する(ステップS803)。ここで、ステップS802とステップS803の間に、ステップA1に対するレスポンスがウェブサーバ30から帰ってきたが、リクエスト生成手段110はステップB1に係る処理で使用中である。   Receiving this, the request generation means 110 accesses the web server 31 and transmits the request of step B1 (step S803). Here, between step S802 and step S803, a response to step A1 is returned from the web server 30, but the request generation means 110 is being used in the processing related to step B1.

そこで制御手段200は、図9の処理でリクエスト生成手段の空きを検索して、空いていたリクエスト生成手段120にステップA1に対するレスポンスとステップA2へのリクエストの実行を指示することとして、ステップA1に係るTATのカウントを停止してからこのレスポンスをリクエスト生成手段120に転送する(ステップS810、図8のステップS603〜604)。   Therefore, the control unit 200 searches the request generation unit for free in the process of FIG. 9 and instructs the request generation unit 120 that has been free to execute the response to step A1 and the execution of the request to step A2. After stopping the TAT count, the response is transferred to the request generation means 120 (step S810, steps S603 to 604 in FIG. 8).

ここで、TAT算出機能部263はステップS801とステップS810の間の時刻を、ステップA1にかかるTATとして取得し、測定結果テーブル294に記録する。制御手段200からレスポンスが転送されてきたリクエスト生成手段120は、このレスポンス画面が正常であるか否かを確認した結果を制御手段200に返す(ステップS811、図8のステップS606〜607)。   Here, the TAT calculation function unit 263 acquires the time between step S801 and step S810 as the TAT related to step A1, and records it in the measurement result table 294. The request generation unit 120 to which the response is transferred from the control unit 200 returns the result of confirming whether or not this response screen is normal to the control unit 200 (step S811, steps S606 to 607 in FIG. 8).

制御手段200は、ステップA1のリクエストを送信したリクエスト生成手段110と異なるリクエスト生成手段120に、ステップA1のレスポンス(即ち商品選定画面302)の確認と、これに続くステップA2、即ち商品選定画面302から確認画面303に進むリクエストを送信する動作とを実行させることができる。これは商品選定画面302から確認画面303に進むのに必要な応答パラメータ293bが、レスポンス情報テーブル293に記憶されているからである。   The control unit 200 confirms the response (that is, the product selection screen 302) of step A1 to the request generation unit 120 different from the request generation unit 110 that transmitted the request of step A1, and the subsequent step A2, that is, the product selection screen 302. The operation of transmitting a request to proceed to the confirmation screen 303 can be executed. This is because the response parameter 293 b necessary for proceeding from the product selection screen 302 to the confirmation screen 303 is stored in the response information table 293.

ステップA1のレスポンスを確認したリクエスト生成手段120は、これに続いてステップA2のリクエストの送信、即ちウェブサーバ30に対してアクセスしてリクエストを送信するよう制御手段200から指示を受け、商品選定画面302から確認画面303に進む動作を行う(ステップS812〜813)。ステップS813のウェブサーバ30へのアクセスはプロキシサーバである制御手段200を経由するので、これを受けた制御手段200はここでステップA2にかかるTATのカウントを開始する。   Upon confirming the response in step A1, the request generation unit 120 receives an instruction from the control unit 200 to transmit the request in step A2, that is, to access the web server 30 and transmit the request. An operation of proceeding from 302 to the confirmation screen 303 is performed (steps S812 to 813). Since the access to the web server 30 in step S813 passes through the control unit 200 that is a proxy server, the control unit 200 that has received this starts the TAT count in step A2.

ここで、ステップS803でウェブサーバ31に送信されたステップB1のリクエストに対するレスポンスがプロキシサーバである制御手段200に戻ってきた(ステップS814)。このレスポンスの確認は、リクエスト生成手段110および120のどちらが行ってもよいが、ここではリクエスト生成手段120が行うものとし、TATのカウントを停止してからこのレスポンスをリクエスト生成手段120に転送する(ステップS815)。   Here, the response to the request in step B1 transmitted to the web server 31 in step S803 returns to the control unit 200 that is a proxy server (step S814). The response confirmation may be performed by either of the request generation means 110 and 120, but here, the request generation means 120 is assumed to perform the response, and the response is transferred to the request generation means 120 after the TAT count is stopped ( Step S815).

ステップB1のレスポンスを確認したリクエスト生成手段120は、これに続いてステップB2のリクエストの送信、即ちウェブサーバ31に対してアクセスしてリクエストを送信するよう制御手段200から指示を受け、その動作を行う(ステップS816〜817)。   The request generation unit 120 that has confirmed the response of Step B1 receives the instruction from the control unit 200 to transmit the request of Step B2, that is, to access the web server 31, and to transmit the request. This is performed (steps S816 to 817).

ここで、ステップS813でウェブサーバ30に送信されたステップA2のリクエストに対するレスポンスがプロキシサーバである制御手段200に戻ってきた(ステップS804)。このレスポンスの確認は、リクエスト生成手段110および120のどちらが行ってもよいが、ここではリクエスト生成手段110が行うものとし、TATのカウントを停止してからこのレスポンスをリクエスト生成手段110に転送する。リクエスト生成手段110は、このレスポンスを確認してその結果を制御手段200に返す(ステップS805)。   Here, the response to the request in step A2 transmitted to the web server 30 in step S813 has returned to the control unit 200 that is a proxy server (step S804). The confirmation of this response may be performed by either of the request generation means 110 and 120, but here the request generation means 110 is assumed to stop the TAT count and transfer this response to the request generation means 110. The request generation unit 110 confirms this response and returns the result to the control unit 200 (step S805).

応答監視装置10では、以上の動作をステップA2に続く各ステップ、ステップB1に続く各ステップ、さらにシナリオAおよびシナリオB以外のシナリオについても行っていく。その際、必ず前ステップのレスポンス画面の確認と、今ステップのリクエスト送信とをワンセットで行う。そしてリクエスト生成手段110および120以外のリクエスト生成手段に対しても、これと同じように各シナリオの各ステップ単位で動作を割り振って実行させていく。   The response monitoring apparatus 10 performs the above operation for each step following step A2, each step following step B1, and scenarios other than scenario A and scenario B. At that time, be sure to check the response screen of the previous step and send the request of the current step in one set. Similarly, the request generation means other than the request generation means 110 and 120 are assigned and executed for each step of each scenario.

プロキシサーバであるTAT監視部260では、RFC1631(1994年5月)で定義された公知技術であるIPマスカレードにより、組織内でのみ通用するIPアドレス(ローカルアドレス)と、インターネット上のIPアドレス(グローバルアドレス)を透過的に相互変換する。このため、ステップA2の動作をステップA1の動作とは異なるリクエスト生成手段が実行したとしても、またリクエストを送信とそれに対するレスポンスの確認を異なるリクエスト生成手段が実行したとしても、ウェブサーバ30にはそのことはわからず、同一のプロキシサーバ(TAT監視部260)に対して一連の処理を継続しているとしかウェブサーバ30は認識しない。従って、応答パラメータ293bに間違いさえなければ、ウェブサーバ30は問題なく処理を継続することができる。   The TAT monitoring unit 260, which is a proxy server, uses an IP address (local address) that can be used only within an organization and an IP address (global address) on the Internet by using IP masquerade, which is a well-known technology defined in RFC1631 (May 1994). Address) transparently. For this reason, even if the request generation means different from the operation of step A1 executes the operation of step A2, and even if the request generation means different from sending the request and confirming the response thereto, This is not known, and the web server 30 recognizes only that a series of processing is continued for the same proxy server (TAT monitoring unit 260). Therefore, if there is no mistake in the response parameter 293b, the web server 30 can continue the processing without any problem.

そして、リクエスト生成手段属性テーブル292には第1〜第3のリクエスト生成手段110〜130の各々のIPアドレス292が記録されているので、TAT監視部260はどのリクエスト生成手段がどのステップを実行しているかを把握できさえすれば(図6のステップS410)、正確なTATを測定することができる。もちろん、リクエストを送信したリクエスト生成手段と、それに対するレスポンスを確認したリクエスト生成手段とが異なっていても、TATの測定には特に影響はない。   Since the IP address 292 of each of the first to third request generation units 110 to 130 is recorded in the request generation unit attribute table 292, the TAT monitoring unit 260 performs which request generation unit executes which step. As long as it can be ascertained (step S410 in FIG. 6), an accurate TAT can be measured. Of course, even if the request generation means that transmitted the request is different from the request generation means that confirmed the response to the request generation means, there is no particular effect on the TAT measurement.

(第1の実施形態の全体的な動作)
次に、上記の実施形態の全体的な動作について説明する。本実施形態に係るTAT測定方法は、複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段を備え、実行すべき操作内容と、操作内容の段階ごとに対応するクッキー情報である応答パラメータとをあらかじめ記憶しているTAT(Turnaround Time)測定装置にあって、ユーザによる操作に対するウェブサーバのTATを測定するTAT測定方法である。このTAT測定方法は、複数のリクエスト生成手段の中で空いているものを検索し(図6:ステップS404)、空いているリクエスト生成手段に段階ごとの操作内容と応答パラメータとを割り当てて実行させ(図6:ステップS408)、リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介し(図7:ステップS503〜505)、アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれをTATとする(図8:ステップS603)。
(Overall operation of the first embodiment)
Next, the overall operation of the above embodiment will be described. The TAT measurement method according to the present embodiment includes a plurality of request generation units that artificially generate an operation by a plurality of users, and is an operation content to be executed and a response that is cookie information corresponding to each stage of the operation content This is a TAT (Turnaround Time) measuring device that stores parameters in advance, and is a TAT measuring method for measuring the TAT of a web server in response to an operation by a user. In this TAT measurement method, an empty one of a plurality of request generation means is searched (FIG. 6: Step S404), and an operation content and a response parameter are assigned to the empty request generation means and executed. (FIG. 6: Step S408), mediates the access to the web server generated by the request generation means (FIG. 7: Steps S503 to 505), and measures the time from the access to the response to the response. Is TAT (FIG. 8: step S603).

ここで、上記各動作ステップについては、これをコンピュータで実行可能にプログラム化し、これらを前記各ステップを直接実行するコンピュータであるエージェントマシンに実行させるようにしてもよい。
この構成および動作により、本実施形態は以下のような効果を奏する。
Here, each of the above-described operation steps may be programmed to be executable by a computer, and may be executed by an agent machine which is a computer that directly executes each of the steps.
With this configuration and operation, the present embodiment has the following effects.

本実施形態では、1つのリクエスト生成手段には2つ以上のステップの動作が同時に割り振られることはないので、複数のアクセス処理が同時に実行されることによる処理のオーバーヘッドが発生することはない。従って、各々のリクエスト生成手段に対して、ステップ単位で効率的に動作を割り振ることができ、使用率を高めることができる。   In the present embodiment, since operation of two or more steps is not simultaneously allocated to one request generation unit, processing overhead due to simultaneous execution of a plurality of access processes does not occur. Therefore, operations can be efficiently allocated to each request generation means in units of steps, and the usage rate can be increased.

このリクエスト生成手段にステップの動作を割り振るという動作は、人手を介さず行われるので、人手による煩雑で難解な監視シナリオ実行順序のスケジュール設計は不要である。さらに、監視条件の変更や、監視対象サービスの追加・削除などに対しても、人手を介さず柔軟に対応することができる。   Since the operation of allocating the step operation to the request generation means is performed without human intervention, it is not necessary to manually schedule a complicated and difficult monitoring scenario execution order. Furthermore, it is possible to flexibly cope with changes in monitoring conditions and addition / deletion of services to be monitored without human intervention.

これまで本発明について図面に示した特定の実施形態をもって説明してきたが、本発明は図面に示した実施形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができる。   The present invention has been described with reference to the specific embodiments shown in the drawings. However, the present invention is not limited to the embodiments shown in the drawings, and any known hitherto provided that the effects of the present invention are achieved. Even if it is a structure, it is employable.

本発明は、ウェブサーバの運用管理、特にトラブルの発生の予防およびパフォーマンスの低下の抑制に利用することができる。   INDUSTRIAL APPLICABILITY The present invention can be used for web server operation management, in particular, prevention of trouble occurrence and suppression of performance degradation.

10 応答監視装置
11 プロセッサ
12 記憶手段
13 入出力手段
14 通信手段
20 インターネット
30、31 ウェブサーバ
110、120、130 リクエスト生成手段
111、121、131 シナリオ実行指示受信部
112、122、132 リクエスト送信部
113、123、133 レスポンス受信部
114、124、134 応答画面表示部
115、125、135 レスポンス情報送信部
200 制御手段
210 シナリオレコーダ部
220 DB制御部
230 空き検索部
240 シナリオ実行指示部
250 シナリオ待機部
251 シナリオ実行キュー
260 TAT監視部
261 レスポンス仲介機能部
262 アクセス仲介機能部
263 TAT算出機能部
270 レスポンス情報監視部
280 実行タイマー部
290 監視DB
291 シナリオ属性テーブル
292 リクエスト生成手段属性テーブル
293 レスポンス情報テーブル
294 測定結果テーブル
DESCRIPTION OF SYMBOLS 10 Response monitoring apparatus 11 Processor 12 Memory | storage means 13 Input / output means 14 Communication means 20 Internet 30, 31 Web server 110, 120, 130 Request generation means 111, 121, 131 Scenario execution instruction receiving part 112, 122, 132 Request transmission part 113 , 123, 133 Response reception unit 114, 124, 134 Response screen display unit 115, 125, 135 Response information transmission unit 200 Control unit 210 Scenario recorder unit 220 DB control unit 230 Free search unit 240 Scenario execution instruction unit 250 Scenario standby unit 251 Scenario execution queue 260 TAT monitoring unit 261 Response mediation function unit 262 Access mediation function unit 263 TAT calculation function unit 270 Response information monitoring unit 280 Execution timer unit 290 Monitoring B
291 Scenario attribute table 292 Request generation means attribute table 293 Response information table 294 Measurement result table

Claims (10)

ユーザによる操作に対するウェブサーバのTAT(Turnaround Time)を測定するTAT測定装置であって、
複数の前記ユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段と、前記複数のリクエスト生成手段の動作を制御する制御手段とを備え、
前記制御手段が、
前記リクエスト生成手段が実行すべき操作内容と前記操作内容の段階ごとに対応するクッキー情報である応答パラメータとを記録しているレスポンス情報テーブルと、
前記複数のリクエスト生成手段の中で空いているものを検索する空き検索部と、
前記空いているリクエスト生成手段に前記段階ごとの操作内容と前記応答パラメータとを割り当てて実行させる実行指示部と、
前記リクエスト生成手段が発生させた前記ウェブサーバへのアクセスを仲介し、前記アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれを前記TATとするプロキシサーバ部と
を備えたことを特徴とするTAT測定装置。
A TAT measuring device for measuring a TAT (Turnaround Time) of a web server in response to an operation by a user,
A plurality of request generation means for artificially generating operations by the plurality of users, and a control means for controlling operations of the plurality of request generation means,
The control means is
A response information table that records the operation content to be executed by the request generation means and a response parameter that is cookie information corresponding to each stage of the operation content;
A free search unit for searching for a free one of the plurality of request generation means;
An execution instructing unit that causes the vacant request generating means to assign and execute the operation content for each stage and the response parameter;
A proxy server unit that mediates the access to the web server generated by the request generation unit, measures the time from the access until a response to the response is returned, and sets this as the TAT A characteristic TAT measuring device.
前記プロキシサーバ部が、前記リクエスト生成手段から前記ウェブサーバへのアクセスの発生時刻と、これに対する前記ウェブサーバから前記リクエスト生成手段へのレスポンスの発生時刻とを記録すると共に、これらの時刻から前記TATを取得するTAT算出機能を備えたことを特徴とする、請求項1に記載のTAT測定装置。   The proxy server unit records an occurrence time of access from the request generation means to the web server and an occurrence time of a response from the web server to the request generation means, and from these times, the TAT The TAT measuring apparatus according to claim 1, further comprising a TAT calculating function for acquiring the TAT. 前記実行指示部が、前記リクエスト生成手段に対して前記段階ごとの操作内容を実行させる直前に、当該段階の1つ前の段階の操作結果に対する前記ウェブサーバからのレスポンスの確認を該リクエスト生成手段に実行させる機能を備えたことを特徴とする、請求項1に記載のTAT測定装置。   Immediately before the execution instructing unit causes the request generation unit to execute the operation content for each step, the request generation unit confirms the response from the web server for the operation result of the step immediately before the step. The TAT measuring apparatus according to claim 1, further comprising a function to be executed by the TAT. 前記制御手段が、前記複数のリクエスト生成手段の中に空いているものが無い場合に、前記段階ごとの操作内容を予め用意されたシナリオ実行キューに一時的に記憶させると共に、前記複数のリクエスト生成手段の中に空きが生じ次第前記段階ごとの操作内容をその空いたリクエスト生成手段に実行させるシナリオ待機部を備えたことを特徴とする、請求項1に記載のTAT測定装置。   When the control means does not have any available request generation means, the operation contents for each stage are temporarily stored in a scenario execution queue prepared in advance, and the plurality of request generations are performed. 2. The TAT measurement apparatus according to claim 1, further comprising a scenario standby unit that causes the vacant request generation means to execute the operation content for each stage as soon as a vacancy occurs in the means. 前記制御手段が、ユーザによる前記ウェブサーバに対する操作を記録して、前記段階ごとの操作内容として記憶するシナリオレコーダ部を備えたことを特徴とする、請求項1に記載のTAT測定装置。   The TAT measuring apparatus according to claim 1, wherein the control unit includes a scenario recorder unit that records an operation performed on the web server by a user and stores the operation content for each stage. 前記制御手段が、前記複数のリクエスト生成手段の各々のIPアドレスと、前記複数のリクエスト生成手段の各々が使用中であるか否かを示す使用状況とを記憶したリクエスト生成手段属性テーブルを備えたことを特徴とする、請求項1に記載のTAT測定装置。   The control unit includes a request generation unit attribute table storing an IP address of each of the plurality of request generation units and a usage status indicating whether each of the plurality of request generation units is in use. The TAT measuring apparatus according to claim 1, wherein 前記実行指示部が、前記段階ごとの操作内容を前記リクエスト生成手段に割り当てる際に、その段階ごとの操作内容を割り当てたリクエスト生成手段を前記プロキシサーバ部に通知する機能を備えたことを特徴とする、請求項1に記載のTAT測定装置。   The execution instruction unit has a function of notifying the proxy server unit of a request generation unit to which an operation content for each step is allocated when the operation content for each step is allocated to the request generation unit. The TAT measuring device according to claim 1. 前記リクエスト生成手段が、
前記実行指示部からの前記段階ごとの操作内容の実行指示を受信するシナリオ実行指示受信部と、
前記段階ごとの操作内容に基づくリクエストを前記ウェブサーバに送信するリクエスト送信部と、
前記リクエストに対する前記ウェブサーバからのレスポンスを受信するレスポンス受信部と、
前記レスポンスを画面表示する応答画面表示部と、
前記レスポンスが正当な応答であるか否かを判断してその判断結果を前記レスポンス情報テーブルに記録させるレスポンス情報送信部とを備えたことを特徴とする、請求項1に記載のTAT測定装置。
The request generation means
A scenario execution instruction receiving unit that receives an execution instruction of the operation content for each stage from the execution instruction unit;
A request transmission unit that transmits a request based on the operation content for each stage to the web server;
A response receiver for receiving a response from the web server to the request;
A response screen display unit for displaying the response on the screen;
The TAT measurement apparatus according to claim 1, further comprising: a response information transmission unit that determines whether or not the response is a valid response and records the determination result in the response information table.
複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段を備え、実行すべき操作内容と、前記操作内容の段階ごとに対応するクッキー情報である応答パラメータとをあらかじめ記憶しているTAT(Turnaround Time)測定装置にあって、前記ユーザによる操作に対するウェブサーバのTATを測定するTAT測定方法であって、
前記複数のリクエスト生成手段の中で空いているものを検索し、
前記空いているリクエスト生成手段に前記段階ごとの操作内容と前記応答パラメータとを割り当てて実行させ、
前記リクエスト生成手段が発生させた前記ウェブサーバへのアクセスを仲介し、
前記アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれを前記TATとする
ことを特徴とするTAT測定方法。
Comprising a plurality of request generating means for generating an operation by a plurality of users in the procedures pseudo, and operation contents to be performed, in advance stores the response parameter is a cookie information corresponding to each phase of the operation content There is a TAT (Turnaround Time) measuring apparatus, which measures a TAT of a web server in response to an operation by the user,
Search for available ones among the plurality of request generation means,
The vacant request generation means assigns and executes the operation contents for each stage and the response parameter,
Mediating access to the web server generated by the request generation means,
A TAT measuring method characterized in that a time from the access until a response to the response is returned is measured and used as the TAT.
複数のユーザによる操作を擬似的に発生させる複数個のリクエスト生成手段を備え、実行すべき操作内容と、前記操作内容の段階ごとに対応するクッキー情報である応答パラメータとをあらかじめ記憶しているTAT(Turnaround Time)測定装置にあって、前記TAT測定装置が備えているコンピュータに、
前記複数のリクエスト生成手段の中で空いているものを検索する手順と、
前記空いているリクエスト生成手段に前記段階ごとの操作内容と前記応答パラメータとを割り当てて実行させる手順と、
前記リクエスト生成手段が発生させたウェブサーバへのアクセスを仲介する手順と、
前記アクセスからこれに対するレスポンスが返信されるまでの時間を測定してこれを前記TATとする手順と
を実行させることを特徴とするTAT測定プログラム。
Comprising a plurality of request generating means for generating an operation by a plurality of users in the procedures pseudo, and operation contents to be performed, in advance stores the response parameter is a cookie information corresponding to each phase of the operation content In a TAT (Turnaround Time) measuring device, a computer provided in the TAT measuring device includes:
A procedure for searching for a free one of the plurality of request generation means;
A procedure for causing the vacant request generation means to assign and execute the operation content for each stage and the response parameter;
And instructions for arbitrating access to a window Ebusaba said request generating means caused,
A TAT measurement program for measuring a time from the access until a response to the response is returned, and executing the procedure as the TAT.
JP2009215630A 2009-09-17 2009-09-17 TAT measuring device, TAT measuring method and TAT measuring program Expired - Fee Related JP5446649B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009215630A JP5446649B2 (en) 2009-09-17 2009-09-17 TAT measuring device, TAT measuring method and TAT measuring program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009215630A JP5446649B2 (en) 2009-09-17 2009-09-17 TAT measuring device, TAT measuring method and TAT measuring program

Publications (2)

Publication Number Publication Date
JP2011065433A JP2011065433A (en) 2011-03-31
JP5446649B2 true JP5446649B2 (en) 2014-03-19

Family

ID=43951608

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009215630A Expired - Fee Related JP5446649B2 (en) 2009-09-17 2009-09-17 TAT measuring device, TAT measuring method and TAT measuring program

Country Status (1)

Country Link
JP (1) JP5446649B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11249919A (en) * 1998-03-05 1999-09-17 Mitsubishi Electric Corp Procedure call processing method and stub generation method
JP2000057075A (en) * 1998-08-06 2000-02-25 Pfu Ltd Data communication equipment, data communication method and their program storage medium
JP2002215475A (en) * 2001-01-18 2002-08-02 Pfu Ltd System and method for measuring web server response time, and recording medium
JP3595783B2 (en) * 2001-07-30 2004-12-02 キヤノン株式会社 Load test execution device and system, method therefor, and program therefor
JP3950110B2 (en) * 2004-01-07 2007-07-25 日立電子サービス株式会社 Service status monitoring system for Web service system
JP4849929B2 (en) * 2006-03-28 2012-01-11 富士通株式会社 Scenario creation program
JP2008181218A (en) * 2007-01-23 2008-08-07 Hitachi Ltd Input support method and device
JP4381436B2 (en) * 2007-07-27 2009-12-09 株式会社東芝 Scenario generation device and scenario generation program

Also Published As

Publication number Publication date
JP2011065433A (en) 2011-03-31

Similar Documents

Publication Publication Date Title
JP7079310B2 (en) Diagnostic analyzer related information aggregation method and aggregation system
US9015316B2 (en) Correlation of asynchronous business transactions
JP5211901B2 (en) Workflow execution control program, workflow execution control apparatus, and workflow execution control method
US20180341573A1 (en) Cloud-based automated test execution factory
JP2002219122A (en) Medical system architecture
US20170126580A1 (en) Tracking Contention in a Distributed Business Transaction
JP2010146483A (en) System, method and program for supporting operation
JP2023145762A (en) Component control system for analysis device, and program
JP5446649B2 (en) TAT measuring device, TAT measuring method and TAT measuring program
JP5623333B2 (en) Monitoring server and monitoring evaluation method
JP6503884B2 (en) Data management system, information management device, and program
JP2009151456A (en) Monitoring system, network monitoring apparatus and service execution environment monitoring method
JP2006277535A (en) Business process history collection and display system and method
JP4464655B2 (en) Computer monitoring apparatus and message processing method related to monitored computer
JP2006164182A (en) Fa information management system and method
JP2005011170A (en) Method for confirming process event occurrence history
JP2021174066A (en) Test management system, test management apparatus, and test management method
JP2019101857A (en) Schedule management system and schedule management program
JP2019101856A (en) Schedule management system and schedule management program
JP2005267476A (en) Inter-workflow management system
JP6052407B2 (en) Relay device, relay program, and relay method
JP6190296B2 (en) Device management system, apparatus, and method
JP4512142B2 (en) Communication program test method and communication program test system
JP6655037B2 (en) Report providing device
JP2015032269A (en) Log data collection system for analysis device system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120808

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130925

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131115

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: 20131203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131216

R150 Certificate of patent or registration of utility model

Ref document number: 5446649

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees