cancel
Showing results for 
Search instead for 
Did you mean: 

Run Soap UI on Ubuntu/Linux

SOLVED
Occasional Contributor

Run Soap UI on Ubuntu/Linux

I have installed Soap UI on Ubuntu server and also import the soap ui xml of the project that i have created in my windows but now i want to run that xml which i imorted but coud not find any solution or any command through wihch i can run that project which i imported as an xml.

Kindly provide any command or solution of doing this.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Run Soap UI on Ubuntu/Linux

I think this problem is caused by using an incompatible version of Java environment. Maybe you are using OpenJDK or similar.

 

On the download page for SoapUI, get one of the installer versions as those ones come with a compatible Java environment.

 

Otherwise, try with OpenJDK but make sure it is JDK 8.

 

9 REPLIES 9
Community Hero

Re: Run Soap UI on Ubuntu/Linux

I'm not clear on your question.

  • You're having a problem loading your project in the UI? What's the problem?
  • Or you just want to know how to run from the command line? See here.
Occasional Contributor

Re: Run Soap UI on Ubuntu/Linux

Hi JHunt,

 

My problem is to run the test case on Linux/Ubuntu .(project is already imported on linux)

which command can i use to run the test case.

 

thanks

Community Hero

Re: Run Soap UI on Ubuntu/Linux

I'm still not getting your question.

 

You can run it in the UI the same as you would on Windows.

 

You can run it from the command line using the syntax I linked to.

 

What's the problem?

Occasional Contributor

Re: Run Soap UI on Ubuntu/Linux

Hi JHunt,

 

How to run soapUI on Linux without graphical interface?

 

 

 

 
Community Hero

Re: Run Soap UI on Ubuntu/Linux

testrunner.sh "/my projects/my-project.xml"
Occasional Contributor

Re: Run Soap UI on Ubuntu/Linux

Thanks alot JHunt , wil use this  ,Hope it wil work for me Smiley Happy

I have another query  if i want to change the endpoint for all request , how can i do that ?

e.g. now it's https://pam.dev.uhc

want to change it to https://pam.stage.uhc

Highlighted
Community Hero

Re: Run Soap UI on Ubuntu/Linux

You asked in another thread and I have answered there.

Occasional Contributor

Re: Run Soap UI on Ubuntu/Linux

i m getting below error while running testrunner.sh "/my projects/my-project.xml":

2019-08-12 11:45:53,749 [main] WARN com.eviware.soapui.SoapUI - Could not find jfxrt.jar. Internal browser will be disabled.

SoapUI 5.4.0 TestCase Runner

Configuring log4j from [/opt/SoapUI-5.4.0/bin/soapui-log4j.xml]

11:45:54,037 INFO [DefaultSoapUICore] Creating new settings at [/root/soapui-settings.xml]

11:46:00,213 INFO [PluginManager] 0 plugins loaded in 7 ms

11:46:00,213 INFO [DefaultSoapUICore] All plugins loaded

Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Decoder

at com.smartbear.analytics.impl.SoapUIOSMixpanelProviderFactory.allocateProvider(SoapUIOSMixpanelProviderFactory.java:39)

at com.smartbear.analytics.AnalyticsManager.registerAnalyticsProviderFactory(AnalyticsManager.java:92)

at com.eviware.soapui.analytics.AnalyticsHelper.initializeAnalytics(AnalyticsHelper.java:64)

at com.eviware.soapui.tools.SoapUITestCaseRunner.runRunner(SoapUITestCaseRunner.java:335)

at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:202)

at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:137)

at com.eviware.soapui.tools.AbstractSoapUIRunner.runFromCommandLine(AbstractSoapUIRunner.java:112)

at com.eviware.soapui.tools.SoapUITestCaseRunner.main(SoapUITestCaseRunner.java:122)

Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder

at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:366)

at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)

at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)

... 8 more

 

Community Hero

Re: Run Soap UI on Ubuntu/Linux

I think this problem is caused by using an incompatible version of Java environment. Maybe you are using OpenJDK or similar.

 

On the download page for SoapUI, get one of the installer versions as those ones come with a compatible Java environment.

 

Otherwise, try with OpenJDK but make sure it is JDK 8.

 

New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win