AnsweredAssumed Answered

Unit test for Share webscripts

Question asked by muralidharand on Feb 8, 2013
Latest reply on Mar 22, 2013 by muralidharand
I created a unit test method to test my share webscript, by extending BaseWebScriptTest. 
During the unit test startup, the Alfresco repo application is started  and share application is not started.
When I'm calling sendRequest() method , the request goes to the alfresco repo application and not for the share application.
Moreoever BaseWebScriptTest.getServer() method returns TestWebScriptRepoServer only.

Is there any way, where we can get TestWebScriptServer to test the share application?
So, I want to know, How I can start the share application for Unit testing and how I can to do unit test Share webscripts?