Ask a Question

Help required to install ReadyApi on Linux via command line/shell

gilugopi
Contributor

Help required to install ReadyApi on Linux via command line/shell

Hi,

 

I need to install ready api on a linux system. The problem is I don't see any documentation for ReadyApi or SoapUI pro which refer to installation on Linux via command line.

 

I don't have the option to run it via X Windows, KDE, Gnome etc. Looking for a way to do the following via command line access via a putty session.

1. Install ReadyApi

2. Use floating license which is already available on a license server.

 

On this installation, I don't plan to use the Ready API user interface at all. My only objective is to run tests via testrunner.

 

Please help ASAP.

 

Thanks & Regards,

Gilu Gopi

16 REPLIES 16
nmrao
Community Hero

Re: Help required to install ReadyApi on Linux via command line/shell

Choose right installer that suits your needs. Which installer are you using(name it) ?
You need to use, .sh or tar ball installer. And there is an option to choose the license with testrunner utility. Try ReadyAPI-<version>/bin/testrunner.sh -help


Regards,
Rao.
nmrao
Community Hero

Re: Help required to install ReadyApi on Linux via command line/shell

You need to use, .sh or tar ball installer. And there is an option to choose the license with testrunner utility. Try ReadyAPI-<version>/bin/testrunner.sh -help


Regards,
Rao.
gilugopi
Contributor

Re: Help required to install ReadyApi on Linux via command line/shell

Thanks for your reply!

 

I've been using 'ReadyAPI-1.5.0-linux-bin.tar.gz' installer and seems that part is right. Also tried 'testrunner.sh -help'.  Following is the only line I found applicable to installation of license.

 

-l <arg> Installs an activated license file

 

The trouble I'm having is, there is no indication in help regarding how to get the floating license from my license server. For a GUI based activation of license I used to open the licence wiazrd and provide the ip address / host url of the license sever which worked perfectly. But I still have no clue on how to use the license server via a putty terminal.

 

Would you be a able to give an example command to activate floating license from license server?

 

Appreciate your help.

 

Thanks & Regards,

Gilu Gopi

nmrao
Community Hero

Re: Help required to install ReadyApi on Linux via command line/shell

@gilugopi, I believe that you might already have an activated license using the license that you had received.
The command clearly says (as per the '-l' option description.
./testrunner.sh -l <absolute file path of license file>.

Please apply it and run some small test then post your findings. Sounds good?


Regards,
Rao.
nmrao
Community Hero

Re: Help required to install ReadyApi on Linux via command line/shell

You may also find the documentation related to it - http://readyapi.smartbear.com/about/licenses/start


Regards,
Rao.
gilugopi
Contributor

Re: Help required to install ReadyApi on Linux via command line/shell

 

 

Already gone through this documentation documenation as well. Given below is my past experience with the tool

 

Ready API has two types of licenses 

 

1. Fixed License ( This is NOT the type of license I'm trying to install)

    This one requires a license file which need can be used to activate license on the machine where you install ready api client. But this license can be used on only machine at a time.

 

     The command which you mentioned above './testrunner.sh -l <absolute file path of license file>.' works perfectly for fixed licnese, but that's not what I'm trying to do( Because at the moment, I'm left with only floating license and that type of license meets my current organization needs)

 

 

2. Floating License( This is the one my question is about)

    A license server is required from where licenses need to be checked out from a license server as mentioned in below link. License server is working fine on my side. I'm able to activate floating licenses on windows machine using the process in below link. But don't know how to fetch license from license server without the user interface through command line.I guess there has to a a way to pass license server url to testrunner.sh as parameter.

 

http://readyapi.smartbear.com/about/licenses/activate/floating/checking_out_license

 

 

Also I've attached the log from my execution. In the log, testrunner correctly identifies that I don't have an active license on my machine and requests to provide the license file. But no option to provide license server url to check out a floating license. Now I'm wondering whether if there is a way to get floating license also as a file.

 

Appreciate your continued reply..

gilugopi
Contributor

Re: Help required to install ReadyApi on Linux via command line/shell

Attaching log 

nmrao
Community Hero

Re: Help required to install ReadyApi on Linux via command line/shell

I understand your concern though that you not able to input your license server details.
What happens after below line (excerpt from the log)
Please enter absolute path of the license file (.zip or .key):
Did you enter path of license file? Then?


Regards,
Rao.
gilugopi
Contributor

Re: Help required to install ReadyApi on Linux via command line/shell

No I did not enter the license file as I don't have a license file( Earlier I've done that for other machines for which I have a fixed license). In this case I'm trying to use a floating license.

 

In this case, when the system prompted for license file I just tried the license server URL(even through I was almost certain it won't work) and it didn't work.

 

If providing a license file is the only option via command line, is there a way to get a license file for floating license from the server?

 

Regards,

Gilu Gopi

cancel
Showing results for 
Search instead for 
Did you mean: