Hi Thilina,

We have missed some requirements. Please consider the following as well.

1. We need a Tomcat instance to host the Backends(Weapps) which are
required by the Test Scripts. So we need another instance spawned with
Tomcat. After spawning the instance you can deploy the prerequisite web
apps. (These web apps will be available in the Test-Repo under resources)
2. Also when deploying Jmeter we need to copy 3rd party Jars to Jmeter.
(These are also available in the repository)

Also answering your question about the Deployment profiles. We have
identified several components to make the scope manageable.

*Products*
ESB | V4.9 & V5.0
APIM | V1.9 & V2.0

*JDK*
JAVA | V1.7 & V1.8

*DataBase*
MySQL

*Third Party Servers*
Brokers | ActiveMQ 5.10 | WSO2 MB 3.1 (Only applicable when ESB is used)

So a Sample Profile would be, *ESB 4.9 + JAVA 1.7 + MYSQL + ActiveMQ*. For
now, you can concentrate on the above components when determining a
deployment profile. But your solution should be scalable.

Please let us know if you have more queries regarding this.

With Regards,

On Wed, Mar 22, 2017 at 4:01 AM, Thilina Manamgoda <[email protected]>
wrote:

> Hi Yasassri,
>
> This the order of operations,
>
>
>    1.
>
>    Get WSO2 product profile
>    2.
>
>    Build DB Docker images
>    3.
>
>    Deploy DB in Kubernetes cluster
>    4.
>
>    Get DB Deployment details from Kubernetes cluster
>    5.
>
>    Build the WSO2 product docker images with DB info
>    6.
>
>    Deploy products in Kubernetes cluster
>    7.
>
>    Get products Deployment details from Kubernetes cluster
>    8.
>
>    Build Log DB Docker Image
>    9.
>
>    Deploy Log DB in Kubernetes cluster
>    10.
>
>    Get Log DB Deployment details from Kubernetes cluster
>    11.
>
>    Get Jmeter profile
>    12.
>
>    Build the Docker image with Log DB
>    13.
>
>    Deploy Jmeter server in Kubernetes cluster
>    14.
>
>    Get Deployment details from Kubernetes cluster
>    15.
>
>    Run the Jmeter Scripts
>    16.
>
>    Store logs in the Log DB
>    17.
>
>    Get logs from Log DB
>    18.
>
>    Generate HTML Report
>
>
>
> Can you plese explain a example product deployment profile?.
>
>
> regards,
>
> Thilina Manamgoda
>
>
> On Tue, Mar 21, 2017 at 5:27 PM, Yasassri Ratnayake <[email protected]>
> wrote:
>
>> Hi Thilina,
>>
>> Please find my comments inline.
>>
>> On Mon, Mar 20, 2017 at 6:57 PM, Thilina Manamgoda <[email protected]
>> > wrote:
>>
>>> Hi Yasassri,
>>>
>>> First of all, sorry for the late reply. What we can do in a Jmeter
>>> cluster mode is run a test with more users. So if we have to run Jmeter
>>> Scripts parallel we have to do it using separate  Jmeter instances. Yes of
>>> course I will consider the requirements that you mentioned.
>>>
>>>   Is a Java web app good way to go ?
>>>
>>
>> Yes you can develop this as a WebApp.
>>
>>
>>> It will contain the UI, Kubernetes client and Docker client. Now, after
>>> the tests are done the logic in the Java class  HTMLReportGenereater, is
>>> executed . Similarly we have to export the final logs(Application logs,
>>> Jmeter logs, Test result logs) to a external database. Then we can import
>>> those logs to the web app and do the HTML Generating. This is a simple
>>> diagram that shows main tasks in this approach,
>>>
>>> [image: jmeter.png]
>>>
>>> Please let me know whether this approach is fine or not.
>>>
>>
>> Overrall architecture seems ok, but the order of oeprations are not
>> clear. Also how are we adding deployment profile to the webapp?
>>
>> With Regards,
>> --
>> Yasassri Ratnayake
>> Senior Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <+94%2071%20593%203168>*
>> *Blogs : http://yasassriratnayake.blogspot.com
>> <http://yasassriratnayake.blogspot.com/>*
>> *            http://wso2logs.blogspot.com <http://wso2logs.blogspot.com>*
>>
>
>


-- 
Yasassri Ratnayake
Senior 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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to