Testing Service Methods

  • 2 March 2009
  • 1 reply
  • 0 views

Badge +2

Hi,


 I would just like to know if there is a simple way of testing service methods in the K2 Dev environemt (ie Visual Studio K2 Development)?


 For example, I want to create a composite smartobject with a method which retrieves data from multiple sources in a join (potentially with parameters). I want to then be able to quickly execute the method to check that I get the expected results.


 Regards


Mike


1 reply

Badge +2

Hi Mike,


 There is a utility called the SmartObject Service Tester that is included with the latest builds of K2 (and can be found in BlackMarket).  It is located in the Program Filesk2 blackpearlService Broker .  It can't test Service Object methods directly, but it can create a quick testing SmartObject to test against.  You can use this in conjuction with the Visual Studio debugger if you would like to debug your SvO code as well.  Just attach to the K2HostServer process when you do this.


Let me know if you have any questions,


Mark 

Reply