Tosca Exploratory Testing Serverは、 Tosca サーバーの一部です (see chapter "セットアップダイアログを通じてTosca Serverをインストール") 。
Exploratory Testing Serverを設定する
インストール後、Exploratory Testing Serverポートを設定する必要があります。これを行うには、以下の手順に従ってください。
-
C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。
-
HttpServer セクションで、デフォルトのポート 5013 を自分のポートに変更します。
-
ファイルを保存して閉じます。
-
C:\Program Files(x86)\Tricentis\Tosca Server\Gateway にある ocelot.json ファイルを開きます。
-
「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
}
-
ファイルを保存して閉じます。
-
C:\Program Files(x86)\Tricentis\Tosca Server\Gateway\Consul\config にある ExploratoryTesting.json ファイルを開きます。
-
ポートの値を自分のポートに変更します。
-
ファイルを保存して閉じます。
|
appsettings.json ファイルを変更するたびに、Windowsのサービスアプリでサービスを再起動する必要があります。 |
データのディレクトリを定義する
Exploratory Testing Server は、すべてのセッションデータをディレクトリに保存します。必要なディレクトリへのパスを設定するには、以下の手順に従います。
-
C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。
-
アプリセクションで、 DataDirectory の値としてディレクトリへのパスを入力します。
例: "DataDirectory": "C:\ProgramData\TRICENTIS Exploratory Testing"
アクティベーションキーを入力する
セッションにExploratoryテスターを招待するには、Exploratory Testing Serverを有効にする必要があります。これには、対応するライセンスと一緒に受け取る有効なアクティベーションキーが必要です。
アクティベーションキーを入力するには、以下の手順に従います。
-
C:\Program Files(x86)\Tricentis\Tosca Server\Exploratory Testing Server にある appsettings.json ファイルを開きます。
-
アプリセクションで、 ActivationKey の値としてアクティベーションキーを入力します。
例: "ActivationKey": "XXXX-XXXX-XXXX-XXXX"
サーバーを設定する