Forum Discussion

bs's avatar
bs
New Contributor
9 years ago
Solved

soapui ng pro tests remote machines.

We will be using Soapui ng pro. We are buying 2 licness (each tester will have one copy). We have finished Groovy coding.

We will run them on a remote machine, using Jenkins ( Jenkins will be  calling a .bat file ) .

This .bat has the commnd  to use Testrunner.

 

Can I get the information below please:

 

1. Once done with our development of SoapUI code, can we uninstall the same licese on my machine, and install on the remote machine.

 

2. On which machine should the license be installed-----

          On the Server from where Jenkins will invoke runs.

          Or, on the Slave  (or Remote machine).

3. Any other system settings should be done on the remote machine.

 

4. I know how to run soapui Webservice tests via Command line with Testrunner. So, what is the syntax to run soapui web service related tests on a remote machine (let us say - RemoteOne)

 

5. We had a blocker to use Maven to run soapui tests, so wanted to directly run the tests directly from Jenkins (by calling a .bet file). Is this approach fine?

 

Best regards,

sureshvemu

  •  

     

    Hi sureshvemu,

     

    1. Yes, but that license uninstall/install management would be up to you to fully perform.  If you run into an instance where the license is not deactivated, we won't really be able to help there.  

    Also, in my experience, any time this question was asked, a floating license is a much better fit

     

    2. License should be activated on the slave that is executing testrunner

     

    3. Only the obvious requirements that I can think of:

     - installed Ready! API

     - activated license

     - machine can access the target test environment

     

    4. Here are some good instructions for that:

    http://stackoverflow.com/questions/22553588/run-batch-scripts-on-a-remote-server-windows-from-jenkins

     

    5. Yes.  Running testrunner.bat is a great workaround and gives you as much if not more functionality over the maven plugin for SoapUI NG

     

    Thanks,

    Mike Giller

  • 1. By chance, if we  can use Maven, (by using soap-testng plugin),   should we still install TestNGPro on  the Slave machine (on which machine Jenkins will run the tests). Or, we do not need to install the License on this Slave.

     

    Answer: For Maven, you can run the plugin by pointing in pom file - http://readyapi.smartbear.com/features/integration/maven/introduction

    but you will still need to activate a license there on the slave machine - http://readyapi.smartbear.com/about/licenses/activate/jenkins/start

     

    2. We use the command - "testrunner.bat    path of project file", and this runs it locally. Can you give syntax how to run on Remoate machine (example - MahineVMOne)

     

    Answer: There's two ways to do that - 

    1. In my previous answer I've provided sample syntax to connect to your slave machine and run testunner.bat on that machine.  

    2. Another option would be to run testrunner on your machine and point to a project via UNC path somewhere else.  But that kind of defeats the purpose of setting up a slave machine to save computation cycles

     

    Thanks,

    Mike Giller

4 Replies

  •  

     

    Hi sureshvemu,

     

    1. Yes, but that license uninstall/install management would be up to you to fully perform.  If you run into an instance where the license is not deactivated, we won't really be able to help there.  

    Also, in my experience, any time this question was asked, a floating license is a much better fit

     

    2. License should be activated on the slave that is executing testrunner

     

    3. Only the obvious requirements that I can think of:

     - installed Ready! API

     - activated license

     - machine can access the target test environment

     

    4. Here are some good instructions for that:

    http://stackoverflow.com/questions/22553588/run-batch-scripts-on-a-remote-server-windows-from-jenkins

     

    5. Yes.  Running testrunner.bat is a great workaround and gives you as much if not more functionality over the maven plugin for SoapUI NG

     

    Thanks,

    Mike Giller

    • bs's avatar
      bs
      New Contributor

       

      Sorry, I am not sure whether or not I can ask sub-questions. If I should not, please reply to me, so I can post separate thread.

       

      1. By chance, if we  can use Maven, (by using soap-testng plugin),   should we still install TestNGPro on  the Slave machine (on which machine Jenkins will run the tests). Or, we do not need to install the License on this Slave.

       

      2. We use the command - "testrunner.bat    path of project file", and this runs it locally. Can you give syntax how to run on Remoate machine (example - MahineVMOne)

       

      Best regards,

      S

      • 1. By chance, if we  can use Maven, (by using soap-testng plugin),   should we still install TestNGPro on  the Slave machine (on which machine Jenkins will run the tests). Or, we do not need to install the License on this Slave.

         

        Answer: For Maven, you can run the plugin by pointing in pom file - http://readyapi.smartbear.com/features/integration/maven/introduction

        but you will still need to activate a license there on the slave machine - http://readyapi.smartbear.com/about/licenses/activate/jenkins/start

         

        2. We use the command - "testrunner.bat    path of project file", and this runs it locally. Can you give syntax how to run on Remoate machine (example - MahineVMOne)

         

        Answer: There's two ways to do that - 

        1. In my previous answer I've provided sample syntax to connect to your slave machine and run testunner.bat on that machine.  

        2. Another option would be to run testrunner on your machine and point to a project via UNC path somewhere else.  But that kind of defeats the purpose of setting up a slave machine to save computation cycles

         

        Thanks,

        Mike Giller

    • bs's avatar
      bs
      New Contributor

      Please let me know, is it a problem to activate and de-active (uninstall) Permanent License on a machine.

      If there are chances of 90% getting into those uninstallation related issues, we will purchase Float license only.

      Otherwise, we will buy Permanent License, becuase Floating License has big installation process (according to the document)

      Till now, we have not purchased yet. We will purchase tomorrow or day after tomorrow.

       

      Best regards,

      bs