Printer FriendlyEmail Article Link

Spirent Velocity: Why can't Velocity access a file (.xls/.xlsx/spreadsheet) when running agent as a service?

Environment/Versions
  • OS: Windows
  • Velocity agent: Run as a service
Answer
  • Windows Operating System has a limitation in that applications that are run as 'Services' cannot access GUI-based applications.
  • As a result, if Velocity Agent is run as a Service, it cannot access .xls/spreadsheet files through test cases.
  • Instead of running the agent as a service, it can be run in command prompt directly as "start velocity-agent --agentVelocityHost --sfAgentProcessCount ".
  • This will allow Velocity to access the spreadsheet files in test cases.

Product : Velocity