Getting Error on CLI mode

tapan1986tapan1986 Posts: 27

I am getting below error while running this test in command line mode of SOA test though it is working fine in GUI mode.

at sun.awt.HeadlessToolkit.getSystemClipboard(



  • jakubiakjakubiak Posts: 683 admin

    What version of SOAtest are you using? What do your arguments to soatestcli look like?

  • NHawkNHawk Posts: 9 admin

    Are you attempting to run a Web Functional Test using the SOAtest CLI on a headless machine?

    If so then you will need to install the X virtual framebuffer (Xvfb) on your headless machine before you can successfully run a Web Functional Test as those are UI tests and require a graphical display. The X virtual framebuffer gets around this requirement because its functionality is to enable users to run graphical applications without a display.

    The doc below goes over how to set up a headless machine to run Web Scenarios in a headless environment.

  • tapan1986tapan1986 Posts: 27
    edited February 2019

    I am using SOA test Version 9.10.I am calling a selenium script using Selenium Executor provided by SOA Test.

    I am running the script in the same machine(WINDOWS only) both in GUI Mode and CLI Mode.

    GUI Mode working fine and CLI is giving this error.

  • jakubiakjakubiak Posts: 683 admin

    What is the full stack trace? It may be easier to contact Parasoft Support to better understand your specific use case and how best to support it.

Sign In or Register to comment.