的托斯卡交互式测试服务器的一部分托斯卡服务器(看到章“安装托斯卡服务器通过设置对话框”)。
配置交互式测试服务器
安装之后,您必须配置交互式测试服务器端口。为此,遵循以下步骤:
打开appsettings.json文件位于C:\Program Files (x86)\188金宝搏app苹果下载软件TRICENTIS\Tosca服务器\ InteractiveTestingStandalone。
在HttpServer部分,更改默认端口5009年你的港口。
保存并关闭该文件。
打开ocelot.json文件位于C:\Program Files (x86)\188金宝搏app苹果下载软件TRICENTIS\Tosca服务器、网关。
在:“ServiceId InteractiveTestingService”部分,更改默认端口5009年你的港口。你必须使这一变化在以下两个地方:
下:“DownstreamPathTemplate /{一切}”
下:“DownstreamPathTemplate ita-assets /{一切}”
:“ServiceId InteractiveTestingService”
},
{
“DelegatingHandlers”:(
“ServiceIdentifierApplierDelegationHandler”
),
:“DownstreamPathTemplate /{一切}”,
“DownstreamScheme”:“http”,
“DownstreamHostAndPorts”:(
{
“主机”:“localhost”,
“端口”:5009
}
),
:“UpstreamPathTemplate /互动/{一切}”,
“UpstreamHttpMethod”:(
“文章”,
“得到”,
“删除”,
“头”
),
:“ServiceId InteractiveTestingService”
},
{
:“DownstreamPathTemplate ita-assets /{一切}”,
“DownstreamScheme”:“http”,
“DownstreamHostAndPorts”:(
{
“主机”:“localhost”,
“端口”:5009
}
保存并关闭该文件。
打开InteractiveTesting.json文件位于C:\Program Files (x86)\188金宝搏app苹果下载软件TRICENTIS\Tosca服务器\领事\ config \网关。
变化的值港口你的港口。
保存并关闭该文件。
![]() |
您必须重新启动Windows服务服务每次你改变应用程序appsettings.json文件。 |
定义一个目录数据
的交互式测试服务器保存所有的会话数据压缩到一个目录中。
在ConnectionString部分的appsettings.json文件,输入所需的目录的路径。
下面的示例配置保存数据的目录C: \ Program Files \ T188金宝搏app苹果下载软件RICENTIS \ ToscaServer \ InteractiveTestingStandalone (x86):
{
"日志":{
“IncludeScopes”:假的,
“调试”:{
" LogLevel ": {
“默认”:“警告”
}
},
“控制台”:{
" LogLevel ": {
“默认”:“警告”
}
}
},
"应用程序":{
“ConnectionString”:“C: \ \ ProgramData188金宝搏app苹果下载软件 \ \ TRICENTIS \ \ ToscaServer \ \ InteractiveTesting \ \ server.db”,
“SetupDirectory”:“C: \ \程序文件(x86) \ \托斯卡TRIC188金宝搏app苹果下载软件ENTIS \ \ Server \ \ InteractiveTestingStandalone \ \下载”
}
}