分散実行オプションを切り替える

ToscaDistributed Execution には、主に2つのセットアップオプション(see chapter "Toscaの分散実行")が用意されています。

  • Automation Object Service(AOS)によるディストリビューション実行

  • Distributed Execution without AOS

最初に選んだオプションに満足できない場合は、共有リポジトリ、設定を失うことなく切り替えることができます。

テスト実行中にスイッチを切り替えないでください。切り替えた場合、実行中で待機中のテストがすべて失われます。

この章の情報は、同じバージョンのセットアップオプションの切り替えについて説明しています。例えば、 Distributed Execution without AOS2024.2 から Distributed Execution with AOS2024.2 へです。

バージョン12.3以下から最新バージョンに切り替えることはできません。この場合、旧バージョンをクリーンアンインストールする必要があります。

Distributed Execution with AOS への切り替え

Distributed Execution withoutExecution with AOS から Distributed Execution withExecution without AOS に切り替えるには、次の手順に従ってください。

  1. 次のサービスを停止します: Tricentis.DistributedExecutionService(Windows タスクマネージャー上)。

  2. 次のファイルを開きます: Tricentis.DistributionServerService.exe.config 。デフォルトでは、このファイルは C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXServer にあります。

  3. 次のセクションに移動します: Tricentis.DistributionServer.Properties.Settings

  4. EnableWorkspacelessExecution 」という設定のを「 True」「 」に変更します。

<setting name="EnableWorkspacelessExecution" serializeAs="String">
    <value>True</value>
</setting>
  1. ファイルを保存して閉じます。

  1. Distributed Execution with AOS が必要とする追加ポートが開いていることを確認してください。

    オプションで、 TricentisTricentis Tosca サービスコンフィギュレーションで異なるポートを構成することもできます。

  2. Windowsのサービスアプリでサービスを再起動します。

  3. Automation Object Service(AOS)のためのワークスペースを作成します。

  4. ToscaCommander分散実行サーバーを接続します。

    これを行うには、 chapter "Tosca Commander を接続する" で説明されているように、 ToscaGatewayサービス設定を入力します。

  5. パラレル実行を設定したい場合は、必要なプロジェクトルート設定を作成してください。

  6. オプションで、 Agent ワークスペースを削除します。それらはDistributed Execution with AOS では必要ありません。

レガシー: Distributed Execution without AOS に切り替える

から に切り替えるには、次の手順に従ってください。

  1. 次のサービスを停止します: Tricentis.DistributedExecutionService(Windows タスクマネージャー上)。

  2. 次のファイルを開きます: Tricentis.DistributionServerService.exe.config 。デフォルトでは、このファイルは C:\Program Files (x86)\TRICENTIS\Tosca Server\DEXServer にあります。

  3. 次のセクションに移動します: Tricentis.DistributionServer.Properties.Settings

  4. EnableWorkspacelessExecution 」という設定のを「 」「False 」に変更します。

<setting name="EnableWorkspacelessExecution" serializeAs="String">
    <value>False</value>
</setting>
  1. ファイルを保存して閉じます。

  2. 次を再起動します: Tricentis.DistributedExecutionService(Windowsタスクマネージャー上)。

  1. Agent マシン(see chapter "Agent のワークスペースを作成する")でワークスペースを設定します。