JP2006113993A - Test system for internet system - Google Patents

Test system for internet system Download PDF

Info

Publication number
JP2006113993A
JP2006113993A JP2004328215A JP2004328215A JP2006113993A JP 2006113993 A JP2006113993 A JP 2006113993A JP 2004328215 A JP2004328215 A JP 2004328215A JP 2004328215 A JP2004328215 A JP 2004328215A JP 2006113993 A JP2006113993 A JP 2006113993A
Authority
JP
Japan
Prior art keywords
test
input
input item
component object
test value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004328215A
Other languages
Japanese (ja)
Inventor
Naohiro Ogura
直浩 小倉
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.)
ODAIBA SYSTEMS KK
Original Assignee
ODAIBA SYSTEMS KK
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 ODAIBA SYSTEMS KK filed Critical ODAIBA SYSTEMS KK
Priority to JP2004328215A priority Critical patent/JP2006113993A/en
Publication of JP2006113993A publication Critical patent/JP2006113993A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem of a conventional method in which a test value is directly inputted through a browser screen by manual operation or generated by a script and failure of test due to a human error and input mistake of a test value is caused because the test value is inputted while taking a combination of the test values based on the character data type and a range/length of the test value into consideration when the input item on the browser screen for the Internet system development is tested. <P>SOLUTION: In this test system, an input item on the browser screen described in system specifications and design documentation is considered as an object having item attributes such as data length, a character data type, and a data area, and a test is carried out automatically and a record is stored only by directly setting the attributes of the input item described in the specifications and the design specifications when an object matching the input item automatically generated for a test value of a normal/abnormal system is prepared. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、システム開発のテストの工程で、ブラウザのフォーム機能の画面ユーザインターフェイスを有するインターネットアプリケーションシステムの画面上の入力項目の入力テストを実施するシステムに関する。  The present invention relates to a system for performing an input test of input items on a screen of an Internet application system having a screen user interface of a browser form function in a system development test process.

従来インターネットアプリケーションシステムのブラウザ画面上の入力項目の入力テストは、テスト時に入力する文字や数値などのテスト値のデータ種類や範囲・長さによる組み合わせを考慮しながらテストシナリオの検討してテストケースを作成し、実際にブラウザ画面から直接テスト値を手作業で投入するか、テスト値を生成するスクリプトを作成してテストを実施する方法が取られていた。  Conventionally, the input test of the input items on the browser screen of Internet application system is based on the test scenario by considering the combination of the test value such as characters and numerical values entered during the test according to the data type, range and length. A method of creating and actually inputting test values directly from the browser screen manually or creating a script for generating test values has been taken.

しかしながら、上記テスト方法では、テストシナリオ検討,テストケース作成,直接テスト値の投入,スクリプト作成のいずれも手作業が基本となっているため、テストケース洗い出し漏れや投入値の誤りなど人的ミスによりテスト段階でのシステム障害の発見を見逃して高度な品質を確保できないだけでなく、システム開発の費用・期間とも縮小の傾向にある中で作業工数の低減化が手作業主体のため図れない事が課題とになっていた。  However, in the above test method, test scenario review, test case creation, direct test value entry, and script creation are all manual operations. Therefore, due to human error such as missing test cases or incorrect input values. In addition to not being able to secure high quality by overlooking the discovery of system failures at the test stage, it is impossible to reduce the number of work man-hours because the cost and duration of system development tend to decrease. It was an issue.

上記課題を解決するために本発明に係わるインターネットシステムのためのテストシステムは、ブラウザ画面上の入力項目のテストを行うためのテスト値を自動生成するコンポーネントオブジェクトを備え、このコンポーネントオブジェクトにシステム仕様や設計書に記述されている入力項目のデータ長・文字データ種類・データの範囲の属性情報を投入するだけで、正常またはセキュリティ攻撃を含む異常系の入力項目の入力テスト値からリクエストメッセージを編集し、テスト対象システムサーバに送信し、返ってきたレスポンスメッセージの中からテストの判定を行し、テスト結果作成までを自動で実行する。  In order to solve the above problems, a test system for an Internet system according to the present invention includes a component object that automatically generates a test value for testing an input item on a browser screen. Simply input the data length, character data type, and data range attribute information of the input items described in the design document, and the request message can be edited from the input test values of normal or abnormal input items including security attacks. The test is sent from the response message sent to the system server to be tested, and the test is determined from the returned response message.

本発明は、ブラウザのフォーム機能を利用した画面ユーザインターフェイスを有するインターネットアプリケーションシステムのテスト工程において、ブラウザ上の入力項目についてシステム仕様や設計書の記載情報をもとに入力項目に対する数値や文字などの具体的なテスト値を、ブラウザ画面から直接投入する方法ではなく、システム仕様や設計書の入力項目の属性に着目し、データ長・文字データ種類・データの範囲の属性情報を設定することにより入力項目の入力テスト値を自動生成するオブジェクトを利用し自動テスト実施を行う方法とする。この方法により、テスト項目の設定および自動化したテスト実施の作業の手間を効率化できる。  In the test process of an Internet application system having a screen user interface that uses the browser form function, the present invention relates to input items on the browser such as numerical values and characters for the input items based on system specification and design description information. Enter specific test values by setting the attribute information of data length, character data type, and data range, focusing on the attributes of the input items of the system specifications and design documents, instead of inputting them directly from the browser screen. A method for performing an automatic test using an object that automatically generates an input test value of an item. By this method, it is possible to increase the efficiency of setting test items and performing automated test work.

発明の実施するための最良の形態BEST MODE FOR CARRYING OUT THE INVENTION

図2を参照して、テスト対象のインターネットシステムの端末画面を構成するブラウザ機能を有した端末機器とテスト対象のインターネットシステムのWebサーバ機能が動作するサーバ機器との間に、ネットワークで接続したプロキシサーバ機器を設け、このプロキシサーバ機器上に本発明に係わるインターネットシステムのためのテストシステムを設ける。本発明のテストシステムは、リクエストメッセージ解析コンポーネントオブジェクト,入力項目属性管理コンポーネント,テストデータの作成コンポーネント,入力項目のテスト値生成コンポーネント,テスト結果の作成コンポーネントのサブコンポーネントと、ブラウザWebサーバ間のメッセージを中継するリクエストメッセージ中継コンポーネント、テスト対象のブラウザ画面の入力項目についてシステム仕様や設計書に記載されている入力項目の属性情報を設定するための入力項目属性設定コンポーネント、テスト対象のブラウザ画面の入力項目についてテストを実施するテストケース実行コンポーネントで構成する。  Referring to FIG. 2, a proxy connected via a network between a terminal device having a browser function that configures a terminal screen of a test target Internet system and a server device on which a Web server function of the test target Internet system operates. A server device is provided, and a test system for the Internet system according to the present invention is provided on the proxy server device. The test system of the present invention is a message between a request message analysis component object, an input item attribute management component, a test data creation component, an input item test value generation component, a test result creation component subcomponent, and a browser Web server. Request message relay component to be relayed, input item of test target browser screen Input item attribute setting component for setting input item attribute information described in system specifications and design documents, test target browser screen input item Consists of test case execution components that perform tests on.

図3を参照して、リクエストメッセージ中継コンポーネントは、ブラウザからテスト対象システムに送信するリクエストメッセージをリクエストメッセージ中継コンポーネントオブジェクトで受信し、リクエストメッセージ解析コンポーネントオブジェクトを使用して受信したリクエストメッセージからテスト対象システムのWebサーバのURLを含むヘッダー情報とブラウザ上の入力項目の名前・値をリクエストメッセージから抽出し、入力項目属性管理コンポーネントオブジェクトを使用して抽出した情報を保存する。リクエストメッセージ中継コンポーネントオブジェクトは、リクエストメッセージをテスト対象システムのWebサーバに送信し、応答として受信したレスポンスメッセージを端末上のブラウザに返信する。  Referring to FIG. 3, the request message relay component receives a request message to be transmitted from the browser to the test target system using the request message relay component object, and uses the request message analysis component object to receive the request target system from the request message. The header information including the URL of the Web server and the name / value of the input item on the browser are extracted from the request message, and the extracted information is stored using the input item attribute management component object. The request message relay component object transmits the request message to the Web server of the test target system, and returns the response message received as a response to the browser on the terminal.

図4を参照して、テスト対象のブラウザ画面の入力項目について、システム仕様や設計書に記載されている入力項目の属性情報を設定するために、ブラウザから入力項目属性設定コンポーネントオブジェクトにアクセスする。入力項目属性設定コンポーネントオブジェクトは、入力項目属性管理コンポーネントオブジェクトを使用してプロキシサーバ上に保存された入力項目の情報を読み出し、ブラウザに表示情報として返しブラウザ上に表示する。次に、ブラウザ上でシステム仕様や設計書の入力項目の記述に基づき、データ長・文字種・データの範囲と正常または異常の場合の判断となるテスト対象システムのWebサーバからのレスポンスメッセージ部分のキーワードについて設定し、入力項目属性設定コンポーネントオブジェクトを介して入力項目属性管理コンポーネントオブジェクトを使用して、設定した情報を保存する。With reference to FIG. 4, in order to set the attribute information of the input item described in the system specification or design document for the input item on the browser screen to be tested, the browser accesses the input item attribute setting component object. The input item attribute setting component object reads the information of the input item stored on the proxy server using the input item attribute management component object, returns it to the browser as display information, and displays it on the browser. Next, the keyword of the response message part from the Web server of the test target system, which is judged when the data length, character type, data range, and normal or abnormal are based on the description of the system specification and design document input items on the browser And set the information using the input item attribute management component object via the input item attribute setting component object.

図5を参照して、テスト対象のブラウザ画面の入力項目についてテストを実施するには、端末上のブラウザからプロキシサーバ上のテストケース実行コンポーネントオブジェクトにアクセスする。テストケース実行コンポーネントオブジェクトは、テストデータ作成コンポーネントオブジェクトを使用し、テスト対象システムのWebサーバへ送信するリクエストメッセージを作成するため、入力項目属性管理コンポーネントオブジェクトからのテストの対象となる入力項目の属性情報とテスト対象以外の入力項目全ての正常系の入力値を取得する。入力項目のテスト値生成コンポーネントオブジェクトに対して入力項目の属性情報を与えて、正常およびセキュリティ攻撃を含む異常値の入力テストを実施するためのテスト値を生成させる。そして、テストデータ作成コンポーネントオブジェクトは、テスト値生成コンポーネントオブジェクトが生成したテスト値と入力項目属性管理コンポーネントオブジェクトから取得したテスト対象以外入力項目全ての正常系のテスト値からリクエストメッセージを作成し、テストケース実行コンポーネントオブジェクトに返す。次に、テストケース実行コンポーネントオブジェクトは、作成したリクエストメッセージをテスト対象システムのWebサーバへ送信し、テスト対象システムのWebサーバからレスポンスメッセージを受信する。受信したレスポンスメッセージは、テスト結果作成コンポーネントオブジェクトによってテスト実行結果の作成に使用される。テスト結果作成コンポーネントオブジェクトは、正常系のリクエストメッセージを送信に対して、正常系のレスポンスメッセージを受信できれば、テスト結果をOKとし、正常系のレスポンスメッセージを受信できなければ、テスト結果をNGとする。また、異常系のリクエストメッセージを送信に対して、異常系のレスポンスメッセージを受信できれば、テスト結果をOKとし、異常系のレスポンスメッセージを受信できなければ、テスト結果をNGとするテスト結果を作成する。作成したテスト結果は、テストケース実行コンポーネントオブジェクトに戻され、最終的にブラウザに返信される。この1サイクルの処理を画面上の各入力項目に対して、テスト値生成コンポーネントオブジェクトがテスト値を生成しなくなるまで繰り返す。  Referring to FIG. 5, in order to perform a test on the input items on the browser screen to be tested, a test case execution component object on the proxy server is accessed from a browser on the terminal. The test case execution component object uses the test data creation component object to create a request message to be sent to the Web server of the test target system. Therefore, the attribute information of the input item to be tested from the input item attribute management component object And obtain the normal input values of all input items other than the test target. The input item attribute information is given to the input item test value generation component object to generate a test value for performing an abnormal value input test including normal and security attacks. The test data creation component object creates a request message from the test value generated by the test value generation component object and the normal test values of all the input items other than the test target acquired from the input item attribute management component object, and the test case Return to the execution component object. Next, the test case execution component object transmits the created request message to the Web server of the test target system, and receives a response message from the Web server of the test target system. The received response message is used to create a test execution result by the test result creation component object. The test result creation component object sends a normal request message, and if a normal response message can be received, the test result is OK. If a normal response message is not received, the test result is NG. . If an abnormal response message can be received with respect to the transmission of an abnormal request message, the test result is OK. If the abnormal response message cannot be received, a test result with NG is created. . The created test result is returned to the test case execution component object, and finally returned to the browser. This one-cycle process is repeated for each input item on the screen until the test value generation component object does not generate a test value.

入力項目のテスト値生成コンポーネントオブジェクトの具体的な実装例として、図5のクラス図を始めとし、図17までのステートチャート図、アクティビティ図を用意する。As a specific implementation example of the test value generation component object of the input item, a state chart and an activity diagram up to FIG. 17 including the class diagram of FIG. 5 are prepared.

ユースケース図Use case diagram 本発明にかかるテストシステムを示す配置図Arrangement diagram showing test system according to the present invention リクエストメッセージ中継のコラボレーション図Request message relay collaboration diagram 入力項目属性設定のコラボレーション図Collaboration diagram for setting input field attributes テストケース実行のコラボレーション図Collaboration diagram for test case execution 入力項目のテスト値生成コンポーネントのクラス図Class diagram of input value test value generation component 入力項目のテスト値生成コンポーネント内のクラスの基本的なステートチャート図Basic statechart diagram of the class in the test value generation component of the input field 入力項目の属性情報からのテスト値生成クラスのアクティビティ図Activity diagram of test value generation class from attribute information of input items 基本テスト生成クラスのアクティビティ図Basic test generation class activity diagram NULL値生成クラスのアクティビティ図Activity diagram of NULL value generation class NULL値以外の生成クラスのアクティビティ図Activity diagram of generated class other than NULL value 文字種別クラスのアクティビティ図Activity diagram of character classification class 文字テスト値生成クラスのアクティビティ図Activity diagram of character test value generation class カナテスト値生成クラスのステートチャート図State chart diagram of Kana test value generation class カナテスト値生成クラスのアクティビティ図Kanatest value generation class activity diagram テスト値生成クラスのステートチャート図State chart of test value generation class テスト値生成クラスのアクティビティ図Activity diagram of test value generation class

Claims (1)

ブラウザのフォーム機能を利用した画面ユーザインターフェイスを有するインターネットアプリケーションシステム開発のテスト工程のブラウザ画面上の入力項目の入力テストにおいて、システム仕様や設計書に記述されている入力項目のデータ長・文字データ種類・データの範囲の属性情報をコンポーネントオブジェクトに投入するだけで、このコンポーネントオブジェクトが正常またはセキュリティ攻撃を含む異常値の入力項目の入力テスト値からリクエストメッセージを編集し、テスト対象システムサーバに送信し、返ってきたレスポンスメッセージの中からテストの判定を行し、テスト結果作成までを自動で実行する事が可能な 入力項目の属性情報設定による入力テスト値生成コンポーネントオブジェクトを有したインターネットシステムのためのテストシステム。  In the input test of input items on the browser screen in the test process of the Internet application system development that has a screen user interface using the browser form function, the data length and character data type of the input items described in the system specifications and design documents -Simply input the attribute information of the range of data into the component object, this component object edits the request message from the input test value of the abnormal value input item including normal or security attack, sends it to the test target system server, The Internet with an input test value generation component object by setting attribute information of input items that can perform test determination from the returned response message and automatically create test results Test system for the stem.
JP2004328215A 2004-10-15 2004-10-15 Test system for internet system Pending JP2006113993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004328215A JP2006113993A (en) 2004-10-15 2004-10-15 Test system for internet system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004328215A JP2006113993A (en) 2004-10-15 2004-10-15 Test system for internet system

Publications (1)

Publication Number Publication Date
JP2006113993A true JP2006113993A (en) 2006-04-27

Family

ID=36382445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004328215A Pending JP2006113993A (en) 2004-10-15 2004-10-15 Test system for internet system

Country Status (1)

Country Link
JP (1) JP2006113993A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007334837A (en) * 2006-06-19 2007-12-27 Ricoh Co Ltd Test scenario creation method, program and recording medium
JP2008242738A (en) * 2007-03-27 2008-10-09 Fujitsu Ltd Program, apparatus and method for creating test specification
US7624380B2 (en) 2006-06-05 2009-11-24 International Business Machines Corporation Generating functional test scripts
JP2013008306A (en) * 2011-06-27 2013-01-10 Nomura Research Institute Ltd Security diagnosis support device for fx system, and security diagnosis support method for fx system
US9164878B2 (en) 2010-12-24 2015-10-20 International Business Machines Corporation Evaluating coverage of a software test
JP2016048470A (en) * 2014-08-27 2016-04-07 日本電気株式会社 Application test support apparatus, data processing method thereof, and program
JP2020123203A (en) * 2019-01-31 2020-08-13 三菱重工業株式会社 Dataset verification device, program and method therefor, and dataset verification system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624380B2 (en) 2006-06-05 2009-11-24 International Business Machines Corporation Generating functional test scripts
US7996819B2 (en) 2006-06-05 2011-08-09 International Business Machines Corporation Generating functional test scripts
JP2007334837A (en) * 2006-06-19 2007-12-27 Ricoh Co Ltd Test scenario creation method, program and recording medium
JP2008242738A (en) * 2007-03-27 2008-10-09 Fujitsu Ltd Program, apparatus and method for creating test specification
US9164878B2 (en) 2010-12-24 2015-10-20 International Business Machines Corporation Evaluating coverage of a software test
JP2013008306A (en) * 2011-06-27 2013-01-10 Nomura Research Institute Ltd Security diagnosis support device for fx system, and security diagnosis support method for fx system
JP2016048470A (en) * 2014-08-27 2016-04-07 日本電気株式会社 Application test support apparatus, data processing method thereof, and program
JP2020123203A (en) * 2019-01-31 2020-08-13 三菱重工業株式会社 Dataset verification device, program and method therefor, and dataset verification system
JP7206122B2 (en) 2019-01-31 2023-01-17 三菱重工業株式会社 DATASET VERIFICATION DEVICE AND PROGRAM, METHOD AND DATASET VERIFICATION SYSTEM

Similar Documents

Publication Publication Date Title
Offutt et al. Bypass testing of web applications
US8504991B2 (en) Cross-browser testing of a web application
US8839107B2 (en) Context based script generation
US9612848B2 (en) Systems and methods for gathering and processing user feedback
US20130191814A1 (en) Test scenario generation method, test scenario generation system, and test scenario generation program
US8306805B2 (en) Scenario generation method and scenario generation apparatus
JP2007181031A (en) Information processor, method for controlling the same, program and storage medium
JP2002278797A (en) System and method for diagnosing security
JPWO2009144826A1 (en) Inspection file generation program, inspection file generation apparatus, and inspection file generation method
JP2006113993A (en) Test system for internet system
CN107888451B (en) Method and device for testing Web server
US20120331077A1 (en) Information processing apparatus, method of controlling information processnig apparatus, program for control method, and recording medium for program
JP2005250945A (en) Web application inspection device
JP6436705B2 (en) Test execution device, test execution method, and computer program
Jayashree et al. Web Service Diagnoser Model for managing faults in web services
CN107797917B (en) Performance test script generation method and device
JP2010039901A (en) Operation verification device and operation verification program
KR101691929B1 (en) An apparatus for implementing an automation of a web user interface and method therefor
JP6436704B2 (en) Test execution device, test execution method, and computer program
Bluemke et al. Tool for automatic testing of web services
JP2008181299A (en) Communication error information output program, communication error information output method, and communication error information output device
CN114238148A (en) Business system login test method, device, equipment and medium
JP6353759B2 (en) Test execution device, test execution method, and computer program
Kim et al. Automatic monitoring of service reliability for web applications: a simulation‐based approach
JP6224022B2 (en) Security diagnostic apparatus, system, method and program