Forum Discussion

James1's avatar
James1
New Contributor
9 years ago

Reusable Classes for Dispatch Script

 

We need to write Groovy class which consists of methods that needs to be reused across Service V dispatch scripts ...

These methods should invoke standard methods of  mockRequest,context,requestContext objects

Does any body have experience with it ? Please let us know  .

  • Hi James1,

     

    Have you moved your scripts to a VirtServer installation folder?

    C:\Program Files\SmartBear\VirtServer-1.3.1\bin\scripts

    • James1's avatar
      James1
      New Contributor

      Hi ,

       

       Script Library feature works for Local Virts .  When we deploy the Virt to a VirtServer running in a different machine for productive usage , dependent script libraries are not getting deployed in to the VirtServer. How do you handle the deployment / download of script libraries ?

       

      Thanks  ....

       

      • TanyaYatskovska's avatar
        TanyaYatskovska
        SmartBear Alumni (Retired)

        Hi James1,

         

        Have you moved your scripts to a VirtServer installation folder?

        C:\Program Files\SmartBear\VirtServer-1.3.1\bin\scripts