Forum Discussion

DG's avatar
DG
Occasional Contributor
9 years ago

Can I start 2 out of 3 mock services in one project using MockServiceRunner.bat?

I have a project containing 3 mock services, but I only want to start 2 of them using the MockServiceRunner.bat file.

 

I can start one (using -m switch) and all of them (just supplying the project xml file path to the bat) but I can't work out how to start 2 of the 3, or if this is even possible.

 

Thanks

  • If you see MockServiceRunner.bat, it will have to call java code only which is already compiled and added in classpath.
    • DG's avatar
      DG
      Occasional Contributor

      Hi.

       

      I am currently working with existing code that is using the MockServiceRunner.bat file.  It would be easier if I could do this using command line arguments with the bat file.

       

      If I can't do that, then this gives me an alternative.  

      Thanks.

       

       

      • nmrao's avatar
        nmrao
        Champion Level 3
        If you see MockServiceRunner.bat, it will have to call java code only which is already compiled and added in classpath.