Forum Discussion

TestEnable's avatar
TestEnable
Occasional Contributor
10 years ago

SoapUI Pro command line interface

I have installed SoapUI Pro 5.1.2 on CentOS machine. I have activated license as well.
I want to execute test suites from command line interface.
When I execute Test Suite in SoapUI Pro 5.1.2 from command line interface using ./testrunner.sh "path-to-test-suite" I get following error :
===========================================================
SoapUI Pro 5.1.2 TestCase Runner
Exception in thread "main" java.lang.InternalError: Can't connect to X11
window server using 'localhost:10.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)

===========================================================

Why is X11 required, I do not need a UI to execute SoapUI Pro 5.1.2 testsuites as I am executing it from command line interface using ./testrunner.sh . Can someone please help me in this area.