JPH04349556A - Device and method for testing communication control program - Google Patents

Device and method for testing communication control program

Info

Publication number
JPH04349556A
JPH04349556A JP3123365A JP12336591A JPH04349556A JP H04349556 A JPH04349556 A JP H04349556A JP 3123365 A JP3123365 A JP 3123365A JP 12336591 A JP12336591 A JP 12336591A JP H04349556 A JPH04349556 A JP H04349556A
Authority
JP
Japan
Prior art keywords
communication control
control program
communication
under test
program under
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
JP3123365A
Other languages
Japanese (ja)
Inventor
Makoto Kataoka
誠 片岡
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 Information Service Co Ltd
Original Assignee
NEC Information Service Co Ltd
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 Information Service Co Ltd filed Critical NEC Information Service Co Ltd
Priority to JP3123365A priority Critical patent/JPH04349556A/en
Publication of JPH04349556A publication Critical patent/JPH04349556A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily execute the operation test of a communication control program without being influenced by the function of the opposite communication party and personal factor. CONSTITUTION:By an input means 1, an operation condition is inputted by operation instructing simple language. By a translating means 2, operation condition data is translated. A simulation executing means 3 analyzes the translated data and instructs the operation condition to a communication control means 5, delivers communication trace information to a communication control program to be tested, to a test history collecting means 4, and also, in the case operation abnormality is detected, operation abnormality information is outputted to an input/output device 8.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、通信制御プログラム試
験装置に関し、特に、通信制御プログラム開発上の試験
において、通信相手をシミュレートしてプログラムの動
作異常を検出する通信制御プログラム試験装置に関する
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control program testing device, and more particularly to a communication control program testing device for simulating a communication partner and detecting malfunctions in the program during a test for developing a communication control program.

【0002】0002

【従来の技術】従来、通信制御プログラムの開発の工程
において、プログラムの動作試験は、実際の通信相手(
ホスト/端末)と通信回線で接続するか、または、通信
制御プログラムの開発の都度、通信相手をシミュレート
する試験ツールを作成して、このツールと被試験通信制
御プログラムを通信回線で接続し、被試験プログラムを
実行し、回線アナライザ・トレース情報等によりその動
作結果を評価していた。
[Prior Art] Conventionally, in the process of developing a communication control program, the operation test of the program was carried out on the actual communication partner (
host/terminal) via a communication line, or each time you develop a communication control program, create a test tool that simulates the communication partner, and connect this tool and the communication control program under test via a communication line. The program under test was executed and the operational results were evaluated using line analyzer trace information, etc.

【0003】0003

【発明が解決しようとする課題】前述のごとく、通信制
御プログラムの動作試験においては、通信相手(ホスト
/端末)と実際に通信回線で接続して行う場合があるが
、この場合、通信相手の機能上の制約や、端末操作など
の人的要素があることにより、試験項目を実施するため
の条件を設定できない場合が存在する。
[Problem to be Solved by the Invention] As mentioned above, in the operation test of a communication control program, there are cases where the operation test is performed by actually connecting to the communication partner (host/terminal) via a communication line. Due to functional constraints and human factors such as terminal operations, there are cases where it is not possible to set conditions for implementing test items.

【0004】また、実通信相手と接続する環境を設定で
きない場合は、通信相手の疑似動作を行うシミュレータ
を用いるが、通信制御プログラム開発の都度、シミュレ
ータやこのシミュレータが使用するデータを作成して試
験を実施している。このため、通信制御プログラムの開
発の度にシミュレータ作成工数が必要となる。また、シ
ミュレートデータ作成においてもコードイメージでの登
録が主であり、多端末/ホストのシミュレートデータ作
成が困難であり、通信制御プログラムの動作試験におい
て、本来、実施すべき試験項目をすべて実施することは
困難である。
[0004] Furthermore, if it is not possible to set up an environment for connecting with an actual communication partner, a simulator that simulates the behavior of the communication partner is used, but each time a communication control program is developed, the simulator and the data used by this simulator are created and tested. are being carried out. Therefore, man-hours are required to create a simulator every time a communication control program is developed. In addition, when creating simulation data, registration is mainly done in the form of a code image, making it difficult to create simulation data for multiple terminals/hosts.All test items that should have been performed in the operation test of the communication control program are performed. It is difficult to do so.

【0005】本発明の目的は、通信相手の機能上の制約
や、人的要素に影響されることなく、シミュレート動作
条件を容易かつ詳細に設定することのできる通信制御プ
ログラム試験装置および方法を提供することにある。
[0005] An object of the present invention is to provide a communication control program testing device and method that can easily and precisely set simulation operating conditions without being affected by functional constraints of a communication partner or human factors. It is about providing.

【0006】[0006]

【課題を解決するための手段】本発明は、被試験通信制
御プログラムの通信相手をシミュレートするための動作
条件を簡単な文法によって記述することのできる動作指
示簡易言語によって入力する手段と、入力手段によって
入力された動作条件を動作情報データに翻訳する翻訳手
段と、翻訳された動作情報データを解析し、解析された
動作情報データに従い被試験プログラムの通信相手をシ
ミュレートし、被試験プログラムの動作の正当性をチェ
ックして動作異常を検出した場合に、動作異常情報を試
験実施者に通知するシミュレート実行手段と、シミュレ
ート実行手段の指示により被試験プログラムとの通信を
制御する通信制御手段と、シミュレート実行手段から通
知される通信履歴・試験履歴情報を収集する試験履歴収
集手段とを有することを特徴としている。
[Means for Solving the Problems] The present invention provides a means for inputting operating conditions for simulating a communication partner of a communication control program under test using a simple operation instruction language that can describe using a simple grammar; a translation means for translating operating conditions inputted by the means into operating information data; A simulation execution means that checks the correctness of the operation and notifies the tester of abnormal operation information when an abnormality is detected, and a communication control that controls communication with the program under test according to instructions from the simulation execution means. and test history collection means for collecting communication history/test history information notified from the simulation execution means.

【0007】また、本発明は、被試験通信制御プログラ
ムの通信相手をシミュレートするための動作条件を動作
指示簡易言語により入力し、入力された動作条件を動作
情報データに翻訳して解析し、被試験通信制御プログラ
ムの動作の正当性をチェックするためのシミュレートを
する動作条件を指示し、指示された動作条件に従って通
信制御装置を制御して被試験通信制御プログラムと送受
信を行い、通信トレース情報を試験履歴ログファイルに
出力し、被試験通信制御プログラムの動作異常を検出し
た場合に、動作異常情報を試験実施者に通知することを
特徴としている。
The present invention also provides a method for inputting operating conditions for simulating a communication partner of a communication control program under test using a simple operating instruction language, translating the input operating conditions into operating information data, and analyzing the input operating conditions. Instruct the operating conditions for simulating to check the correctness of the operation of the communication control program under test, control the communication control device according to the instructed operating conditions, perform transmission and reception with the communication control program under test, and trace the communication. The feature is that information is output to a test history log file, and when an abnormal operation of the communication control program under test is detected, the abnormal operation information is notified to the tester.

【0008】さらに、本発明は、入出力装置から入力さ
れ、被試験プログラムの通信相手をシミュレートするた
めの動作条件を簡単な文法によって記述することのでき
る動作指示簡易言語で記述された動作条件データを動作
指示ソースファイルに出力し、動作指示ソースファイル
から動作条件データを読み込み、翻訳して動作情報デー
タファイルに出力し、入出力装置からの指示コマンドに
より、動作情報データファイルから動作情報データを読
み込み、解析して被試験通信制御プログラムの動作の正
当性をチェックするためのシミュレートをする動作条件
を指示し、指示された動作条件に従って通信制御装置を
制御して被試験通信制御プログラムと送受信を行い、通
信トレース情報を試験履歴ログファイルに出力し、通信
トレース情報および動作情報データを用いて被試験通信
制御プログラムの動作異常を検出した場合に、動作異常
情報を入出力装置に出力し、試験実施者に通知すること
を特徴としている。
Furthermore, the present invention provides operating conditions input from an input/output device and written in a simple operating instruction language capable of describing operating conditions for simulating a communication partner of a program under test using a simple grammar. Output the data to the operation instruction source file, read the operation condition data from the operation instruction source file, translate it and output it to the operation information data file, and read the operation information data from the operation information data file by the instruction command from the input/output device. Load and analyze the operating conditions to simulate to check the correctness of the operation of the communication control program under test. Instruct the communication control device according to the instructed operating conditions to send and receive data to and from the communication control program under test. and output communication trace information to a test history log file, and if an operational abnormality of the communication control program under test is detected using the communication trace information and operation information data, output the operational abnormality information to the input/output device, It is characterized by notifying the test conductor.

【0009】[0009]

【実施例】次に、本発明の実施例について、図面を参照
して説明する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings.

【0010】図1は、本発明に係る通信制御プログラム
試験装置の一実施例を示すブロック図である。図1の通
信制御プログラム試験装置20は、入力手段1と、翻訳
手段2と、シミュレート実行手段3と、試験履歴収集手
段4と、通信制御手段5とにより構成されている。
FIG. 1 is a block diagram showing an embodiment of a communication control program testing device according to the present invention. The communication control program testing device 20 shown in FIG. 1 includes an input means 1, a translation means 2, a simulation execution means 3, a test history collection means 4, and a communication control means 5.

【0011】通信制御プログラム試験装置20には、外
部装置として入出力装置8と、動作指示ソースファイル
9と、動作情報データファイル10と、試験履歴ログフ
ァイル11と、通信制御装置6とが接続されており、通
信制御装置6は、通信ネットワーク13を介して被試験
通信制御プログラム7が実装されているコンピュータシ
ステム12と接続されている。ここで、入出力装置は、
例えば、キーボード・ディスプレイなどで構成されてい
る。また、動作指示ソースファイル9、動作情報ファイ
ル10、試験履歴ログファイル11は磁気ディスク等で
構成されている。
The communication control program testing device 20 is connected to an input/output device 8, an operation instruction source file 9, an operation information data file 10, a test history log file 11, and a communication control device 6 as external devices. The communication control device 6 is connected via a communication network 13 to a computer system 12 in which a communication control program under test 7 is installed. Here, the input/output device is
For example, it consists of a keyboard and display. Further, the operation instruction source file 9, the operation information file 10, and the test history log file 11 are composed of magnetic disks and the like.

【0012】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

【0013】試験実施者は、通信制御プログラム7を試
験するために、被試験通信制御プログラム7の通信相手
をシミュレートするための動作条件を、動作指示簡易言
語で入出力装置8より入力する。ここで、動作指示簡易
言語は、本装置が被試験プログラムと送受信する電文を
定義するデータ記述文と、本装置が被試験プログラムに
対して行う動作を記述する動作指示文と、被試験プログ
ラムの動作や受信電文を判別する条件文等の記述文とか
ら構成される。
In order to test the communication control program 7, the tester inputs operating conditions for simulating the communication partner of the communication control program under test 7 using the input/output device 8 in a simple operating instruction language. Here, the operation instruction simple language includes a data description statement that defines the message that this device sends and receives to and from the program under test, an operation instruction statement that describes the operation that this device performs on the program under test, and the program under test. It consists of descriptive statements such as conditional statements that determine operations and received messages.

【0014】入力手段1は、入出力装置8から入力され
た、動作指示簡易言語で記述された動作条件データを、
動作指示ソースファイル9に出力する。
The input means 1 receives operating condition data input from the input/output device 8 and is written in a simple operating instruction language.
Output to the operation instruction source file 9.

【0015】翻訳手段2は、入力手段1により出力され
た動作指示ソースファイル9を読み込み、動作指示簡易
言語で記述されているデータを翻訳し、動作情報データ
ファイル10に出力する。
The translation means 2 reads the action instruction source file 9 outputted by the input means 1, translates the data written in the action instruction simple language, and outputs it to the action information data file 10.

【0016】シミュレート実行手段3は、試験実施者の
入出力装置8からの指示コマンドにより、動作情報デー
タファイル10から動作情報データを読み込み、動作情
報データを解析し、被試験通信制御プログラム7の動作
の正当性をチェックするためのシミュレートをする動作
条件を、通信制御手段5に指示する。また、通信制御手
段5から通知される被試験通信制御プログラム7との通
信トレース情報を試験履歴収集手段4に引き渡すととも
に、通信トレース情報および前述の動作情報データを用
いて、被試験通信制御プログラム7の動作異常を検出し
た場合、動作異常情報を入出力装置8に出力し、異常を
試験実施者に通知する。
The simulation execution means 3 reads the operation information data from the operation information data file 10 in response to an instruction command from the input/output device 8 of the test executor, analyzes the operation information data, and executes the communication control program under test 7. The operating conditions to be simulated to check the validity of the operation are instructed to the communication control means 5. Further, the communication trace information with the communication control program under test 7 notified from the communication control means 5 is delivered to the test history collection means 4, and the communication trace information and the above-mentioned operation information data are used to transfer the communication trace information with the communication control program under test 7. When an abnormal operation is detected, the abnormal operation information is output to the input/output device 8 and the test person is notified of the abnormality.

【0017】試験履歴収集手段4は、シミュレート実行
手段3から通知される通信トレース情報を、試験結果と
して試験履歴ログファイル11に出力する。
The test history collection means 4 outputs the communication trace information notified from the simulation execution means 3 to the test history log file 11 as a test result.

【0018】通信制御手段5は、シミュレート実行手段
3から指示された動作条件に従って、被試験通信プログ
ラム7に合わせた通信プロトコルで通信制御装置6を制
御して、電文の送受信、被試験プログラム7との接続・
切断を実行する。
The communication control means 5 controls the communication control device 6 according to the communication protocol suitable for the communication program under test 7 in accordance with the operating conditions instructed by the simulation execution means 3, so as to send and receive messages and to control the program under test 7. Connection with
Execute the disconnection.

【0019】このように、本実施例は、動作指示簡易言
語で通信相手のシミュレート動作条件を設定することが
できるために、通信制御プログラムの動作試験を容易に
行うことができる。
As described above, in this embodiment, since the simulated operating conditions of the communication partner can be set using the simple operating instruction language, it is possible to easily test the operation of the communication control program.

【0020】[0020]

【発明の効果】以上説明したように本発明は、入力手段
、翻訳手段、シミュレート実行手段、試験履歴収集手段
、通信制御手段を設けたことにより、被試験通信プログ
ラムと対向する通信相手のシミュレート動作条件を、動
作指示簡易言語で容易に、かつ詳細に指示することが可
能となる。
As explained above, the present invention provides an input means, a translation means, a simulation execution means, a test history collection means, and a communication control means. It becomes possible to easily and in detail instruct the target operating conditions using a simple operating instruction language.

【0021】また、通信制御プログラム開発における試
験ツールとしてのシミュレータの作成は必要でなくなり
、動作指示簡易言語でシミュレート動作条件を設定指示
することにより、通信制御プログラムの試験が可能とな
る。
Furthermore, it is no longer necessary to create a simulator as a test tool in developing a communication control program, and the communication control program can be tested by setting and instructing simulation operating conditions using a simple operation instruction language.

【0022】さらに、通信制御プログラムの負荷試験等
を実施するにあたっても、動作指示簡易言語で動作条件
を指示するだけで、複数の通信相手を同時にシミュレー
トできるため、試験を容易に行うことができるという効
果を有する。
[0022]Furthermore, when carrying out a load test of a communication control program, etc., multiple communication partners can be simulated at the same time by simply instructing the operating conditions using a simple operating instruction language, making it easy to perform the test. It has this effect.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明に係る通信制御プログラム試験装置の一
実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a communication control program testing device according to the present invention.

【符号の説明】[Explanation of symbols]

1  入力手段 2  翻訳手段 3  シミュレート実行手段 4  試験履歴収集手段 5  通信制御手段 6  通信制御装置 7  被試験通信制御プログラム 8  入出力装置 9  動作指示ソースプログラム 10  動作情報データファイル 11  試験履歴ログファイル 12  コンピュータシステム 13  履歴ネットワーク 20  通信制御プログラム試験装置 1 Input means 2 Translation means 3 Simulation execution means 4 Test history collection means 5 Communication control means 6 Communication control device 7 Communication control program under test 8 Input/output device 9 Operation instruction source program 10 Operation information data file 11 Test history log file 12 Computer system 13 History network 20 Communication control program testing equipment

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】被試験通信制御プログラムの通信相手をシ
ミュレートするための動作条件を簡単な文法によって記
述することのできる動作指示簡易言語によって入力する
手段と、入力手段によって入力された動作条件を動作情
報データに翻訳する翻訳手段と、翻訳された動作情報デ
ータを解析し、解析された動作情報データに従い被試験
プログラムの通信相手をシミュレートし、被試験プログ
ラムの動作の正当性をチェックして動作異常を検出した
場合に、動作異常情報を試験実施者に通知するシミュレ
ート実行手段と、シミュレート実行手段の指示により被
試験プログラムとの通信を制御する通信制御手段と、シ
ミュレート実行手段から通知される通信履歴・試験履歴
情報を収集する試験履歴収集手段とを有することを特徴
とする通信制御プログラム試験装置。
1. Means for inputting operating conditions for simulating a communication partner of a communication control program under test using a simple operation instruction language that can describe using a simple grammar; A translation means for translating into operation information data, analyzing the translated operation information data, simulating the communication partner of the program under test according to the analyzed operation information data, and checking the correctness of the operation of the program under test. A simulation execution means that notifies a tester of operational abnormality information when an operational abnormality is detected; a communication control means that controls communication with the program under test according to instructions from the simulation execution means; 1. A communication control program testing device comprising test history collection means for collecting notified communication history/test history information.
【請求項2】被試験通信制御プログラムの通信相手をシ
ミュレートするための動作条件を動作指示簡易言語によ
り入力し、入力された動作条件を動作情報データに翻訳
して解析し、被試験通信制御プログラムの動作の正当性
をチェックするためのシミュレートをする動作条件を指
示し、指示された動作条件に従って通信制御装置を制御
して被試験通信制御プログラムと送受信を行い、通信ト
レース情報を試験履歴ログファイルに出力し、被試験通
信制御プログラムの動作異常を検出した場合に、動作異
常情報を試験実施者に通知することを特徴とする通信制
御プログラム試験方法。
[Claim 2] Operating conditions for simulating the communication partner of the communication control program under test are input in a simple operation instruction language, the input operating conditions are translated into operation information data and analyzed, and the communication control program under test is controlled. Instructs the operating conditions to be simulated to check the validity of the program's operation, controls the communication control device according to the instructed operating conditions, performs transmission and reception with the communication control program under test, and records communication trace information in the test history. A communication control program testing method characterized by outputting the information to a log file and notifying a tester of abnormal operation information when an abnormal operation of the communication control program under test is detected.
【請求項3】入出力装置から入力され、被試験プログラ
ムの通信相手をシミュレートするための動作条件を簡単
な文法によって記述することのできる動作指示簡易言語
で記述された動作条件データを動作指示ソースファイル
に出力し、動作指示ソースファイルから動作条件データ
を読み込み、翻訳して、動作情報データファイルに出力
し、入出力装置からの指示コマンドにより、動作情報デ
ータファイルから動作情報データを読み込み、解析して
、被試験通信制御プログラムの動作の正当性をチェック
するためのシミュレートをする動作条件を指示し、指示
された動作条件に従って通信制御装置を制御して被試験
通信制御プログラムと送受信を行い、通信トレース情報
を試験履歴ログファイルに出力し、通信トレース情報お
よび動作情報データを用いて被試験通信制御プログラム
の動作異常を検出した場合に、動作異常情報を入出力装
置に出力し、試験実施者に通知することを特徴とする通
信制御プログラム試験方法。
[Claim 3] Operation instructions include operation condition data input from an input/output device and written in an operation instruction simple language that can describe the operation conditions for simulating the communication partner of the program under test using a simple grammar. Output to a source file, read the operating condition data from the operation instruction source file, translate it, output it to the operating information data file, read the operating information data from the operating information data file using the instruction command from the input/output device, and analyze it. Then, instruct the operating conditions to be simulated to check the correctness of the operation of the communication control program under test, and control the communication control device according to the instructed operating conditions to perform transmission and reception with the communication control program under test. , communication trace information is output to the test history log file, and when an operational abnormality of the communication control program under test is detected using the communication trace information and operational information data, the operational abnormality information is output to the input/output device and the test is executed. A communication control program testing method characterized by notifying a person.
JP3123365A 1991-05-28 1991-05-28 Device and method for testing communication control program Pending JPH04349556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3123365A JPH04349556A (en) 1991-05-28 1991-05-28 Device and method for testing communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3123365A JPH04349556A (en) 1991-05-28 1991-05-28 Device and method for testing communication control program

Publications (1)

Publication Number Publication Date
JPH04349556A true JPH04349556A (en) 1992-12-04

Family

ID=14858786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3123365A Pending JPH04349556A (en) 1991-05-28 1991-05-28 Device and method for testing communication control program

Country Status (1)

Country Link
JP (1) JPH04349556A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4600601B1 (en) * 2010-04-08 2010-12-15 株式会社ベイビッグ Debug support device, debug support method, and debug support program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4600601B1 (en) * 2010-04-08 2010-12-15 株式会社ベイビッグ Debug support device, debug support method, and debug support program
JP2011221772A (en) * 2010-04-08 2011-11-04 Baybig Co Ltd Debug support device, debug support method and debug support program

Similar Documents

Publication Publication Date Title
US5022028A (en) Software verification apparatus
KR101132560B1 (en) System and method for automatic interface testing based on simulation for robot software components
US6889337B1 (en) Method and system for screen reader regression testing
CN111309343B (en) Development deployment method and device
KR101110241B1 (en) Program test device and program
US20080299525A1 (en) Operation training system and operation training method
US9183118B2 (en) Method for simulating a system on board an aircraft for testing an operating software program and device for implementing said method
JPH04349556A (en) Device and method for testing communication control program
JP2002333469A (en) Device for debugging program for test of semiconductor
CN112035300A (en) Server BMC automatic test system, method, storage medium and electronic device
JPH10340201A (en) System test automatic device
JP3033723B2 (en) Simulated test method and program recording medium for stored exchange program controlled electronic exchange
JP2894296B2 (en) Software test system for mobile switching system
JPH05304547A (en) Simulated terminal equipment
JPH01319836A (en) On-line system performance evaluating control system by terminal simulation
Li et al. Design of traffic controller automated testing tool
CN114676064A (en) General test system and method for hardware language code
Tsiang Advanced mobile phone service: Development support systems
Watkins et al. Remote terminal emulation in the procurement of teleprocessing systems
JPH08314817A (en) Error analysis system
JP2820080B2 (en) Communication system simulator for electronic exchange
JPS593653A (en) Remote terminal i/o simulator
CN113204491A (en) Interface automation test case generation method and system
JPS63247842A (en) Evaluation system for test program
JPH03130839A (en) On-line simulation system