Forum Discussion

ElChien23's avatar
ElChien23
New Contributor
9 years ago

Running a batch on a remote machine via Groovy script

I've asked this question in a previous posting, but was recommended to post as a separate subject.  

 

My question is how can I launch a .bat which resides on a remote machine using Groovyscript?  The answers provided in the previous post were related to launching a .bat if SOAPUI was on the same local machine as the batch file.  

 

Any help on this would be appreciated! 

 

2 Replies

  • nmrao's avatar
    nmrao
    Icon for Champion Level 1 rankChampion Level 1
    What is the targetted machine OS Platform? And would be glad to know if you can provide some context to your use case.
    • ElChien23's avatar
      ElChien23
      New Contributor

      The OS on the remote machine is running on Windows Server 2012 R2 Standard

       

      What I'm trying to do is run a batch file which will be moving files from one folder to another folder every time the SOAP UI tests are run.