cancel
Showing results for 
Search instead for 
Did you mean: 

get soapui version using cmd

SOLVED
Contributor

get soapui version using cmd

hi,

how can we find soapui is installed on machine or not using command prompt.

Example:

like java after setting JAVA_HOME and path we are able to find the version on cmd using java -version

 

Is there a way to set environment variable for soapui and refer it like above example on cmd?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: get soapui version using cmd

@ashu248 

You may define environment variable say READYAPI_HOME in that machine and define the value.

While invoking, call

%READYAPI_HOME%\bin\testrunner.bat


In the command line, you can see the value of the READYAPI installation location by running command

echo %READYAPI_HOME%

Before defining the environment variable, command returns nothing.

Not sure about maven though.



Regards,
Rao.

View solution in original post

4 REPLIES 4
Highlighted
Community Hero

Re: get soapui version using cmd

What is your use case?


Regards,
Rao.
Contributor

Re: get soapui version using cmd

@nmrao 

we are having a slave machine on jenkins server and want to execute or project.xml file using testRunner.bat file.

i don't know the installation directory of soapUi.

 

basically, we have to run our job from jenkins firstly i tried with maven while running the project i am getting Peer not Authenticated Exception.

cmd:- mvn test -Djavax.net.ssl.keyStore="path of file" -Djavax.net.ssl.keyStorePassword"="password"

 

i tried to run with testRunner.bat it's working fine.

my concern is to know is there any option to invoke the testRunner.bat using environment variable and is their other way to access the SSL certificates using maven.

 

please suggest...

 

Thanks,

Smiley Happy

Community Hero

Re: get soapui version using cmd

@ashu248 

You may define environment variable say READYAPI_HOME in that machine and define the value.

While invoking, call

%READYAPI_HOME%\bin\testrunner.bat


In the command line, you can see the value of the READYAPI installation location by running command

echo %READYAPI_HOME%

Before defining the environment variable, command returns nothing.

Not sure about maven though.



Regards,
Rao.

View solution in original post

Contributor

Re: get soapui version using cmd

thanks @nmrao it's work for me.