JPH05143312A - Method for testing on-line program - Google Patents

Method for testing on-line program

Info

Publication number
JPH05143312A
JPH05143312A JP3302990A JP30299091A JPH05143312A JP H05143312 A JPH05143312 A JP H05143312A JP 3302990 A JP3302990 A JP 3302990A JP 30299091 A JP30299091 A JP 30299091A JP H05143312 A JPH05143312 A JP H05143312A
Authority
JP
Japan
Prior art keywords
transaction
screen
program
online
transaction data
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.)
Withdrawn
Application number
JP3302990A
Other languages
Japanese (ja)
Inventor
Hiroyuki Okada
裕之 岡田
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP3302990A priority Critical patent/JPH05143312A/en
Publication of JPH05143312A publication Critical patent/JPH05143312A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently and surely execute an on-line program test by utilizing a picture. CONSTITUTION:A picture transaction data file 1 for storing picture transaction data to be tested is previously prepared. A transaction generating AP 2 is a program for generating an on-line transaction based upon the file 1. A virtual terminal 3 allows the on-line transaction generated from the AP 2 to pretend as if data are inputted from a real on-line terminal. An OS 4 has a function for distributing an on-line transaction outputted from each on-line terminal to an on-line program to be processed and a function for distributing processed results outputted from respective on-line terminals to respective on-line terminals. An AP group 5 to be tested is an online program group using a picture to be tested.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画面を使用するオンラ
インプログラムのテスト方法に関し、特に、大量のトラ
ンザクションデータを一括してテストする場合で、テス
トの検証内容がデータベース,ファイルなどの更新結果
を中心に行なうようなオンラインプログラムのテスト方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing an online program using a screen, and particularly when testing a large amount of transaction data at once, the verification content of the test indicates the update results of databases, files, etc. It's about how to test online programs like you do.

【0002】[0002]

【従来の技術】従来、この種の画面を使用するオンライ
ンプログラムのテスト方法は、図2に示すように、テス
トを行なうトランザクションデータを実オンライン端末
23より人間22が手作業で入力し、入力されたトラン
ザクションデータは第1のデータ26として第1のプロ
グラムに渡され、第1のプログラムは第1のデータの内
容を基に処理を実行し、処理結果を第2のデータ27と
して実オンライン端末23に表示する。上記一連の作業
をテストデータ件数繰り返し行なう。
2. Description of the Related Art Conventionally, in a method of testing an online program using a screen of this kind, as shown in FIG. 2, a transaction data to be tested is manually input by a human 22 from an actual online terminal 23. The transaction data is passed to the first program as the first data 26, the first program executes the process based on the content of the first data, and the process result is the second data 27 as the real online terminal 23. To display. The above-mentioned series of operations is repeated for the number of test data items.

【0003】テストデータメモ21はテスト対象データ
のメモであり、OS24は、各オンライン端末からのオ
ンライントランザクションを処理対象となるオンライン
プログラムに振り分ける機能と、各オンラインプログラ
ムから出される処理結果(出力画面データ)を各オンラ
イン端末に振り分ける機能を持ち、各汎用コンピュータ
の標準機能である。テスト対象AP群25は、テスト対
象となるオンラインプログラム群である。
The test data memo 21 is a memo of data to be tested, and the OS 24 has a function of distributing online transactions from each online terminal to online programs to be processed, and a processing result (output screen data) output from each online program. ) Has the function of distributing to each online terminal, is a standard function of each general-purpose computer. The test target AP group 25 is an online program group to be tested.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のオンラ
インプログラムのテスト方法は、人間作業によりトラン
ザクションデータの入力を行なっているため、大量のト
ランザクションデータを処理するようなテストにおいて
は、以下のような欠点がある。 *トランザクションデータの入力に時間かかかる。 *入力ミスが発生する。 *再テストを行なう場合、前回のテストと同じ作業量が
発生し、効率が低い。
Since the above-mentioned conventional method for testing an online program inputs transaction data by human work, in a test for processing a large amount of transaction data, the following is performed. There are drawbacks. * It takes time to enter transaction data. * Input error occurs. * When re-testing, the same amount of work as in the previous test is generated and efficiency is low.

【0005】[0005]

【課題を解決するための手段】本発明のオンラインプロ
グラムのテスト方法は、汎用コンピュータのオンライン
機能として準備されている仮想端末に対して、事前に作
成済みのオンライン画面トランザクションデータを連続
的に送信および仮想端末からのメッセージを受信するプ
ログラムを実行し、これにより画面を使用する任意のオ
ンラインプログラムに対して連続してトランザクション
を処理させることを特徴とする。
A method of testing an online program according to the present invention continuously transmits online screen transaction data prepared in advance to a virtual terminal prepared as an online function of a general-purpose computer. It is characterized in that a program for receiving a message from a virtual terminal is executed so that any online program using the screen can process transactions continuously.

【0006】[0006]

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

【0007】図1は本発明の一実施例を適用する装置の
構成図である。画面トランザクションデータファイル1
はテスト対象となる画面トランザクションデータを格納
するファイルであり、事前に準備しておく。トランザク
ション発生AP2は画面トランザクションデータファイ
ル1を基にオンライントランザクションを発生させるプ
ログラムである。仮想端末3はトランザクション発生A
P2が発生させたオンライントランザクションをあたか
も実オンライン端末からデータが入力されたようにみせ
かけるものであり、各汎用コンピュータの標準機能であ
る。OS4は、各オンライン端末(仮想端末を含む)か
らのオンライントランザクションを処理対象となるオン
ラインプログラムに振り分ける機能と、各オンライン端
末から出される処理結果(出力画面データ)を各オンラ
イン端末に振り分ける機能とを持ち、各汎用コンピュー
タの標準機能である。テスト対象AP群5は、テスト対
象となる画面を使用するオンラインプログラム群であ
る。
FIG. 1 is a block diagram of an apparatus to which an embodiment of the present invention is applied. Screen transaction data file 1
Is a file that stores the screen transaction data to be tested, and is prepared in advance. The transaction generation AP2 is a program for generating an online transaction based on the screen transaction data file 1. Virtual terminal 3 generates transaction A
The online transaction generated by P2 is made to appear as if data was input from an actual online terminal, and is a standard function of each general-purpose computer. The OS 4 has a function of distributing online transactions from each online terminal (including a virtual terminal) to an online program to be processed, and a function of distributing processing results (output screen data) output from each online terminal to each online terminal. Has, is a standard function of each general-purpose computer. The test target AP group 5 is an online program group that uses a screen to be tested.

【0008】次にこの実施例の具体的処理の流れを説明
する。
Next, a specific processing flow of this embodiment will be described.

【0009】第1の処理は画面トランザクションファイ
ルの作成であり、画面トランザクションデータファイル
1をエディタなどにより事前に作成する。
The first process is to create a screen transaction file, and the screen transaction data file 1 is created in advance by an editor or the like.

【0010】第2の処理は画面トランザクションデータ
読込(第1のデータ)であり、トランザクション発生A
P2が画面トランザクションデータファイル1から画面
トランザクションデータを1件読み込む。
The second processing is screen transaction data reading (first data), and transaction generation A
P2 reads one screen transaction data from the screen transaction data file 1.

【0011】第3の処理は仮想端末へのデータ送信(第
2のデータ)であり、トランザクション発生AP2は画
面トランザクションデータファイルから読み込んだ画面
トランザクションデータを仮想端末3に送信する。ま
た、送信時刻を記憶する。
The third processing is data transmission (second data) to the virtual terminal, and the transaction generation AP2 transmits the screen transaction data read from the screen transaction data file to the virtual terminal 3. Also, the transmission time is stored.

【0012】第4の処理はテスト対象AP群へのデータ
送信(第3のデータ)であり、仮想端末3に入力された
画面トランザクションデータがOS4を経由され、処理
対象となるオンラインプログラムに渡される。
The fourth process is data transmission (third data) to the test target AP group, and the screen transaction data input to the virtual terminal 3 is passed through the OS 4 and passed to the online program to be processed. ..

【0013】第5の処理はトランザクション処理結果
(出力画面データ)の送信(第4のデータ)であり、オ
ンラインプログラムから出力されるトランザクション処
理結果(出力画面データ)がOS4を経由し仮想端末3
に送信される。
The fifth processing is transmission of transaction processing results (output screen data) (fourth data), and the transaction processing results (output screen data) output from the online program pass through the OS 4 to the virtual terminal 3
Sent to.

【0014】第6の処理はトランザクション処理結果の
受信(第5のデータ)であり、仮想端末3に出力された
トランザクション処理結果をトランザクション発生AP
2が受信し、また、受信時刻を記憶する。
The sixth processing is the reception of the transaction processing result (fifth data), and the transaction processing result output to the virtual terminal 3 is used as the transaction generation AP.
2 receives and also stores the reception time.

【0015】第7の処理はトランザクション実行情報の
ファイル出力であり、トランザクション発生AP2が画
面トランザクションデータを仮想端末3に送信した時
刻、仮想端末3からトランザクション処理結果を受信し
た時刻およびトランザクション処理結果を実行履歴ファ
イル7に出力する。
The seventh process is a file output of transaction execution information. The transaction generation AP2 executes the screen transaction data to the virtual terminal 3, the time when the transaction processing result is received from the virtual terminal 3 and the transaction processing result. Output to history file 7.

【0016】上記第1〜第7の処理は1画面トランザク
ションデータ分の流れであり、実際には画面トランザク
ションデータファイル1に作成された画面トランザクシ
ョンデータ件数分上記処理を繰り返し行なう。
The above-mentioned first to seventh processes are the flow for one screen transaction data, and the above processes are actually repeated for the number of screen transaction data created in the screen transaction data file 1.

【0017】最終的に各トランザクションの実行履歴を
確認する場合には、実行履歴ファイル7のデータをエデ
ィタ,ファイルダンプユーティリティなどにより出力
し、確認する。
When finally confirming the execution history of each transaction, the data of the execution history file 7 is output by an editor, a file dump utility or the like and confirmed.

【0018】[0018]

【発明の効果】以上説明したように、本発明は、事前に
準備した画面トランザクションデータをトランザクショ
ン発生プログラムと仮想端末機能を使用し、オンライン
トランザクションデータをあたかも実オンライン端末か
ら入力したように連続的かつ自動的に行なえ、画面を使
用したオンラインプログラムのテストを効率よく確実に
実施できる効果を奏する。
As described above, according to the present invention, the screen transaction data prepared in advance is continuously and continuously used as if the online transaction data was input from the actual online terminal by using the transaction generation program and the virtual terminal function. It can be performed automatically, and the effect that the online program test using the screen can be performed efficiently and reliably.

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

【図1】本発明の一実施例を適用する装置の構成図であ
る。
FIG. 1 is a configuration diagram of an apparatus to which an embodiment of the present invention is applied.

【図2】従来例を適用する装置の構成図である。FIG. 2 is a configuration diagram of an apparatus to which a conventional example is applied.

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

1 画面トランザクションデータファイル 2 トランザクション発生AP 3 仮想端末 4 OS 5 テスト対象AP群 7 実行履歴ファイル 1 screen transaction data file 2 transaction generation AP 3 virtual terminal 4 OS 5 test target AP group 7 execution history file

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 汎用コンピュータのオンライン機能とし
て準備されている仮想端末に対して、事前に作成済みの
オンライン画面トランザクションデータを連続的に送信
および仮想端末からのメッセージを受信するプログラム
を実行し、これにより画面を使用する任意のオンライン
プログラムに対して連続してトランザクションを処理さ
せることを特徴とするオンラインプログラムのテスト方
法。
1. A program for continuously transmitting pre-created online screen transaction data and receiving a message from a virtual terminal to a virtual terminal prepared as an online function of a general-purpose computer, and executing the program. A method for testing an online program, characterized in that a transaction is processed continuously for any online program that uses a screen.
【請求項2】 画面トランザクションデータファイルを
事前に作成する第1ステップと、 トランザクション発生APが前記画面トランザクション
データファイルから画面トランザクションデータを1件
読み込む第2ステップと、 前記トランザクション発生APが前記画面トランザクシ
ョンデータファイルから読み込んだ画面トランザクショ
ンデータを仮想端末に送信し、送信時刻を記憶する第3
ステップと、 仮想端末に入力された画面トランザクションデータがO
Sを経由され、処理対象となるオンラインプログラムに
渡される第4ステップと、 オンラインプログラムから出力されるトランザクション
処理結果が前記OSを経由し仮想端末に送信される第5
ステップと、 仮想端末に出力されたトランザクション処理結果を前記
トランザクション発生APが受信し、受信時刻を記憶す
る第6ステップと、 前記トランザクション発生APが画面トランザクション
データを仮想端末に送信した時刻、仮想端末からトラン
ザクション処理結果を受信した時刻およびトランザクシ
ョン処理結果を実行履歴ファイルに出力する第7ステッ
プとを実行することを特徴とするオンラインプログラム
のテスト方法。
2. A first step of creating a screen transaction data file in advance, a second step in which the transaction occurrence AP reads one screen transaction data from the screen transaction data file, and a transaction occurrence AP in which the screen transaction data The screen transaction data read from the file is sent to the virtual terminal, and the sending time is stored.
The step and screen transaction data input to the virtual terminal are O
The fourth step of passing through S to the online program to be processed, and the fifth step of transmitting the transaction processing result output from the online program to the virtual terminal via the OS.
A sixth step in which the transaction generation AP receives the transaction processing result output to the virtual terminal and stores the reception time; a time when the transaction generation AP transmits screen transaction data to the virtual terminal; 7. A method for testing an online program, comprising: performing a time when a transaction processing result is received and a seventh step of outputting the transaction processing result to an execution history file.
JP3302990A 1991-11-19 1991-11-19 Method for testing on-line program Withdrawn JPH05143312A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3302990A JPH05143312A (en) 1991-11-19 1991-11-19 Method for testing on-line program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3302990A JPH05143312A (en) 1991-11-19 1991-11-19 Method for testing on-line program

Publications (1)

Publication Number Publication Date
JPH05143312A true JPH05143312A (en) 1993-06-11

Family

ID=17915609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3302990A Withdrawn JPH05143312A (en) 1991-11-19 1991-11-19 Method for testing on-line program

Country Status (1)

Country Link
JP (1) JPH05143312A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253899A (en) * 1994-03-16 1995-10-03 Pfu Ltd Test processing system
KR20000064184A (en) * 2000-08-28 2000-11-06 김규일 Beta-testing system for beta-version program on the internet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253899A (en) * 1994-03-16 1995-10-03 Pfu Ltd Test processing system
KR20000064184A (en) * 2000-08-28 2000-11-06 김규일 Beta-testing system for beta-version program on the internet

Similar Documents

Publication Publication Date Title
US20040133897A1 (en) Automated software robot generator
CN110765010B (en) Method and device for online debugging visual development based on Flink
JPH05143312A (en) Method for testing on-line program
JP2585460B2 (en) Test data creation method
JPH05158740A (en) Computer performance evaluating device
JP2731572B2 (en) Logic simulation method
JPH01312641A (en) Batch test system for on-line
JP2772999B2 (en) Experimental system
JPH0567015A (en) Simulation data generation system
JPH02259831A (en) On-line program generating device
JPH0816427A (en) Analysing system for core dump file
JPH09259005A (en) Method for generating test data for test simulator
JPH03127130A (en) Artificial operation environment test system for on-line device
JPH05257905A (en) Distributed data input method
JPH02171938A (en) Device for supporting program development
JPS63308662A (en) Itemized automatic performance analyzing system in transaction processing system
JPH10320245A (en) Device for evaluating performance of computer
JPH0497439A (en) Output system for test program
JPH01283649A (en) Automatic software inspecting instrument
JPH04317112A (en) Error message treatment of man-machine-interface
JPH04216139A (en) Method for controlling emulator
JPH03266142A (en) Software simulator
JPS62166427A (en) Generating method for software support program
JPH03233643A (en) Total test system for program component
JPH0895817A (en) Method for testing information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204