Skip to content

Start and Stop a Service

To start a Linx service in the solution being tested, add a result property of type String to a global, fixture, or test level set up function, name it with the prefix Service_, and set its value to the qualified path of the service in the solution. Note that the qualified path is the path within the solution only and should not include the solution name.

Similarly, to stop a Linx service in the solution, add a result property of type String to a global, fixture, or test level tear down function, name it with the prefix Service_, and set its value to the qualified path of the service. A service that has been started in any set up function will not automatically be stopped on tear down if the corresponding tear down function does not have the Service_ result property.