サーバーを設定する

Tosca Exploratory Testing Serverは、 Tosca サーバーの一部です (see chapter "セットアップダイアログを通じてTosca Serverをインストール") 。

Exploratory Testing Serverを設定する

インストール後、Exploratory Testing Serverポートを設定する必要があります。これを行うには、以下の手順に従ってください。

  1. C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。

  2. HttpServer セクションで、デフォルトのポート 5013 を自分のポートに変更します。

  3. ファイルを保存して閉じます。

  4. C:\Program Files(x86)\Tricentis\Tosca Server\Gateway にある ocelot.json ファイルを開きます。

  5. 「ServiceId": "ExploratoryTestingService"」セクションで、デフォルトのポート 5013 を自分のポートに変更します。以下の2箇所を変更してください:

    • "DownstreamPathTemplate": "/{everything}" の下

    • "DownstreamPathTemplate": "/xta-assets/{everything}" の下

"ServiceId": "ExploratoryTestingService"
    },
    {
      "DelegatingHandlers": [
        "ServiceIdentifierApplierDelegationHandler"
      ],
      "DownstreamPathTemplate": "/{everything}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 5013
        }
      ],
      "UpstreamPathTemplate": "/explore/{everything}",
      "UpstreamHttpMethod": [
        "POST",
        "PUT",
        "GET",
        "DELETE",
        "HEAD"
      ],
      "ServiceId": "ExploratoryTestingService"
    },
    {
      "DownstreamPathTemplate": "/xta-assets/{everything}",
      "DownstreamScheme": "http",
      "DownstreamHostAndPorts": [
        {
          "Host": "localhost",
          "Port": 5013
        }
  1. ファイルを保存して閉じます。

  2. C:\Program Files(x86)\Tricentis\Tosca Server\Gateway\Consul\config にある ExploratoryTesting.json ファイルを開きます。

  3. ポートの値を自分のポートに変更します。

  4. ファイルを保存して閉じます。

appsettings.json ファイルを変更するたびに、Windowsのサービスアプリでサービスを再起動する必要があります。

データのディレクトリを定義する

Exploratory Testing Server は、すべてのセッションデータをディレクトリに保存します。必要なディレクトリへのパスを設定するには、以下の手順に従います。

  1. C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。

  2. アプリセクションで、 DataDirectory の値としてディレクトリへのパスを入力します。

    例: "DataDirectory": "C:\ProgramData\TRICENTIS Exploratory Testing"

アクティベーションキーを入力する

セッションにExploratoryテスターを招待するには、Exploratory Testing Serverを有効にする必要があります。これには、対応するライセンスと一緒に受け取る有効なアクティベーションキーが必要です。

アクティベーションキーを入力するには、以下の手順に従います。

  1. C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。

  2. アプリセクションで、 ActivationKey の値としてアクティベーションキーを入力します。

    例: "ActivationKey": "XXXX-XXXX-XXXX-XXXX"