Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2020.2

In this sectionこのセクションの内容:

Table of Contents
maxLevel1

...

はじめに

Parasoft Continuous Testing Platform (CTP) is browser-based interface for leveraging Parasoft's API testing, service virtualization, and test environment management functionality across your organization. CTP enables you to create virtual assets for AUT dependencies that are not ready or available for testing, then immediately start defining and executing end-to-end tests against a combination of the real and virtual assets. CTP also acts as a central repository for the necessary configuration details of the dependent systems associated with the application under test.は、Parasoft の API テスト、サービス仮想化、テスト環境管理機能を全社的に活用するのに役立つブラウザーベースのインターフェイスです。CTP は、テスト対象アプリケーションが依存するコンポーネントがまだ準備されていなかったりテストで利用できなかったりする場合に仮想アセットを作成し、実アセットおよび仮想アセットの組み合わせに対してエンドツーエンドのテストをすばやく定義して実行することを可能にします。また、CTP はテスト対象アプリケーションに関連する依存システムの詳細な構成を一元管理するリポジトリの役割も果たします。

Service Virtualization

Parasoft Service Virtualization helps development and QA teams access the complete, realistic test environments needed to develop or test an application—anytime, anywhere. Testing is often delayed or cut short because it's difficult to access the complete, realistic test environments required to test meaningful transactions. By replacing unavailable dependencies with easily accessible and configurable "virtual assets", service virtualization allows teams to start testing earlier, test more completely, and test continuously.は、開発および QA チームが、アプリケーションの開発やテストに必要な完全で現実的なテスト環境にいつでも、どこでもアクセスできるようにします。意味のあるトランザクションをテストするために必要な完全で現実的なテストテストにアクセスするのが難しいためにテストが遅れたり期間が短縮されることはよくあります。利用できない依存先システムをアクセスが容易でカスタマイズ可能な「仮想アセット」に置き換えることで、サービス仮想化はテストをより早期に開始し、より徹底的かつ継続的にテストを行うことを可能にします。

  • レコーディングにより実際のシステムの振る舞いをキャプチャしてシミュレート
  • サービス定義およびログから不完全な/利用できないコンポーネントをすばやくモデル化
  • 複雑なテスト条件を簡単に設定 (「what-if」、セキュリティ、同時実行、ファイルオーバー、パフォーマンス、ネガティブ テストなどのシナリオ)
  • システムのデータのやり取りをシミュレート—REST および Web サービス、その他業界で一般的に使用される 120 以上のプロトコル/メッセージ タイプ
  • まさに必要なテスト環境をオンデマンドで取得
  • Capture and simulate live system behavior from recording
  • Rapidly model incomplete/unavailable components from service definitions and logs
  • Easily configure complex test conditions (e.g., “what-if,” security, concurrency, fail-over, performance, and negative test scenarios)
  • Simulate any system interactions—supports REST & web services, plus an industry-leading 120+ protocols/message types
  • Get the exact test environment you need, on-demand 

API Testing 

You can use CTP to add, review, extend, and reorganize SOAtest .tsts, test suites, and tools.

From CTP's Test Scenario management page, you can add, configure, and manage test scenarios and test clients for REST and SOAP APIs (powered by SOAtest). The test configuration interface is designed to help new users rapidly define a core set of tests. In addition, users can review, modify, and extend the team's existing library of test assets from SOAtest.

There are three main ways that your library of test scenarios can be used in CTP:

  • Automated provisioning during testing: You can configure a test job that you want to execute one or more times, then associate an environment context with that test scenario so that the appropriate environment is always provisioned before that test job is run. For example, a test scenario can use one set of test data and endpoint variables for execution in a develop- ment testing environment and another in a system integration testing environment. The job execution history stores the associated test environment settings and variables along with results, enabling complete traceability.
  • Automated testing during provisioning: This is essentially the flip side of the above use case. Test scenarios can be automatically executed when a specific test environment is provisioned. For instance, you can configure functional test scenarios to execute whenever your functional testing environment is provisioned—or your security test scenarios to execute when- ever your security test environment is provisioned.
  • Customized health checks: Your test scenarios can be used to assess the health of a specific component (a real system component such as a third-party service, mainframe, database, etc.—or a virtual asset that simulates the behavior of an actual system component). For example, you could run tests to validate that the virtual asset is behaving in the same way as the actual asset whose behavior it is simulating. These tests can be associated with any component type.

Test Environment Management

Parasoft Environment Manager integrates and extends the above API testing and service virtualization capabilities via an intuitive web-based interface for creating, managing, sharing, and executing test environments (including service virtual assets) and tests. Environment Manager unites test environment management (test environment setup, visualization, validation, and provisioning), service virtualization (virtual asset creation, configuration, and deployment), and API testing (test creation, management, and execution).

  • Visualize the dependencies associated with an AUT and specific test environments
  • Easily configure all test environment components—including virtual asset performance, test data, and response logic
  • Instantly provision "disposable" test environments with zero impact to the organization
  • Identify test environment issues before they compromise the accuracy of your test results
  • Assess the impact of a change to any specific component

Test Data Management

Centralized creation and management of secure test data that can be applied across all solutions and integrated tools (including open source tools), as well as across team roles and test types (API/service, integration, performance, security…)

  • Capture request and response traffic and reuse the data for subsequent scenarios.
  • Import data from multiple sources and leverage it across test and service virtualization artifacts.
  • Ensure that the data can be reused and shared across multiple teams, projects, versions, and releases
  • Visualize, restructure, and generate data for your tests (additional license required) 

Marketplace

CTP を使用して SOAtest の .tst、テスト スイート、ツールの追加、参照、拡張、再編成を行うことができます。

SOAtest との連携により、CTP のテスト シナリオ管理ページから REST および SOAP API 用のテスト シナリオおよびテスト クライアントの追加、構成、管理を行うことができます。テスト構成インターフェイスは、新規ユーザーでもすばやくテストのコア セットを定義できるよう設計されています。さらに、SOAtest で作成した既存のテストアセットのライブラリを参照、修正、拡張することもできます。

CTP でのテストシナリオライブラリの利用方法には、主に以下の 3 つがあります。

  • テスト中に自動でセットアップを行う: 繰り返し実行するテスト ジョブを設定し、テスト シナリオに環境コンテキストを関連付けると、テスト ジョブを実行する前に必ず適切な環境がセットアップされるようにできます。たとえば、1 つのテスト シナリオを開発テスト環境で実行する際は、特定のテスト データおよびエンド ポイント変数を使用し、システム結合テスト環境で実行する際は、別のデータや変数を使用するなどです。ジョブ実行履歴は、テスト結果とともに、関連付けられたテスト環境設定および変数を保存するため、完全なトレーサビリティが実現できます。
  • テストの自動化: これは上記のユース ケースの逆です。特定のテスト環境をセットアップする際に自動的にテスト シナリオを実行できます。たとえば、機能テスト環境をセットアップするたびに機能テスト シナリオを実行したり、セキュリティ テスト環境をセットアップするたびにセキュリティ テスト シナリオを実行するよう構成できます。
  • ヘルスチェックのカスタマイズ: テスト シナリオは、特定のコンポーネント (サードパーティ製サービス、メインフレーム、データベースなどの実システム コンポーネント、あるいは実システム コンポーネントの振る舞いをシミュレートする仮想アセット) の健康状態を評価するためにも使用できます。たとえば、テストを実行して、仮想アセットが振る舞いをシミュレートする対象の実アセットと同じように振る舞っているかを検証できます。テストは任意のタイプのコンポーネントと関連づけることができます。

Environment Manager

Parasoft Environment Manager は、直感的な Web ベースのインターフェイスで上記の API テストとサービス仮想化を統合・拡張し、 テスト環境 (サービス仮想アセットを含む) およびテストの作成、管理、共有、実行機能を提供します。Environment Manager は、テスト環境管理 (テスト環境の設定、仮想化、検証、セットアップ)、サービス仮想化 (仮想アセットの作成、設定、デプロイメント)、API テスト (テストの作成、管理、実行) を統合します。

  • AUT および特定のテスト環境の依存関係を可視化
  • 仮想アセットのパフォーマンス、テスト データ、応答ロジックなど、すべてのテスト環境コンポーネントを容易に設定
  • システムに影響を与えず「使い捨て」のテスト環境をすばやくセットアップ
  • テスト結果の正確性を損なう前にテスト環境の問題を検出
  • 特定のコンポーネントに対する変更の影響を評価

Test Data Management

すべてのソリューションおよび統合されたツール (オープン ソースのツールも含め) 、複数のチーム ロール、およびテストタイプ (API/サービス、統合、パフォーマンス、セキュリティなど) に対して、安全なテスト データの集中的な作成および管理を適用できます。

  • リクエストおよびレスポンス トラフィックをキャプチャし、後続のシナリオでデータを再利用
  • 複数のソースからデータをインポートし、さまざまなテストおよびサービス仮想化成果物でそのデータを利用
  • 複数のチーム、プロジェクト、バージョン、リリースでデータの再利用および共有が可能
  • テストで使用するデータを仮想化、再構成、生成 (追加ライセンスが必要) 

Marketplace

Marketplace アプリケーションは、サービス仮想化および API テストの拡張機能を社内全体で共有するためのインターフェイスを提供します。 The Marketplace application provides an interface for sharing service virtualization and API testing extensions across your organization.