Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Start SOAtest as a windows service

Options
[Deleted User]
[Deleted User] Posts: 0 admin
edited January 2017 in SOAtest

In some cases it is useful to start SOAtest automatically or as part of a recovery process. Virtualize and CTP are web applications and can be run as a tomcat service. at this time SOAtest needs to be started manually. In this post I will demonstrate how to launch SOAtestas a windows service

Install SOAtest as a Windows service

  • Download NSSM
  • https://nssm.cc/download
  • Put it in the Parasoft top level directory
  • edit Path, add C:\Program Files\Parasoft\
  • Launch SOAtest
    • Create a workspace (C:\parasoft\workspaces\myWorkspace
    • Create SOAtest project "TestAssets" project
    • Configure license
    • Configure CTP connection
    • Validate that your SOAtest shows up in CTP
    • Generate a localsettings file
    • http://forums.parasoft.com/discussion/2699
  • Close SOAtest
  • Go to CMD as administrator
    • type nssm install ParasoftSOAtestService
    • Path: SOAtestcli executable
    • Startup Directory: same as above
    • Arguments: startServer -data C:\parasoft\workspaces\myWorkspace -localsettings C:\"PATH_TO_LOCALSETTINGS"localsetting.properties
    • Click InstallService

Start the service

  • Start Menu > Administrative tools > Services
  • Find ParasoftSOAtestService
  • Right Click on the service > Start
  • Optional, set Recovery to Restart on failure

Verify SOAtest has started

  • Go into CTP
  • Navigate to APITesting > SOAtest Servers
  • Verify your SOAtest Server is present and Online