Ask a Question

Run Soap UI on Ubuntu/Linux

SOLVED
swati1
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.

9 REPLIES 9
JHunt
Community Hero

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.
swati1
Occasional Contributor

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

JHunt
Community Hero

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?

swati1
Occasional Contributor

Hi JHunt,

 

How to run soapUI on Linux without graphical interface?

 

 

 

 
JHunt
Community Hero

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

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

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

JHunt
Community Hero

You asked in another thread and I have answered there.

swati1
Occasional Contributor

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

 

JHunt
Community Hero

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.

 

cancel
Showing results for 
Search instead for 
Did you mean: