JP6215033B2 - Test control apparatus, communication system, test control method, and test control program - Google Patents
Test control apparatus, communication system, test control method, and test control program Download PDFInfo
- Publication number
- JP6215033B2 JP6215033B2 JP2013260603A JP2013260603A JP6215033B2 JP 6215033 B2 JP6215033 B2 JP 6215033B2 JP 2013260603 A JP2013260603 A JP 2013260603A JP 2013260603 A JP2013260603 A JP 2013260603A JP 6215033 B2 JP6215033 B2 JP 6215033B2
- Authority
- JP
- Japan
- Prior art keywords
- test
- command
- terminal
- execution terminal
- connection
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims description 440
- 230000006854 communication Effects 0.000 title claims description 43
- 238000004891 communication Methods 0.000 title claims description 43
- 238000000034 method Methods 0.000 title claims description 33
- 230000005540 biological transmission Effects 0.000 claims description 41
- 230000004044 response Effects 0.000 claims description 16
- 230000006870 function Effects 0.000 description 24
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000037431 insertion Effects 0.000 description 5
- 238000013500 data storage Methods 0.000 description 4
- BUGBHKTXTAQXES-UHFFFAOYSA-N Selenium Chemical compound [Se] BUGBHKTXTAQXES-UHFFFAOYSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000002716 delivery method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 229910052711 selenium Inorganic materials 0.000 description 1
- 239000011669 selenium Substances 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Description
本発明は、Webアプリケーションのテストを行う技術に関連するものである。 The present invention relates to a technique for testing a Web application.
従来から、Webブラウザをユーザインタフェースとして利用した業務システム等の様々なWebアプリケーションがネットワーク上で提供されている。Webアプリケーションは、ユーザ端末により多種多様なOS及びブラウザ等を用いて使用されることになるから、Webアプリケーションの開発においては、多種多様なOS及びWebブラウザ等で正常に動作するかを調べるテストが行われる。 Conventionally, various Web applications such as a business system using a Web browser as a user interface are provided on a network. Since a Web application is used by a user terminal using a wide variety of OSs and browsers, in developing a Web application, a test for checking whether it operates normally on a wide variety of OSs and Web browsers is performed. Done.
Webアプリケーションのテストの方法としては、例えば、試験者がWebブラウザを操作しながら目視でWeb画面の正常性を確認する方法がある。しかし、Webアプリケーションのテストは繰り返し作業が多く、また、調べるべきWebブラウザの種類やバージョンも多数あることから、人手でテストを行うことは非常に煩雑な作業となる。なお、Webアプリケーションのテストに関する先行技術文献として、特許文献1がある。
As a Web application test method, for example, there is a method in which a tester visually confirms the normality of a Web screen while operating a Web browser. However, testing a web application is a lot of repetitive work, and there are many types and versions of web browsers to be examined. Therefore, manually testing is a very complicated task. Note that there is
上記のような人手によるテストの煩雑さを軽減するためのツールとしてSeleniumやWebDriverといった技術が存在する。これらのツールでは、テストケースを作成しておくことで、当該テストケースによるテストを様々なWebブラウザ上で自動的に実行することができる。 Technologies such as Selenium and WebDriver exist as tools for reducing the complexity of manual testing as described above. With these tools, by creating a test case, a test based on the test case can be automatically executed on various Web browsers.
しかし、これらの従来のテストツールでは、テストケース等に基づくコマンドを、テストを実行する端末(テスト実行端末と呼ぶ)に送信するコントローラを配備するとともに、当該端末に、コントローラからのコマンドを受信し、実行することができるエージェントソフトをインストールし、設定を行う必要がある。 However, in these conventional test tools, a controller that transmits a command based on a test case or the like to a terminal that executes a test (referred to as a test execution terminal) is provided, and the command from the controller is received by the terminal. It is necessary to install and configure the agent software that can be executed.
エージェントソフトは、テストを行う全ての端末にインストールしなければならない。また、モバイル端末等のPC以外の装置では、コマンドを配信するコントローラとの物理的な接続が必要となる。 Agent software must be installed on all terminals to be tested. In addition, a device other than a PC such as a mobile terminal needs a physical connection with a controller that distributes commands.
そのため、従来のテストツールを使用して多数の端末においてテストを行う場合、非常に煩雑な作業となる。また、上記のようにPC以外の機器では、コントローラとの物理的な接続が必要となることから、Webアプリケーションを使用するモバイル端末や、テレビ等の家電、自動車等において、従来のテストツールを使用したテストは非常に難しいものとなっていた。 Therefore, when a test is performed on a large number of terminals using a conventional test tool, it is a very complicated operation. In addition, since devices other than PCs need to be physically connected to the controller as described above, conventional test tools are used in mobile terminals that use Web applications, home appliances such as TVs, and automobiles. The tests we made were very difficult.
本発明は上記の点に鑑みてなされたものであり、WebブラウザからのWebアプリケーションのテストを簡易に行うことを可能とする技術を提供することを目的とする。 The present invention has been made in view of the above points, and an object of the present invention is to provide a technique capable of easily testing a Web application from a Web browser.
本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信する手段を含み、前記コマンド送信手段は、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する
ことを特徴とするテスト制御装置が提供される。
また、本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信手段は、当該複数のテスト実行端末に前記コマンドを一斉に配信する
ことを特徴とするテスト制御装置が提供される。
また、本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記コネクションはWebSocketの通信手順により確立される
ことを特徴とするテスト制御装置が提供される。
According to an embodiment of the present invention, there is provided a test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control device includes means for transmitting a test operation page to the test operation terminal in response to an access from the test operation terminal, and the command transmission means receives a command designated on the test operation page. A test control apparatus is provided that receives the command from the test operation terminal and transmits the command to the test execution terminal via the connection .
According to an embodiment of the present invention, there is provided a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
When a connection is established between the test control apparatus and a plurality of test execution terminals, the command transmission means distributes the command to the plurality of test execution terminals all at once.
A test control device is provided.
According to an embodiment of the present invention, there is provided a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
The connection is established by a WebSocket communication procedure.
A test control device is provided.
また、本発明の実施の形態によれば、前記テスト制御装置と、前記Webサービス提供装置と前記テスト実行端末との間に備えられる中継装置とを備える通信システムであって、
前記中継装置は、前記Webサービス提供装置から前記テスト対象ページを受信し、当該テスト対象ページにプログラムを埋め込み、当該プログラムが埋め込まれた前記テスト対象ページを前記テスト実行端末に送信するプログラム埋め込み手段を備え、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行される
ことを特徴とする通信システムが提供される。
Further, according to the embodiment of the present invention, there is provided a communication system comprising a said test controller, and a relay device provided between the Web service providing device and the test execution terminal,
The relay device receives a test target page from the Web service providing device, embeds a program in the test target page, and transmits a test target page in which the program is embedded to the test execution terminal. A communication system characterized in that the command is interpreted and executed by the program in the test execution terminal.
また、本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置が実行するテスト制御方法であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信し、前記コマンド送信ステップにおいて、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する
ことを特徴とするテスト制御方法が提供される。
また、本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置が実行するテスト制御方法であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信ステップにおいて、前記テスト制御装置は、当該複数のテスト実行端末に前記コマンドを一斉に配信する
ことを特徴とするテスト制御方法が提供される。
また、本発明の実施の形態によれば、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置が実行するテスト制御方法であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記コネクションはWebSocketの通信手順により確立される
ことを特徴とするテスト制御方法が提供される。
According to an embodiment of the present invention, there is provided a test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control device transmits a test operation page to the test operation terminal in response to access from the test operation terminal, and in the command transmission step, the command specified on the test operation page is transmitted to the test operation terminal. There is provided a test control method characterized by receiving a command from a terminal and transmitting the command to the test execution terminal via the connection .
According to an embodiment of the present invention, there is provided a test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
When a connection is established between the test control device and a plurality of test execution terminals, the test control device distributes the command to the plurality of test execution terminals simultaneously in the command transmission step.
A test control method is provided.
According to an embodiment of the present invention, there is provided a test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
The connection is established by a WebSocket communication procedure.
A test control method is provided.
本発明の実施の形態によれば、WebブラウザからのWebアプリケーションのテストを簡易に行うことを可能とする技術が提供される。 According to the embodiment of the present invention, there is provided a technology that makes it possible to easily test a Web application from a Web browser.
以下、図面を参照して本発明の実施の形態を説明する。なお、以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。例えば、以下の例では、Webベースのコネクション技術としてWebSocketを使用しているが、これは一例であり、他の技術を用いてコネクションを設定することも可能である。 Embodiments of the present invention will be described below with reference to the drawings. The embodiment described below is only an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. For example, in the following example, WebSocket is used as a Web-based connection technology, but this is an example, and a connection can be set using another technology.
(システムの構成)
図1に、本発明の実施の形態に係るシステムの全体構成を示す。図1に示すように、本実施の形態に係るシステムは、制御装置10、テスト実行端末20、Webサービス提供装置40、テスト操作端末30を有する。これらの装置は、インターネット等のネットワークに接続されておりネットワーク通信が可能である。図1には、本実施の形態で通信を行う装置同士を線で結んで示している。図1には、各装置が1台ずつ示されているが、これは例であり、各装置が複数台備えられていてもよい。特に、テスト実行端末20が複数台存在するケースについての例を後述する。
(System configuration)
FIG. 1 shows the overall configuration of a system according to an embodiment of the present invention. As shown in FIG. 1, the system according to the present embodiment includes a
まず、各装置の概要を以下に説明し、その後に、テスト実行端末20と制御装置10等をより詳しく説明する。
First, an outline of each device will be described below, and then the
Webサービス提供装置40は、テスト対象となるWebアプリケーション(Webサイトと呼んでもよい)を提供する装置である。本実施の形態では、Webサービス提供装置40は、Webサーバ機能を有し、テスト実行端末20からの要求に基づきWebページ(HTMLデータ)をテスト実行端末20に送信する。
The Web
当該Webページは、Webアプリケーションのユーザインタフェースとなる画面であり、ユーザはWebページ上でクリックや、情報入力を行うことで、所望の情報や処理結果を得る等のWebアプリケーションのサービスを受けることができる。また、当該Webページは、テスト対象となるWebアプリケーションにより提供されるから、以下、これをテスト対象ページと呼ぶことにする。なお、Webページ等における「ページ」は、端末に表示される「画面」の意味にも使用するし、画面を形成するための「データ」(HTMLデータ)の意味でも使用する場合がある。 The Web page is a screen serving as a user interface of the Web application, and the user can receive Web application services such as obtaining desired information and processing results by clicking on the Web page or inputting information. it can. In addition, since the Web page is provided by a Web application to be tested, this is hereinafter referred to as a test target page. Note that “page” in a web page or the like may be used to mean “screen” displayed on the terminal, or may be used to mean “data” (HTML data) for forming a screen.
テスト実行端末20は、上記Webページの解析・表示等を行うWebブラウザを備えた端末である。テスト実行端末20は、PCやスマートフォンを想定しているが、特定の種類の装置に限定されるわけではなく、Webブラウザを実行できる装置であればどのような装置でもよい。
The
制御装置10は、テスト実行端末20と所定の通信路(コネクション)により接続するとともに、テスト操作端末30とも所定の通信路(コネクション)により接続し、これらコネクションを介して、テスト操作端末30から送信されたコマンドをテスト実行端末20に送信する。当該コマンドは、テスト実行端末20に表示されているWebページに対し、所定のボタンをクリックする等のテストのための操作を自動的に実行させるコマンドである。なお、これは例であり、コマンドはどのようなコマンドでもよい。また、制御装置10は、上記コネクションを介して、テスト実行端末20から、コマンドの実行結果(実行完了したかどうか、正常かどうか、実行に結果の値、等)を受信し、当該実行結果をテスト操作端末30に送信する。また、制御装置10は、コネクションを確立しているテスト実行端末の情報も把握でき、それをテスト操作端末30に送信し、テスト操作端末30は当該情報(どのテスト実行端末が接続しているかを示す情報)を表示する。
The
制御装置10は、Webサーバ機能を含み、後述するようにテスト実行端末20とテスト操作端末30のそれぞれにWebページを送信するとともに、上記コネクションを確立する機能を含む。当該コネクションにより、各端末との間でHTTPリクエスト/レスポンスのような一定方向の通信ではなく、自由な双方向通信を可能としている。このようなコネクションの実現方法に特に限定はないが、本実施の形態では、WebSocketの技術を使用している。
The
テスト操作端末30は、制御装置10から受信するWebページを表示し、制御装置10との間にコネクションを確立するとともに、当該Webページ上でコマンド送信指示を実施したり、コマンド実行結果、接続状態等の表示を行う。
The
(テスト実行端末20の機能構成、コマンドの解析、実行について)
図2に、テスト実行端末20がコマンドを実行する際におけるテスト実行端末20の機能構成図を示す。
(Functional configuration of
FIG. 2 shows a functional configuration diagram of the
図2に示すように、本実施の形態において、コマンドを実行するテスト実行端末20は、コマンド送受信部21、コマンド解釈・実行部22、Webページ部23を有する。コマンド送受信部21は、制御装置10からコマンドを受信し、コマンドをコマンド解釈・実行部22に渡す機能、コマンド解釈・実行部22からコマンドの実行結果を受け取り、当該実行結果を制御装置10に送信する機能等を含む。
As shown in FIG. 2, in the present embodiment, the
コマンド解釈・実行部22は、コマンド送受信部21から受け取ったコマンドを解釈し、Webページ部23に対してコマンドを実行し、Webページ部23から実行結果を受け取り、当該実行結果をコマンド送受信部22に渡す機能を含む。Webページ部23は、Webページ(HTMLデータ)を解釈して、表示等を行う。
The command interpretation /
本実施の形態では、図2に示すコマンド送受信部21、コマンド解釈・実行部22を、テスト実行端末22が受信するWebページ及びWebブラウザにより実現している。つまり、テスト実行端末20には、テストのためにエージェントソフト等をインストールしておく必要はない。
In the present embodiment, the command transmission /
まず、コマンド解釈・実行部22について説明する。本実施の形態では、Webサービス提供装置40からテスト実行端末20に送信されるテスト対象ページの中に、コマンド解釈・実行部22の機能を実現するためのプログラムが埋め込まれている。テスト対象ページにプログラムを埋め込む方法には特に限定はなく、コマンド解釈・実行部22の機能を実現できるのであれば、どのような方法で埋め込まれていてもよい。本実施の形態では、スクリプトタグを使用して、テスト対象ページとなるHTMLデータの中にスクリプト(プログラム)を埋め込んでいる。
First, the command interpretation /
テスト実行端末20は、Webサービス提供装置40からテスト対象ページを取得し、Webブラウザでの解釈を実行することで、当該プログラムが実行され、コマンド解釈・実行部22の機能が生成され、テスト実行端末22は、コマンドの解釈、実行、実行結果の取得等を行うことができる。
The
次にコマンド送受信部21について説明する。本実施の形態では、テスト実行端末20は、テスト対象ページのテストを行う前に、まず制御装置10にアクセスし、Webページ(以降、コマンド受渡用ページと呼ぶ)を取得する。
Next, the command transmission /
データ受渡用ページには、データを受け渡すためのプログラムが含まれる。このプログラムは特定のものに限定されない。例えば、コマンド受渡用ページにおけるHTML(HTMLもプログラムである)の記述としてデータを受け渡す機能を持たせてもよいし、所定のスクリプト言語で記述したプログラムをデータ受渡用ページに埋め込み、当該プログラムによりデータを受け渡す機能を持たせてもよい。当該機能が図2に示すコマンド送受信部21に相当する。
The data delivery page includes a program for delivering data. This program is not limited to a specific one. For example, a function for delivering data as a description of HTML (HTML is also a program) in a command delivery page may be provided, or a program written in a predetermined script language is embedded in the data delivery page, A function for passing data may be provided. This function corresponds to the command transmission /
例えば、データ受渡用ページは、テスト実行端末20におけるWebブラウザ画面上で、テスト対象ページのタブと別のタブのページとして現われる。また、別の形態として、データ受渡用ページをiframeとして実現してもよい。
For example, the data delivery page appears on the Web browser screen of the
また、コマンド受渡用ページには、コネクションを確立し、コネクションを介した通信を行うためのプログラムを含めることとしてもよい。当該プログラムには、制御装置10(WebsSocketサーバ)とのコネクション確立のための処理、データ送受信の処理等の機能が含まれる。なお、コネクションに関する処理をコマンド受渡用ページと別のページで行うこととしてもよい。 The command delivery page may include a program for establishing a connection and performing communication via the connection. The program includes functions such as processing for establishing a connection with the control apparatus 10 (WebsSocket server), data transmission / reception processing, and the like. The process related to the connection may be performed on a page different from the command delivery page.
データの受渡方法としては、例えば、データ受渡用ページがコマンドを制御装置10から受信した場合に、当該コマンドを所定の記憶領域に格納し、テスト対象ページのプログラム(スクリプト)が、当該コマンドを所定の記憶領域から読み出すといった方法がある。
As a data delivery method, for example, when a data delivery page receives a command from the
図3に、テスト実行端末20における上記の実装例を含む概念図を示す。図3に示すように、テスト実行の際に、テスト実行端末20のWebブラウザが、制御装置10からコマンド受渡用ページを取得し、Webサービス提供装置40から、プログラム(スクリプト)を含むテスト対象ページを取得することで、テスト実行端末20のWebブラウザにより、コマンド受渡用ページとテスト対象ページが解釈され、これらの表示等が行われている。
FIG. 3 is a conceptual diagram including the above implementation example in the
そして、コマンド受渡用ページにより、制御装置10との間のコネクションを介したコマンドの送受信等を行うコマンド送受信部21の機能が実現されており、図3に示すように、コマンド受渡用ページのコマンド送受信部21が、制御装置10から送信されたコマンドを受信し、当該コマンドが、テスト対象ページのコマンド解釈・実行部22に渡される。コマンド解釈・実行部22は、当該コマンドを実行する。コマンドの実行により、例えば、テスト対象ページにおける所定のボタンのクリック操作が行われ、その操作に対応した処理(例:Webサービス提供装置40へのリクエスト送信、レスポンス受信)が実行される。
And the function of the command transmission /
コマンド解釈・実行部22は、コマンドの実行結果を取得し、当該実行結果をコマンド受渡用ページ(コマンド送受信部21)に渡し、コマンド送受信部21が、コネクションを介して実行結果を制御装置10に送信する。
The command interpretation /
(制御装置10の構成)
図4に、制御装置10の機能構成図を示す。図4に示すように、制御装置10は、Web通信制御部11、ページデータ格納部12を備える。ページデータ格納部12には、テスト操作端末30に送信するテスト操作用ページのデータ(HTMLデータ、スクリプト等のプログラム)、及びテスト実行端末20に送信するコマンド受渡用ページのデータ(HTMLデータ、スクリプト等のプログラム)等が格納されている。
(Configuration of control device 10)
FIG. 4 shows a functional configuration diagram of the
Web通信制御部11は、端末からの要求に基づき、Webページをページデータ格納部12から読み出して要求元に送信する等のWebサーバの機能に加えて、テスト操作端末30との間、及びテスト実行端末20との間でコネクションを設定し、コネクションを用いて通信を行う機能を有する。更に、Web通信制御部11は、テスト操作端末30からコネクションを介して受信したコマンドを、テスト実行端末20にコネクションを介して送信する機能、テスト実行端末20からコネクションを介して受信した実行結果を、テスト操作端末30にコネクションを介して送信する機能を含む。
Based on the request from the terminal, the Web
本実施の形態では、例として、前述したコマンド受渡用ページに、コネクション確立のための処理を行うプログラム(スクリプト)が含まれており、Web通信制御部11は、テスト実行端末20からのアクセスを受けて、当該コマンド受渡用ページを当該テスト実行端末20に送信するととともに、テスト実行端末20との間でコネクションを設定する。また、例として、前述したテスト操作用ページに、コネクション確立のための処理を行うプログラム(スクリプト)が含まれており、Web通信制御部11は、テスト操作端末30からのアクセスを受けて、当該テスト操作用ページを当該テスト操作端末30に送信するととともに、テスト操作端末30との間でコネクションを設定する。
In the present embodiment, as an example, the above-described command delivery page includes a program (script) that performs processing for establishing a connection, and the Web
テスト操作端末30では、試験者は、テスト操作端末30に表示されるテスト操作用ページ上でコマンドを入力することができる。また、テスト操作用ページには、テストの実行結果や、制御装置10に接続されているテスト実行端末20の情報、コマンド実行状態、等が表示される。
In the
本実施の形態に係る制御装置10は、コンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。すなわち、制御装置10が有する機能は、当該コンピュータに内蔵されるCPUやメモリ、ハードディスクなどのハードウェア資源を用いて、制御装置10で実施される処理に対応するプログラムを実行することによって実現することが可能である。また、上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。
The
(処理シーケンス)
次に、図5のシーケンス図を参照して、本実施の形態に係るシステムの動作の流れの例を説明する。
(Processing sequence)
Next, an example of the operation flow of the system according to the present embodiment will be described with reference to the sequence diagram of FIG.
まず、Webアプリケーションのテストを行う前段階として、テスト実行端末20が制御装置10にアクセスし(ステップ1)、コマンド受渡用ページを取得する(ステップ2)。コマンド受渡用ページはWebブラウザにより解釈されて、前述したコマンド送受信部21が実現されるとともに、制御装置10との間で所定の処理が実行されることで、制御装置10との間でコネクションが確立される(ステップ3)。
First, as a pre-stage for testing a Web application, the
また、Webアプリケーションのテストを行う前段階として、テスト操作端末20が制御装置10にアクセスし(ステップ4)、コマンド操作用ページを取得する(ステップ5)。コマンド操作用ページはWebブラウザにより解釈され、制御装置10との間で所定の処理が実行されることで、制御装置10との間でコネクションが確立される(ステップ6)。
Further, as a pre-stage for testing the web application, the
また、テスト実行端末20はWebサービス提供装置40にアクセスし(ステップ7)、テスト対象ページを取得する(ステップ8)。既に説明したとおり、このテスト対象ページには、コマンド解釈・実行部22として機能するプログラムが埋め込まれている。なお、テスト対象ページの取得は、テスト操作端末30から送信され、制御装置10から受信するコマンドに基づいて自動的に行ってもよいし、コマンドに基づかずに、テスト実行端末20において任意に行ってもよい。
Further, the
テストの段階において、例えばテスト操作端末30に表示されるテスト操作用ページには、テスト実行端末20を指定する欄や、コマンドを入力(もしくは指定)する欄が表示されている。試験者は、テスト実行端末としてテスト実行端末20を選択し、所定のコマンドを指定したものとする。
In the test stage, for example, on the test operation page displayed on the
テスト操作端末30からコマンドが送信される(ステップ9)。コマンドは、制御装置10により受信され、制御装置10は当該コマンドをテスト実行端末20に転送する。テスト実行端末20では、コマンド受渡用ページ(コマンド送受信部21)によりコマンドがテスト対象ページ(コマンド解釈・実行部22)に渡され、コマンド解釈・実行部22がコマンドを解釈し、実行する(ステップ10)。これにより、例えば、テスト対象ページからリクエストがWebサービス提供装置40に送信され(ステップ11)、レスポンスが返される(ステップ12)。コマンド解釈・実行部22は、コマンドの実行結果を取得し(ステップ13)、それをコマンド送受信部21に渡し、コマンド送受信部21が実行結果を制御装置10に送信し(ステップ14)、実行結果は制御装置10によりテスト操作端末30に送信され、テスト操作端末30に表示される(ステップ15)。
A command is transmitted from the test operation terminal 30 (step 9). The command is received by the
(その他の例)
<中継サーバを用いたプログラム挿入>
これまで説明した例では、テスト対象ページには、コマンド解釈・実行部22となるプログラムが、Webサービス提供装置40に存在する時点で予め埋め込まれていることを想定しているが、下記のように、予め埋め込まないようにする構成とすることも可能である。
(Other examples)
<Program insertion using a relay server>
In the examples described so far, it is assumed that the program serving as the command interpretation /
本例では、図6に示すように、Webサービス提供装置40とテスト実行端末20との間に中継サーバ50(プロキシサーバ)が備えられる。中継サーバ50は、プログラム挿入機能部51を備えている。
In this example, as shown in FIG. 6, a relay server 50 (proxy server) is provided between the Web
本実施の形態では、テスト実行端末20とWebサービス提供装置40との間の通信は中継サーバ50を介して行われる。すなわち、中継サーバ50は、テスト実行端末20からWebサービス提供装置40へのリクエストを受信し、当該リクエストをWebサービス提供装置40に送信するとともに、Webサービス提供装置40からテスト実行端末20へのレスポンス(Webページ、具体的にはテスト対象ページ)を受信し、当該Webページをテスト実行端末20に送信する。
In the present embodiment, communication between the
中継サーバ50のプログラム挿入機能部51は、Webサービス提供装置40からテスト対象ページを受信したときに、当該テスト対象ページに、コマンド解釈・実行部22となるプログラム(例:スクリプトタグとスクリプト)を埋め込み、当該テスト対象ページをテスト実行端末20に転送する。この動作は、例えば、テスト対象ページをテスト実行端末20に転送する度に行う。
When the test insertion page is received from the Web
本例により、テスト対象ページに予めプログラムを埋め込んでいなくても、本実施の形態に係るテストを実行できる。
<グループ化機能>
前述したように、テスト実行端末20、テスト操作端末30はそれぞれ複数台存在してもよい。本例では、このように端末が複数台存在する環境において、端末をグループ化することができる。
According to this example, the test according to the present embodiment can be executed even if the program is not embedded in the test target page in advance.
<Grouping function>
As described above, a plurality of
この場合、例えば、制御装置10の記憶手段には、図7に示すようなグループ情報が格納され、Web通信制御部11が当該グループ情報に基づいて通信制御を行う。
In this case, for example, group information as illustrated in FIG. 7 is stored in the storage unit of the
図7に示すように、グループ情報は、グループ番号(ルームと呼んでもよい)毎に、当該グループに属するテスト実行端末、テスト操作端末が含まれる。ある端末がグループに属しているとは、当該端末が制御装置10とコネクションを確立し、当該グループに参加することを指定したことを意味する。
As shown in FIG. 7, the group information includes a test execution terminal and a test operation terminal belonging to the group for each group number (may be called a room). That a certain terminal belongs to a group means that the terminal establishes a connection with the
例えば、テストを行う前の段階で、テスト操作端末30に表示されるテスト操作用ページ上には、上記のグループ情報に基づいて、グループ毎にグループに属する端末(端末の名前等)が表示されており、試験者は希望のグループを指定する。例えば、図7の例において、グループ1が指定されると、当該グループ情報の「テスト操作端末」としてグループ1に対応付けて「テスト操作端末30」が追加される。
For example, on the test operation page displayed on the
本実施の形態では、制御装置10のWeb通信制御部11は、グループ情報を参照することで、同じグループに属する全てのテスト実行端末20にコマンドを配信する。
In the present embodiment, the Web
例えば、テスト操作端末30がグループ1に参加した場合、図8に示すように、テスト操作端末30から送信され、制御装置10が受信したコマンドは、グループ1に属する全てのテスト実行端末20に配信され、各テスト実行端末20においてコマンドが実行される。
For example, when the
コマンドの実行結果は、各テスト実行端末20から送信され、制御装置10を介してテスト操作端末30に送信される。テスト操作端末30では、テスト操作用ページ上に、グループに属するテスト実行端末毎の実行結果が表示される。
The command execution result is transmitted from each
(実施の形態のまとめ、効果等)
上述したように、本実施の形態により、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置であって、前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備えるテスト制御装置が提供される。
(Summary of the embodiment, effects, etc.)
As described above, according to the present embodiment, a test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal, the network being connected to the test execution terminal Communication control means for establishing a connection above, command transmission means for sending a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection, A test control device is provided.
前記通信制御手段は、例えば、前記テスト実行端末からのアクセスに応じて、Webページを前記テスト実行端末に送信し、当該テスト実行端末は、当該Webページに含まれるプログラムを実行することにより、前記制御装置との間のコネクションを確立する。 The communication control means, for example, transmits a web page to the test execution terminal in response to an access from the test execution terminal, and the test execution terminal executes the program included in the web page, thereby Establish a connection with the control device.
前記テスト対象ページは、例えば、前記コマンドを解釈し、実行するためのプログラムを含み、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行される。 The test target page includes, for example, a program for interpreting and executing the command, and the command is interpreted and executed by the program in the test execution terminal.
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信する手段を含んでもよく、前記コマンド送信手段は、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する。 The test control device may include means for transmitting a test operation page to the test operation terminal in response to access from the test operation terminal, and the command transmission means is designated on the test operation page A command is received from the test operation terminal, and the command is transmitted to the test execution terminal via the connection.
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信手段は、当該複数のテスト実行端末に前記コマンドを一斉に配信することができる。前記コネクションは例えばWebSocketの通信手順により確立されるものである。 When a connection is established between the test control apparatus and a plurality of test execution terminals, the command transmission means can simultaneously distribute the commands to the plurality of test execution terminals. The connection is established by, for example, a WebSocket communication procedure.
また、本実施の形態により、Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置と、前記Webサービス提供装置と前記テスト実行端末との間に備えられる中継装置とを備える通信システムであって、前記テスト制御装置は、前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段と、を備え、前記中継装置は、前記Webサービス提供装置から前記テスト対象ページを受信し、当該テスト対象ページにプログラムを埋め込み、当該プログラムが埋め込まれた前記テスト対象ページを前記テスト実行端末に送信するプログラム埋め込み手段を備え、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行されることを特徴とする通信システムが提供される。 Further, according to the present embodiment, a test control device for executing a test of a Web application provided by the Web service providing device on the test execution terminal, and between the Web service providing device and the test execution terminal. The test control device is a communication control means for establishing a connection on the network with the test execution terminal, and the test control device is displayed on the test execution terminal. Command transmitting means for transmitting a command for operating a test target page of a Web application to the test execution terminal via the connection, and the relay device receives the test target page from the Web service providing device. Embed the program in the test target page, Provided with a program embedding means for transmitting the test target page embedded with a program to the test execution terminal, wherein the command is interpreted and executed by the program in the test execution terminal. The
本実施の形態によれば、テスト実行端末20に予めエージェントソフト等をインストールすることなく、Webブラウザで制御装置10にアクセスするだけで、高負荷試験等を含むテストを簡易に実施することができる。また、複数のテスト実行端末20に同時にコマンドを送信することができるので、複数のテスト実行端末20で同時にテストを実施することも可能である。
According to the present embodiment, it is possible to easily perform a test including a high load test or the like by simply accessing the
明細書には以下の事項が開示されている。
(第1項)
Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段と
を備えることを特徴とするテスト制御装置。
(第2項)
前記通信制御手段は、前記テスト実行端末からのアクセスに応じて、Webページを前記テスト実行端末に送信し、当該テスト実行端末は、当該Webページに含まれるプログラムを実行することにより、前記制御装置との間のコネクションを確立する
ことを特徴とする第1項に記載のテスト制御装置。
(第3項)
前記テスト対象ページは、前記コマンドを解釈し、実行するためのプログラムを含み、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行される
ことを特徴とする第1項又は第2項に記載のテスト制御装置。
(第4項)
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信する手段を含み、前記コマンド送信手段は、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する
ことを特徴とする第1項ないし第3項のうちいずれか1項に記載のテスト制御装置。
(第5項)
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信手段は、当該複数のテスト実行端末に前記コマンドを一斉に配信する
ことを特徴とする第1項ないし第4項のうちいずれか1項に記載のテスト制御装置。
(第6項)
前記コネクションはWebSocketの通信手順により確立されることを特徴とする第1項ないし第5項のうちいずれか1項に記載のテスト制御装置。
(第7項)
コンピュータを、第1項ないし第6項のうちいずれか1項に記載のテスト制御装置として機能させるためのテスト制御プログラム。
(第8項)
Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置と、前記Webサービス提供装置と前記テスト実行端末との間に備えられる中継装置とを備える通信システムであって、
前記テスト制御装置は、
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段と、を備え、
前記中継装置は、前記Webサービス提供装置から前記テスト対象ページを受信し、当該テスト対象ページにプログラムを埋め込み、当該プログラムが埋め込まれた前記テスト対象ページを前記テスト実行端末に送信するプログラム埋め込み手段を備え、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行される
ことを特徴とする通信システム。
(第9項)
Webサービス提供装置により提供されるWebアプリケーションのテストを、テスト実行端末上で実行するためのテスト制御装置が実行するテスト制御方法であって、
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップと
を備えることを特徴とするテスト制御方法。
本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。
The following items are disclosed in the specification.
(Section 1)
A test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
A test control device comprising:
(Section 2)
The communication control means transmits a Web page to the test execution terminal in response to an access from the test execution terminal, and the test execution terminal executes the program included in the Web page, thereby Establish a connection with
2. The test control apparatus according to
(Section 3)
The test target page includes a program for interpreting and executing the command, and the command is interpreted and executed by the program in the test execution terminal.
The test control apparatus according to
(Section 4)
The test control device includes means for transmitting a test operation page to the test operation terminal in response to an access from the test operation terminal, and the command transmission means receives a command designated on the test operation page. Receive from the test operation terminal and send the command to the test execution terminal via the connection
The test control apparatus according to any one of
(Section 5)
When a connection is established between the test control apparatus and a plurality of test execution terminals, the command transmission means distributes the command to the plurality of test execution terminals all at once.
The test control apparatus according to any one of
(Section 6)
The test control apparatus according to any one of
(Section 7)
A test control program for causing a computer to function as the test control device according to any one of
(Section 8)
Communication comprising a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal, and a relay device provided between the Web service providing device and the test execution terminal A system,
The test control device includes:
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
The relay device receives a test target page from the Web service providing device, embeds a program in the test target page, and transmits a test target page in which the program is embedded to the test execution terminal. And the command is interpreted and executed by the program in the test execution terminal.
A communication system characterized by the above.
(Section 9)
A test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection;
A test control method comprising:
The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.
10 制御装置
20 テスト実行端末
30 テスト操作端末
40 Webサービス提供装置
11 Web通信制御部
12 ページデータ格納部
21 コマンド送受信部
22 コマンド解釈・実行部
23 Webページ部
50 中継サーバ
51 プログラム挿入機能部
DESCRIPTION OF
Claims (12)
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信する手段を含み、前記コマンド送信手段は、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する
ことを特徴とするテスト制御装置。 A test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control device includes means for transmitting a test operation page to the test operation terminal in response to an access from the test operation terminal, and the command transmission means receives a command designated on the test operation page. A test control apparatus that receives the command from the test operation terminal and transmits the command to the test execution terminal via the connection .
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信手段は、当該複数のテスト実行端末に前記コマンドを一斉に配信する
ことを特徴とするテスト制御装置。 A test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
When the connection is established between the test control device and a plurality of test execution terminals, the command transmission means distributes the commands to the plurality of test execution terminals all at once. apparatus.
前記テスト実行端末との間にネットワーク上でコネクションを確立するための通信制御手段と、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信手段とを備え、
前記コネクションはWebSocketの通信手順により確立される
ことを特徴とするテスト制御装置。 A test control apparatus for executing a test of a Web application provided by a Web service providing apparatus on a test execution terminal,
Communication control means for establishing a connection on the network with the test execution terminal;
Command transmitting means for transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control apparatus, wherein the connection is established by a WebSocket communication procedure .
ことを特徴とする請求項2又は3に記載のテスト制御装置。 The test control device includes means for transmitting a test operation page to the test operation terminal in response to an access from the test operation terminal, and the command transmission means receives a command designated on the test operation page. The test control apparatus according to claim 2 , wherein the test control apparatus receives the command from the test operation terminal and transmits the command to the test execution terminal via the connection.
ことを特徴とする請求項1ないし4のうちいずれか1項に記載のテスト制御装置。 The communication control means transmits a Web page to the test execution terminal in response to access from the test execution terminal, and the test execution terminal executes the program included in the Web page, thereby executing the test control. The test control apparatus according to any one of claims 1 to 4, wherein a connection with the apparatus is established.
ことを特徴とする請求項1ないし5のうちいずれか1項に記載のテスト制御装置。 The test page interprets the command, including a program for executing the said command by the program in the test execution terminal is interpreted, any of the claims 1, characterized in that it is performed 5 or test control device according to item 1.
前記中継装置は、前記Webサービス提供装置から前記テスト対象ページを受信し、当該テスト対象ページにプログラムを埋め込み、当該プログラムが埋め込まれた前記テスト対象ページを前記テスト実行端末に送信するプログラム埋め込み手段を備え、前記テスト実行端末において当該プログラムにより前記コマンドが解釈され、実行される
ことを特徴とする通信システム。 A communication system comprising the test control device according to any one of claims 1 to 6, and a relay device provided between the Web service providing device and the test execution terminal,
The relay device receives a test target page from the Web service providing device, embeds a program in the test target page, and transmits a test target page in which the program is embedded to the test execution terminal. A communication system, wherein the command is interpreted and executed by the program in the test execution terminal.
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記テスト制御装置は、テスト操作端末からのアクセスに応じて、当該テスト操作端末にテスト操作用ページを送信し、前記コマンド送信ステップにおいて、当該テスト操作用ページ上で指定されたコマンドを前記テスト操作端末から受信し、当該コマンドを前記コネクションを介して前記テスト実行端末に送信する
ことを特徴とするテスト制御方法。 A test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control device transmits a test operation page to the test operation terminal in response to access from the test operation terminal, and in the command transmission step, the command specified on the test operation page is transmitted to the test operation terminal. A test control method comprising: receiving from a terminal, and transmitting the command to the test execution terminal via the connection .
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記テスト制御装置と複数のテスト実行端末との間にコネクションが確立されている場合に、前記コマンド送信ステップにおいて、前記テスト制御装置は、当該複数のテスト実行端末に前記コマンドを一斉に配信する
ことを特徴とするテスト制御方法。 A test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
When a connection is established between the test control device and a plurality of test execution terminals, the test control device distributes the command to the plurality of test execution terminals simultaneously in the command transmission step. Test control method characterized by.
前記テスト実行端末との間にネットワーク上でコネクションを確立するコネクション確立ステップと、
前記テスト実行端末に表示される前記Webアプリケーションのテスト対象ページを操作するコマンドを、前記コネクションを介して前記テスト実行端末に送信するコマンド送信ステップとを備え、
前記コネクションはWebSocketの通信手順により確立される
ことを特徴とするテスト制御方法。 A test control method executed by a test control device for executing a test of a Web application provided by a Web service providing device on a test execution terminal,
A connection establishment step of establishing a connection with the test execution terminal on the network;
A command transmission step of transmitting a command for operating a test target page of the Web application displayed on the test execution terminal to the test execution terminal via the connection ;
The test control method, wherein the connection is established by a communication procedure of WebSocket .
ことを特徴とする請求項10又は11に記載のテスト制御方法。The test control method according to claim 10 or 11, characterized in that:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013260603A JP6215033B2 (en) | 2013-12-17 | 2013-12-17 | Test control apparatus, communication system, test control method, and test control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013260603A JP6215033B2 (en) | 2013-12-17 | 2013-12-17 | Test control apparatus, communication system, test control method, and test control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015118479A JP2015118479A (en) | 2015-06-25 |
JP6215033B2 true JP6215033B2 (en) | 2017-10-18 |
Family
ID=53531161
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013260603A Active JP6215033B2 (en) | 2013-12-17 | 2013-12-17 | Test control apparatus, communication system, test control method, and test control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6215033B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271310B (en) * | 2017-07-18 | 2022-07-05 | 北京京东尚科信息技术有限公司 | Development testing method and device for network function of mobile application program |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002032338A (en) * | 2000-07-19 | 2002-01-31 | Nippon Telegraph & Telephone West Corp | System and method for testing security hole and recording medium |
JP2005182364A (en) * | 2003-12-18 | 2005-07-07 | Canon Software Inc | Www relay server and information browsing time measurement method and program and recording medium |
JP4295775B2 (en) * | 2006-08-01 | 2009-07-15 | 株式会社日立情報システムズ | GUI test support system and application program for test support |
WO2012019639A1 (en) * | 2010-08-10 | 2012-02-16 | International Business Machines Corporation | A method and system to automatically testing a web application |
JP5507500B2 (en) * | 2011-06-29 | 2014-05-28 | ヤフー株式会社 | Debugging system and debugging method |
-
2013
- 2013-12-17 JP JP2013260603A patent/JP6215033B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015118479A (en) | 2015-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9910764B2 (en) | Automated software testing | |
US10735449B2 (en) | Methods and apparatuses for improved mobile app security testing via bridged native and web user interface interaction | |
KR102158754B1 (en) | Method and apparatus for operating on smart network interface card | |
US20140331209A1 (en) | Program Testing Service | |
US11245601B2 (en) | Automated integrated test system and method thereof | |
CN107608901B (en) | Jmeter-based testing method and device, storage medium and electronic equipment | |
JP2005531049A (en) | Automatic application installation | |
US20140129620A1 (en) | Indicating coverage of web application testing | |
CN105556483A (en) | Real-time code instrumentation | |
CN108416021B (en) | Browser webpage content processing method and device, electronic equipment and readable medium | |
JP5936103B2 (en) | System, computer, method and program for calling Java method on client | |
CN114490383A (en) | Remote debugging system, remote debugging method, computing device and readable medium | |
EP2959402B1 (en) | Architecture for remote access to content state | |
CN107395747B (en) | High-expansion method based on STF platform | |
CN112131095B (en) | Pressure testing method and device | |
Huang et al. | Remote mobile test system: a mobile phone cloud for application testing | |
US20140331205A1 (en) | Program Testing Service | |
CN106708717B (en) | A kind of exploitation adjustment method and device | |
CA2910977A1 (en) | Program testing service | |
CN107102937B (en) | User interface testing method and device | |
JP6215033B2 (en) | Test control apparatus, communication system, test control method, and test control program | |
CN113434384B (en) | Pressure testing method and device | |
CN112579447A (en) | Browser testing method and device | |
CN107247661B (en) | Method and system for supporting automatic verification of installation package of application | |
CN114915565A (en) | Method and system for debugging network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160705 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170511 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170530 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170731 |
|
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: 20170905 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170920 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6215033 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |