配置远程执行服务

本主题描述遗留功能,Tricentis停止在不久的将来的计划。188金宝搏app苹果下载软件详细信息的弃用计划和时间线,看到这个188金宝搏app苹果下载软件Tricentis知识库文章

找出替代品,看看这个话题

如果你执行你的测试通过远程服务,您需要配置的行为远程执行服务的机器上,将执行您的测试。

为此,修改ToscaCIRemoteExecutionService.exe.config文件,位于% COMMANDER_HOME % \ ToscaCI

您可以修改以下设置:

设置名称

描述

可选

端点地址

指定的端点远程执行服务随着baseAddresssystem.ServiceModel部分。

默认设置值本地主机

还可以更改端点地址端口,如果必要的。默认情况下,托斯卡持续集成的客户端(托斯卡CI客户)和远程执行服务通过8732端口通信。

WorkspacePath

通往工作区执行测试。

例子:C: / /托斯卡工作区/ MyWorkspace.tws托斯卡项目

LoginName

登录名的工作区。

如果你使用LDAP身份验证存储库,您可以使用域和Windows用户名LoginName

LoginPassword

密码工作空间,如果你有设置一个密码工作区。

如果你使用LDAP身份验证存储库,您不需要输入一个密码。

MaxWaitForCheckout

最大的时间以毫秒为单位托斯卡CI客户等待结账ExecutionLists文件夹。如果托斯卡CI客户不能检出的文件夹在指定的时间内,就会终止执行和报告是失败了。

默认值是300000毫秒。

X

AuthenticationUsername

定义哪些托斯卡CI的客户远程执行服务允许运行。

如果你输入一个值AuthenticationUsername,远程执行服务只运行托斯卡持续集成的客户与相同的值ToscaCIClient.exe.config文件。

X

AuthenticationPassword

如果你有一个定义AuthenticationUsername,您还必须输入一个值AuthenticationPassword

X

示例1:指定的端点远程执行服务

在下面的示例中,您已经定义的端点远程执行服务system.serviceModel部分:

< system.serviceModel >
<服务>
<服务的名字= " TOSCAContinuousIntegration.TOSCACIRemoteExecutionService.Service.RemoteExecutionService "behaviorConfiguration= " SimpleServiceBehavior ">
<端点地址= " "绑定= " basicHttpBinding "bindingConfiguration= " BasicHttpBinding "合同= " TOSCAContinuousIntegration.TOSCACIRemoteExecutionService.Service.IRemoteExecutionService ">
< /端点>
<主机>
< baseAddresses >
<添加baseAddress= " http://100.100.100.100:8732 TOSCARemoteExecutionService /”/ >
< / baseAddresses >
< /主机>
< /服务>
< /服务>
[…]
< / system.serviceModel >

示例2:设置客户端身份验证

在下面的示例中,您定义一个身份验证的用户名和密码托斯卡持续集成的客户:

< userSettings >
[…]
< TOSCAContinuousIntegration.TOSCACIRemoteExecutionService.Properties.Settings >
<设置的名字= " AuthenticationUsername "serializeAs= "字符串">
<值>SampleAuthenticationUsername< /值>
< /设置>
<设置的名字= " AuthenticationPassword "serializeAs= "字符串">
<值>SamplePassword12345< /值>
< /设置>
[…]
< / userSettings >