Hi Devs, Please find the latest mock-iaas.xml configuration below:
<mock-iaas enabled="true"> <health-statistics> <cartridge type="tomcat"> <!-- factor:memory-consumption|load-average|request-in-flight--> <!-- mode:loop|continue|stop --> <!-- Mode defines the action needs to be taken after the last sample value: loop: start from beginning continue: continue the last sample value stop: stop publishing statistics --> <pattern factor="memory-consumption" mode="continue"> <!-- Sample values --> <sampleValues>20,30,40,50,60,70,50,40,30,20</sampleValues> <!-- Duration of each sample value in seconds --> <sampleDuration>60</sampleDuration> </pattern> <pattern factor="load-average" mode="continue"> <!-- Sample values --> <sampleValues>20</sampleValues> <!-- Duration of each sample value in seconds --> <sampleDuration>60</sampleDuration> </pattern> </cartridge> </health-statistics> </mock-iaas> Thanks On Fri, Dec 12, 2014 at 11:27 AM, Imesh Gunaratne <im...@apache.org> wrote: > > A good suggestion Udara, we have written this feature in a way that we can > take it out and run as a separate product. In the future we can add > features that you have suggested with this. > > Currently we only implemented the basic features needed for verifying > service grouping functionality. > > Thanks > > On Fri, Dec 12, 2014 at 8:36 AM, Udara Liyanage <ud...@wso2.com> wrote: >> >> Hi Imesh, >> >> As a suggestion how about letting user triggers events such as terminate >> the instance/thread in order to simulate, >> Agent stopping, >> Instance terminates >> Increases/decrease statistics values >> >> So we can easily test how Stratos behave in those scenarios. >> >> >> >> Touched, not typed. Erroneous words are a feature, not a typo. >> > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos