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.

chrome browser test on Linux Soatest Server

asingh Posts: 14

Hi Facing difficulties running my browser tests on SoaTest Server running as war on tomcat.
The document I read was not very clear with servers.

I tried Starting Xvfb buffers in the beginning, but it did not work

export DISPLAY=:0
Xvfb :0 &

and stated the execution but no luck.

Can you please guide me with proper steps?



  • jakubiak
    jakubiak Posts: 798 admin

    Did you follow the instructions in the documentation here:

  • asingh
    asingh Posts: 14

    Yes, I created this file on my redhat server

        # Use $@ to pass along any argument specified by SOAtest.
        # The $@ will include the display on which to run the server.
        # Currently this is always display :32.  You can override this
        # by adding another display number as the last argument.
        # There can be problems with graphics libraries if you do
        # not set the display depth to greater than 8 using the
        # -screen argument.
        # Make sure to run Xvfb with 'exec' so that SOAtest will
        # kill the correct process.
        XVFB_DIR=`dirname $0`
        exec ${XVFB_DIR}/Xvfb_Linux.bin \
          -ac \
          -sp /usr/lib/xserver/SecurityPolicy \   -fp /usr/share/X11/fonts/misc \
          -co /usr/share/X11/rgb \
          -screen 0 1024x768x24 \

    When I execute this file it gives error of unrecognised option

  • jakubiak
    jakubiak Posts: 798 admin

    Can you share the exact error message?

  • asingh
    asingh Posts: 14
    edited August 2018

    Hi Below are my detailed observation:

    1. I am using SoaTest/Virtulize war on tomcat and rhel 7
    2. I fixed the problem when I switched to the parasoft native browser in headless mode.
    3. When I swichted back to selenium web driver in headless mode it does not even calls the Xvfb_Linux

    Looks like this is a problem of headless browser with selenium web driver.

  • jakubiak
    jakubiak Posts: 798 admin

    Thanks for the update. My apologies - I missed that you are using WebDriver. Headless mode is not currently supported for WebDriver. From the documentation -
    "Selenium does not support playing back scenarios in headless mode. If headless mode is selected, the scenarios will still play back in visible mode."