Ask a Question

How to activate / use SoapUI NG Pro license key via linux terminal commandline ?

SJetten
New Contributor

How to activate / use SoapUI NG Pro license key via linux terminal commandline ?

Hi all,

 

We've bought a license for ReadyAPI (SoapUI NG Pro). We want to use the testrunner.sh in combination with Jenkins on a linux machine (without any gui). How can i activate the key on this machine ? At this moment testrunner tells me that no license can be found. I've put the key in the /bin folder where also testrunner.sh is located.

 

14:56:18,621 INFO  [DefaultSoapUICore] All plugins loaded
No valid SoapUIPro license exists.
Do you want to install a license? [y/N]: 14:56:18,731 ERROR [SoapUIProTestCaseRunner] java.util.NoSuchElementException
14:56:18,731 ERROR [SoapUI] An error occurred [java.util.NoSuchElementException], see error log for details
java.util.NoSuchElementException

 

 

Thanks in advance.

 

Greetings Dennis

15 REPLIES 15
TanyaYatskovska
SmartBear Alumni (Retired)

Hi Sjetten,

 

I was said that this is a known issue, which has been fixed. Try updating to the latest Ready! API version (1.3.1) and get the loadtestrunnner file from it.

 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



Hi Tanya,

 

Thanks for your reply.

 

You're referering to the "loadtestrunner" file for LoadUI instead of the "testrunner" file which should execute the readyAPI project.

 

Greetings Dennis

TanyaYatskovska
SmartBear Alumni (Retired)

Hi,

My bad. I misspelled the file name 😞

Have you tried working with the latest Ready! API version?

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager




@TanyaYatskovska wrote:

Hi,

My bad. I misspelled the file name 😞

Have you tried working with the latest Ready! API version?


Hi,

 

Hehe okay 🙂 Yes i've installed readyAPI 1.3.1 on the machine which runs jenkins.

Still the same error when i execute the testrunner via jenkins 😞 No license found.

 

Greetings

Dennis

TanyaYatskovska
SmartBear Alumni (Retired)

No more ideas 😞

I've asked our lincese guru to help you. 

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager



Hi,

 

Here is a step by step guide to install license on a headless machine,

https://smartbear-cc.force.com/portal/KbArticleViewer?name=How-to-do-offline-license-activation-on-a...

 

Thanks,

Jeshtha


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

Hello,

the GUI is entirely not required, but the command line activation requires user interaction:

Do you want to install a license? [y/N]: y
Please enter absolute path of the license file (.zip or .key):

This is not acceptable for CI/build server scenarios and is fatal blocker for us.

 

Is there any command line switch to install license without user interaction? Or is there any standard license location, where should we place the license keys to automatically install them on first run? I wasn't able to find such information in the documentation.

Is there any updates on this? I am stuck installing in docker container

They created some "enhancement request" for the commandline activation:

I was told from the product owner that the enhancement request is in the backlog and they hope to include in the next release which is tentatively scheduled for Q1 of next year.

 

But the short answer is: don't use SoapUI for any serious (CI) work.

cancel
Showing results for 
Search instead for 
Did you mean: