JP4218766B2 - シナリオをテストする方法、装置、及びプログラム - Google Patents
シナリオをテストする方法、装置、及びプログラム Download PDFInfo
- Publication number
- JP4218766B2 JP4218766B2 JP2006063759A JP2006063759A JP4218766B2 JP 4218766 B2 JP4218766 B2 JP 4218766B2 JP 2006063759 A JP2006063759 A JP 2006063759A JP 2006063759 A JP2006063759 A JP 2006063759A JP 4218766 B2 JP4218766 B2 JP 4218766B2
- Authority
- JP
- Japan
- Prior art keywords
- api
- data
- apis
- input
- executed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Description
図1は、本発明に係る好適な実施形態の一例を示す全体概念図である。
本発明は、ハードウェア、ソフトウェア、またはハードウェア及びソフトウェアの組み合わせとして実現可能である。ハードウェアとソフトウェアの組み合わせによる実施では、所定のプログラムを有するコンピュータ・システムでの実施が典型的な例として挙げられる。かかる場合、該所定プログラムが該コンピュータ・システムにロードされ実行されることにより、該プログラムは、コンピュータ・システムに本発明にかかる処理を実行させる。このプログラムは、任意の言語、コード、または表記によって表現可能な命令群から構成される。そのような命令群は、システムが特定の機能を直接実行すること、または(1)他の言語、コード、もしくは表記への変換、(2)他の媒体への複製、のいずれか一方もしくは双方が行われた後に、実行することを可能にするものである。もちろん、本発明は、そのようなプログラム自体のみならず、プログラムを記録した媒体を含むプログラム製品もその範囲に含むものである。
図3は、本発明の好適な実施形態の一例に係る、テストツール10が備えるテスト手段の実装構成を示すブロック図である。
図4及び図5は、本発明の好適な実施形態の一例に係るテスト手段のメイン処理を示すフロー図である。図14にて画面例を含めた処理概要を示す。
図6は、本発明の好適な実施形態の一例に係るテスト手段の終了時登録処理を示すフロー図である。
図7は、本発明の好適な実施形態の一例に係るテスト手段の実行時登録処理を示すフロー図である。
図8は、本発明の好適な実施形態の一例に係るテスト手段のエラーパターン登録処理を示すフロー図である。
図9は、本発明の好適な実施形態の一例に係るテスト手段の実行前エラーパターン確認処理を示すフロー図である。
以上の各種処理により記憶されたデータに基づき、テストツール10は、実際のアプリケーションで使用可能となるサンプルのソースコードを生成することができる。図10は、本発明の好適な実施形態の一例に係るテスト手段のコード生成処理を示すフロー図である。
11 制御部
12 記憶部
13 入力部
14 表示部
15 通信制御部
16 バス
20 被検証ソフトウェア
30 コンピュータ
40 API登録テーブル
50 パラメータ関連テーブル
60 エラーパターンテーブル
110 テスト情報データベース
120 APIテスト制御部
130 API構文解析部
135 テストケース管理部
140 API実行部
150 API順序登録部
155 関連性登録部
160 エラーパターン登録部
170 コード生成部
180 ユーザインタフェース部
Claims (3)
- 複数のアプリケーション・プログラム・インターフェース(API)を順次実行するシナリオの候補を提示する方法であって、
次の実行候補となるAPIのリストを表示するステップと、
前記APIのリストの中から、次に実行させるAPIの選択を受け付けるステップと、
選択されたAPIへの入力データを受け付けるステップと、
前記選択されたAPIを実行するステップと、
実行された複数のAPIの実行順序を表す順序データを記憶するステップと、
前記実行された複数のAPIにおける入出力データの相互の関連を表す関連データを記憶するステップと、を繰り返し、
前記APIを順次選択して新たなシナリオをテストする際に、
前記次の実行候補となるAPIのリストを表示するステップにおいて、直前に実行したAPIに関する前記順序データが既に記憶されていた場合には、前記順序データに基づいて次に実行する候補APIを表示し、
前記選択されたAPIへの入力データを受け付けるステップにおいて、当該選択されたAPIに関する前記関連データが既に記憶されていた場合には、当該関連データに基づいて前記入力データを表示する、
方法。 - 複数のアプリケーション・プログラム・インターフェース(API)を順次実行するシナリオの候補を提示する装置であって、
次の実行候補となるAPIのリストを表示する表示部と、
前記APIのリストの中から、次に実行させるAPIの選択を受け付けるAPI選択部と、
選択されたAPIへの入力データを受け付ける入力部と、
前記選択されたAPIを実行するAPI実行部と、
実行された複数のAPIの実行順序を表す順序データ、及び前記実行された複数のAPIにおける入出力データの相互の関連を表す関連データを記憶する記憶部と、を備え、
前記APIを順次選択して新たなシナリオをテストする際に、
前記表示部は、前記次の実行候補となるAPIのリストを表示するときに、直前に実行したAPIに関する前記順序データが既に記憶されていた場合には、前記順序データに基づいて次に実行する候補APIを表示し、
前記入力部が前記選択されたAPIへの入力データを受け付けるときに、当該選択されたAPIに関する前記関連データが既に記憶されていた場合には、当該関連データに基づいて前記入力データを表示する、
装置。 - 複数のアプリケーション・プログラム・インターフェース(API)を順次実行するシナリオの候補を提示するコンピュータ・プログラムであって、コンピュータに、
次の実行候補となるAPIのリストを表示するステップと、
前記APIのリストの中から、次に実行させるAPIの選択を受け付けるステップと、
選択されたAPIへの入力データを受け付けるステップと、
前記選択されたAPIを実行するステップと、
実行された複数のAPIの実行順序を表す順序データを記憶するステップと、
実行された複数のAPIにおける入出力データの相互の関連を表す関連データを記憶するステップと、を繰り返し実行させ、
前記APIを順次選択して新たなシナリオをテストする際に、
前記次の実行候補となるAPIのリストを表示するステップにおいて、直前に実行したAPIに関する前記順序データが既に記憶されていた場合には、前記順序データに基づいて次に実行する候補APIを表示させ、
前記選択されたAPIへの入力データを受け付けるステップにおいて、当該選択されたAPIに関する前記関連データが既に記憶されていた場合には、当該関連データに基づいて前記入力データを表示させる、
コンピュータ・プログラム。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006063759A JP4218766B2 (ja) | 2006-03-09 | 2006-03-09 | シナリオをテストする方法、装置、及びプログラム |
US11/681,823 US7676794B2 (en) | 2006-03-09 | 2007-03-05 | Testing scenarios that sequentially execute a plurality of application program interfaces |
CNB2007100861960A CN100478913C (zh) | 2006-03-09 | 2007-03-06 | 用于测试方案的方法和装置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006063759A JP4218766B2 (ja) | 2006-03-09 | 2006-03-09 | シナリオをテストする方法、装置、及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007241697A JP2007241697A (ja) | 2007-09-20 |
JP4218766B2 true JP4218766B2 (ja) | 2009-02-04 |
Family
ID=38587175
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006063759A Expired - Fee Related JP4218766B2 (ja) | 2006-03-09 | 2006-03-09 | シナリオをテストする方法、装置、及びプログラム |
Country Status (3)
Country | Link |
---|---|
US (1) | US7676794B2 (ja) |
JP (1) | JP4218766B2 (ja) |
CN (1) | CN100478913C (ja) |
Families Citing this family (42)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8473915B2 (en) * | 2007-08-03 | 2013-06-25 | International Business Machines Corporation | Coverage analysis tool for testing database-aware software applications |
JP4958734B2 (ja) * | 2007-10-31 | 2012-06-20 | 京セラドキュメントソリュ−ションズ株式会社 | 電気機器、障害防止方法及び障害防止プログラム |
JP5374146B2 (ja) * | 2008-12-26 | 2013-12-25 | キヤノン株式会社 | ソフトウエア評価方法及びそれを実現する情報処理装置 |
JP5102823B2 (ja) | 2009-12-21 | 2012-12-19 | インターナショナル・ビジネス・マシーンズ・コーポレーション | 総テスト時間を最小にするようにテストシナリオを最適化するテスト支援装置、テスト装置、テスト支援方法及びコンピュータプログラム |
US8543932B2 (en) | 2010-04-23 | 2013-09-24 | Datacert, Inc. | Generation and testing of graphical user interface for matter management workflow with collaboration |
CN102629227B (zh) * | 2012-02-28 | 2015-07-22 | 中科开元信息技术(北京)有限公司 | 一种辅助嵌入式***接口功能验证方法 |
US9552266B2 (en) * | 2012-04-09 | 2017-01-24 | Genrocket, Inc. | Systems and methods for data generation |
US9275377B2 (en) | 2012-06-15 | 2016-03-01 | Nvidia Corporation | System, method, and computer program product for determining a monotonic set of presets |
US9286247B2 (en) | 2012-07-06 | 2016-03-15 | Nvidia Corporation | System, method, and computer program product for determining settings for a device by utilizing a directed acyclic graph containing a plurality of directed nodes each with an associated speed and image quality |
US9201670B2 (en) | 2012-07-06 | 2015-12-01 | Nvidia Corporation | System, method, and computer program product for determining whether parameter configurations meet predetermined criteria |
US10668386B2 (en) | 2012-07-06 | 2020-06-02 | Nvidia Corporation | System, method, and computer program product for simultaneously determining settings for a plurality of parameter variations |
US10509658B2 (en) | 2012-07-06 | 2019-12-17 | Nvidia Corporation | System, method, and computer program product for simultaneously determining settings for a plurality of parameter variations |
US9250931B2 (en) | 2012-07-06 | 2016-02-02 | Nvidia Corporation | System, method, and computer program product for calculating settings for a device, utilizing one or more constraints |
US9092573B2 (en) | 2012-07-06 | 2015-07-28 | Nvidia Corporation | System, method, and computer program product for testing device parameters |
JP5962779B2 (ja) * | 2013-01-21 | 2016-08-03 | 日産自動車株式会社 | フラグアクセス不具合検査装置、フラグアクセス不具合検査方法、フラグアクセス不具合検査プログラム |
CN103488533A (zh) * | 2013-09-06 | 2014-01-01 | 乐视致新电子科技(天津)有限公司 | 一种程序执行方法、设备及*** |
GB2533117A (en) * | 2014-12-10 | 2016-06-15 | Ibm | Software test automation |
CN104572452B (zh) * | 2014-12-25 | 2018-03-30 | 曙光信息产业(北京)有限公司 | 前端的测试方法和装置 |
CN104850476A (zh) * | 2015-06-03 | 2015-08-19 | 东方网力科技股份有限公司 | 跨平台接口自动化测试方法及*** |
CN105260392B (zh) * | 2015-09-15 | 2019-05-17 | 歌尔股份有限公司 | 测试数据的存储方法及*** |
CN106547684A (zh) * | 2015-09-22 | 2017-03-29 | 腾讯科技(深圳)有限公司 | 一种应用程序的测试方法、测试装置及移动终端 |
US9892019B2 (en) * | 2015-10-16 | 2018-02-13 | Successfactors Inc. | Use case driven stepping component automation framework |
CN107145436A (zh) * | 2016-03-01 | 2017-09-08 | 阿里巴巴集团控股有限公司 | 软件功能验证方法及装置 |
US10417060B2 (en) * | 2016-06-27 | 2019-09-17 | Verizon Patent And Licensing Inc. | Automated API publication for Internet of Things platform |
US10169206B2 (en) * | 2016-11-15 | 2019-01-01 | Accenture Global Solutions Limited | Simultaneous multi-platform testing |
JP6684233B2 (ja) * | 2017-01-12 | 2020-04-22 | 株式会社日立製作所 | テスト入力情報検索装置及び方法 |
US10990516B1 (en) * | 2017-06-08 | 2021-04-27 | Liberty Mutual Insurance Company | Method, apparatus, and computer program product for predictive API test suite selection |
CN108305055B (zh) * | 2017-10-20 | 2021-03-12 | 掌合天下(北京)信息技术有限公司 | 支付测试方法及装置 |
CN107608902A (zh) * | 2017-10-23 | 2018-01-19 | 中国联合网络通信集团有限公司 | 程序接口测试方法及装置 |
CN107861870B (zh) * | 2017-11-02 | 2020-07-24 | 平安科技(深圳)有限公司 | 接口测试及测试数据生成方法、装置、终端和存储介质 |
CN109298999B (zh) * | 2018-08-21 | 2021-08-31 | 杭州群核信息技术有限公司 | 一种基于数据分布特征的核心化软件测试方法和装置 |
US10656973B2 (en) * | 2018-08-23 | 2020-05-19 | Fujitsu Limited | Automated API evaluation based on API parameter resolution |
CN109558311A (zh) * | 2018-10-26 | 2019-04-02 | 深圳点猫科技有限公司 | 一种教育***的自动化接口校验方法及电子设备 |
CN112583651B (zh) * | 2019-09-27 | 2022-08-23 | 腾讯科技(深圳)有限公司 | 一种用于对小程序通信接口进行测试的方法、装置及介质 |
CN110928765B (zh) * | 2019-10-11 | 2021-08-03 | 京东数字科技控股有限公司 | 一种链路测试方法及装置 |
WO2021152803A1 (ja) * | 2020-01-30 | 2021-08-05 | 富士通株式会社 | 入力支援装置、入力支援方法および入力支援プログラム |
CN112367220B (zh) * | 2020-10-27 | 2022-11-29 | 深圳市优必选科技股份有限公司 | 一种接口测试方法、装置、存储介质及电子设备 |
CN112817650B (zh) * | 2020-12-28 | 2022-04-26 | 浙江中控技术股份有限公司 | 一种实验室管理***中的任务创建方法、装置及*** |
US11340968B1 (en) * | 2021-04-21 | 2022-05-24 | EMC IP Holding Company LLC | Executing repetitive custom workflows through API recording and playback |
CN117667031A (zh) * | 2022-08-25 | 2024-03-08 | 中兴通讯股份有限公司 | 应用程序编程接口api间的参数适配方法及装置 |
US20240126679A1 (en) * | 2022-10-12 | 2024-04-18 | Sap Se | Metadata comparison of application programming interface (api) payloads |
CN115686984B (zh) * | 2022-12-29 | 2023-04-07 | 江西萤火虫微电子科技有限公司 | 板卡功能测试方法、装置、计算机及可读存储介质 |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07219810A (ja) | 1994-02-04 | 1995-08-18 | Canon Inc | モジュールテスト方法および装置 |
US5701408A (en) * | 1995-07-10 | 1997-12-23 | International Business Machines Corporation | Method for testing computer operating or application programming interfaces |
JP3126916B2 (ja) | 1996-03-25 | 2001-01-22 | 株式会社日立製作所 | アプリケーションプログラムの構成作成支援方法 |
US6279124B1 (en) * | 1996-06-17 | 2001-08-21 | Qwest Communications International Inc. | Method and system for testing hardware and/or software applications |
JP3712482B2 (ja) | 1996-11-25 | 2005-11-02 | 株式会社東芝 | 操作支援装置、操作支援方法 |
JPH1185489A (ja) | 1997-09-09 | 1999-03-30 | Casio Comput Co Ltd | プログラム構築支援装置及び記憶媒体 |
US6026238A (en) * | 1997-08-18 | 2000-02-15 | Microsoft Corporatrion | Interface conversion modules based upon generalized templates for multiple platform computer systems |
JPH11175329A (ja) | 1997-12-08 | 1999-07-02 | Hitachi Ltd | アプリケーション連携方法及び装置 |
JPH11353168A (ja) | 1998-06-10 | 1999-12-24 | Nippon Telegr & Teleph Corp <Ntt> | インタフェースマッチング方法およびインタフェースマッチングプログラムを記録した記録媒体 |
JP2000215082A (ja) | 1999-01-26 | 2000-08-04 | Hitachi Ltd | 分散オブジェクト環境のプレイバックテスト方式 |
JP2000235485A (ja) | 1999-02-15 | 2000-08-29 | Nippon Telegr & Teleph Corp <Ntt> | シナリオ作成方法及び装置及びシナリオ作成プログラムを格納した記憶媒体 |
JP2001216142A (ja) | 2000-02-04 | 2001-08-10 | Hitachi Ltd | プログラム作成支援装置 |
JP2001236215A (ja) | 2000-02-24 | 2001-08-31 | Hitachi Ltd | システム制御方法およびそれを実施した情報処理システム並びにその処理プログラムを格納した記録媒体 |
US7055067B2 (en) * | 2002-02-21 | 2006-05-30 | Siemens Medical Solutions Health Services Corporation | System for creating, storing, and using customizable software test procedures |
US7089534B2 (en) * | 2002-05-01 | 2006-08-08 | International Business Machines Corporation | Model based test generation for validation of parallel and concurrent software |
JPWO2004061652A1 (ja) | 2002-12-27 | 2006-05-18 | 富士通株式会社 | 統合サービス提供サーバ |
US7237231B2 (en) * | 2003-03-10 | 2007-06-26 | Microsoft Corporation | Automatic identification of input values that expose output failures in a software object |
JP2005038253A (ja) * | 2003-07-16 | 2005-02-10 | Nec Electronics Corp | テスト方法、テストシステム、及び、プログラム |
US7493597B2 (en) * | 2005-02-23 | 2009-02-17 | Microsoft Corporation | System and method for model based generation of application programming interface test code |
US7526680B2 (en) * | 2005-06-15 | 2009-04-28 | International Business Machines Corporation | Stress testing a website having a backend application |
CN1955945A (zh) * | 2005-10-25 | 2007-05-02 | 国际商业机器公司 | 为软件测试过程自动生成测试执行序列的方法和装置 |
-
2006
- 2006-03-09 JP JP2006063759A patent/JP4218766B2/ja not_active Expired - Fee Related
-
2007
- 2007-03-05 US US11/681,823 patent/US7676794B2/en not_active Expired - Fee Related
- 2007-03-06 CN CNB2007100861960A patent/CN100478913C/zh not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007241697A (ja) | 2007-09-20 |
CN101034371A (zh) | 2007-09-12 |
US20080040732A1 (en) | 2008-02-14 |
CN100478913C (zh) | 2009-04-15 |
US7676794B2 (en) | 2010-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4218766B2 (ja) | シナリオをテストする方法、装置、及びプログラム | |
JP3779665B2 (ja) | テスト支援プログラム | |
US20120330598A1 (en) | Method, program, and system for generating test cases | |
US6430708B1 (en) | Method and apparatus for testing job control language (JCL) members | |
US8898635B2 (en) | System and method for automatic impact variable analysis and field expansion in mainframe systems | |
US20040078802A1 (en) | Auto-generated task sequence | |
EP1376144A2 (en) | Test data analysis system | |
CN111459460B (zh) | 一种业务数据处理方法及*** | |
JP2003208501A (ja) | ビジネスプロセス定義表示方法およびプログラム | |
US20090254896A1 (en) | Simplifying Bundling Of Fixes Used To Resolve Errors In Pre-Installed Software | |
CN115391194A (zh) | 一种产品测试处理方法及装置 | |
WO2021234019A1 (en) | Database management methods and associated apparatus | |
US20080195453A1 (en) | Organisational Representational System | |
JP4393893B2 (ja) | パターン体系構築装置、パターン適用装置およびプログラム、競合要素検出プログラム、ならびにソフトウェア開発支援プログラム | |
JP2011209971A (ja) | テスト支援装置、テスト支援システム、制御方法、プログラム、及び記録媒体 | |
US20230409956A1 (en) | Machine learning prediction of additional steps of a computerized workflow | |
JP2002157144A (ja) | ソフトウェア自動試験方式 | |
CN114996539B (zh) | 一种信息处理方法、装置及设备 | |
CN105493072A (zh) | 对用户界面进行比较 | |
CN117609102B (zh) | 一种建筑产业互联网造数平台***测试方法 | |
CN110765020B (zh) | 基于领域知识的测试用例生成方法 | |
US20230385026A1 (en) | Automatic flow implementation from text input | |
CN111143221B (zh) | 一种测试方法及装置 | |
CN116166162A (zh) | 一种数据库的可视化操作方法、装置及计算机可读介质 | |
CN114943615A (zh) | 交易处理方法、银行服务器和银行自助终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071205 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20071217 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20071225 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080108 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080130 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080408 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080430 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080609 |
|
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: 20081021 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
RD14 | Notification of resignation of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7434 Effective date: 20081022 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20081104 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111121 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111121 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121121 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121121 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131121 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |