You could have a look at org.drools.guvnor.server.files.PackageDeploymentServlet.<br><br>The doGet() method suggests if a URL ends with SCENARIOS it will run the tests and return the results, but I don&#39;t know if anyone uses it (and hence it&#39;s stability).<br>
<br>It suggests a URL formatted <a href="http://localhost:8080/org.drools.guvnor.Guvnor/package/{packageName}/SCENARIOS">http://localhost:8080/org.drools.guvnor.Guvnor/package/{packageName}/SCENARIOS</a> should work.<br><br>
Try it, if it works then great; if not why not contribute to the project with a fix :)<br><br><div class="gmail_quote">On 26 January 2012 15:20, vinodkiran <span dir="ltr">&lt;<a href="mailto:vinodkiran@usa.net">vinodkiran@usa.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there capability within Guvnor/Drools currently to invoke SCENARIO&#39;s<br>
defined in Guvnor? If yes, can someone point me to it?<br>
<br>
If this is missing, does the community see value in such a feature?<br>
<br>
see <a href="http://pastebin.com/Drze6YGP" target="_blank">http://pastebin.com/Drze6YGP</a> for some thoughts.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/project-idea-Running-Guvnor-SCENARIOS-from-regular-java-code-tp3690698p3690698.html" target="_blank">http://drools.46999.n3.nabble.com/project-idea-Running-Guvnor-SCENARIOS-from-regular-java-code-tp3690698p3690698.html</a><br>

Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</font></span></blockquote></div><br>