Hi Lakshani,

Please find the artifacts that were used for Testing App Manager [1].
Jmeter Scripts are also included.

[1] -
https://drive.google.com/a/wso2.com/file/d/0B59XaK6hvwV6bENINWpYX3pXQms/view?usp=sharing

With Regards,

On Thu, Jul 16, 2015 at 12:22 PM, Lakshani Gamage <laksh...@wso2.com> wrote:

> Hi Yasassri,
>
> If you have any jmeter script for load test and stress test, could you
> please send those?
>
> Thanks,
>
> On Thu, Jul 16, 2015 at 12:12 PM, Sajith Abeywardhana <saji...@wso2.com>
> wrote:
>
>> Hi Lakshani,
>>
>> Thanks to Infar team we got 4GB memory in gateway instances. Now we can
>> proceed.
>>
>> Please find the below clustering environment configuration [Table 1]
>> which we will be using for AppM load testing. Shall we start writing Jmeter
>> scripts for below testing scenarios [Table 2] as well?
>>
>>
>> Server IP
>>
>> Instance config
>>
>> Product
>>
>> 192.168.57.144
>>
>> 2 VCPUs, 4GB, 40GB
>>
>> MySQL, svn, nginx
>>
>> 192.168.57.132
>>
>> 1 VCPUs, 2GB, 20GB
>>
>> IDP (WSO2 AppM distribution)
>>
>> 192.168.57.134
>>
>> 1 VCPUs, 2GB, 20GB
>>
>> publisher (WSO2 AppM distribution)
>>
>> 192.168.57.133
>>
>> 1 VCPUs, 2GB, 20GB
>>
>> store mgt (WSO2 AppM distribution)
>>
>> 192.168.57.135
>>
>> 1 VCPUs, 2GB, 20GB
>>
>> store wkr (WSO2 AppM distribution)
>>
>> 192.168.57.136
>>
>> 2 VCPUs, 4GB, 40GB
>>
>> gateway mgt (WSO2 AppM distribution)
>>
>> 192.168.57.139
>>
>> 2 VCPUs, 4GB, 40GB
>>
>> gateway wkr (WSO2 AppM distribution)
>>
>>                                                                          
>> Table
>> 1
>>
>>
>>
>> Test
>>
>> How to proceed
>>
>> Goal and test output
>>
>> Capacity/Load Test
>>
>> Gradually increase the number of hits to gateways by looking at the CPU
>> load average and JVM memory utilization. We keep increasing hit count until
>> performance or stability become unacceptable in gateway nodes.
>>
>>
>> Goal - Measure how many concurrents hits can handle by the gateway
>> successfully.
>>
>> Output - In a cluster environment with 2 gateway nodes which having a
>> 4GB memory in each instance, AppM can handle up to n concurrent hits
>> without any performance or stability issues.
>>
>> Stress Test
>>
>> Load the gateway beyond the normal load condition. Push it to the extreme.
>>
>>
>> Goal - We will see which components fail first. Making these components
>> more robust.
>>
>>                                                                   Table 1
>>
>> *Sajith Abeywardhana* | Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka.
>> Mobile: +94772260485
>> Email: saji...@wso2.com <mahe...@wso2.com> | Web: www.wso2.com
>>
>> On Mon, Jul 13, 2015 at 3:14 PM, Yasassri Ratnayake <yasas...@wso2.com>
>> wrote:
>>
>>> Hi Sajith & Lakshani,
>>>
>>> Yes 4 GB will be sufficient for both OS and APP-M instance.
>>>
>>> The type of Jmeter script depends on what type of performance/load test
>>> you are trying to perform. E.g : Long running test, Stress test etc. If you
>>> are trying to measure the throughput you can gradually increase the number
>>> of threads by looking at the CPU load average.
>>>
>>> Regards,
>>>
>>> On Mon, Jul 13, 2015 at 3:02 PM, Sajith Abeywardhana <saji...@wso2.com>
>>> wrote:
>>>
>>>> Hi Yasassri,
>>>>
>>>> Yes, for both OS and AppM we do have 2GB.
>>>> Anyway I'll ask infar to increase those instance's RAM up to 4GB. Do
>>>> you guys have any other feedbacks on like number of threads(users)? or any
>>>> other feedback regarding jmeter script?
>>>>
>>>> *Sajith Abeywardhana* | Software Engineer
>>>> WSO2, Inc | lean. enterprise. middleware.
>>>> #20, Palm Grove, Colombo 03, Sri Lanka.
>>>> Mobile: +94772260485
>>>> Email: saji...@wso2.com <mahe...@wso2.com> | Web: www.wso2.com
>>>>
>>>> On Mon, Jul 13, 2015 at 2:51 PM, Lakshani Gamage <laksh...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Yasassri,
>>>>>
>>>>> Once I done a long test running for API Manager with 4GB size VMs.
>>>>> IMO, 4GB enough for both OS and the APP-M instance. Any objection?
>>>>>
>>>>> Regards,
>>>>> Lakshani.
>>>>>
>>>>> On Mon, Jul 13, 2015 at 2:44 PM, Yasassri Ratnayake <yasas...@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Sajith,
>>>>>>
>>>>>> On Mon, Jul 13, 2015 at 2:36 PM, Sajith Abeywardhana <
>>>>>> saji...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> We are planning to start the $subject. So we configured a AppM
>>>>>>> cluster with publisher, 2 store, 2 gateway and IDP. Each gateway
>>>>>>> instance(hosted as open stack instance) dose have 2GB RAM and ubuntu 
>>>>>>> 14.04
>>>>>>> installed. We are planning to load 4 sample web applications simultanI
>>>>>>>  Belieeously. Please kind enough to provide feedbacks on this.
>>>>>>>
>>>>>>>
>>>>>> 2GB for both OS and the APP-M instance? If that's the case I believe
>>>>>> its not sufficient to run a load test. Generally we increase the 
>>>>>> allocated
>>>>>> heap for the JVM when running load tests.
>>>>>>
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>> Yasassri Ratnayake
>>>>>> Software Engineer - QA
>>>>>> WSO2 Inc ; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> *Mobile : +94715933168 <%2B94715933168>*
>>>>>> *Blogs : http://yasassriratnayake.blogspot.com
>>>>>> <http://yasassriratnayake.blogspot.com/>*
>>>>>> *            http://wso2logs.blogspot.com
>>>>>> <http://wso2logs.blogspot.com>*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Lakshani Gamage
>>>>>
>>>>> *Software Engineer*
>>>>> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Yasassri Ratnayake
>>> Software Engineer - QA
>>> WSO2 Inc ; http://wso2.com
>>> lean.enterprise.middleware
>>> *Mobile : +94715933168 <%2B94715933168>*
>>> *Blogs : http://yasassriratnayake.blogspot.com
>>> <http://yasassriratnayake.blogspot.com/>*
>>> *            http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>*
>>>
>>
>>
>
>
> --
> Lakshani Gamage
>
> *Software Engineer*
> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>



-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blogs : http://yasassriratnayake.blogspot.com
<http://yasassriratnayake.blogspot.com/>*
*            http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to