Hi,

In automation.xml "Platform->prodcutGroup" section contains the
configuration details related to the  product instances which are used in
the test execution.

 <platform>

        <productGroup name="ESB" clusteringEnabled="true" default="true">

            *<instance name="lbw001" type="lb_worker_manager" >*
                <hosts>
                    <host type="worker">esb.wso2con.com</host>
                    <host type="manager">mgt.esb.wso2con.com</host>
                </hosts>
                <ports>
                    <port type="nhttps">8243</port>
                    <port type="nhttp">8280</port>
                </ports>
                <properties>

                </properties>
            </instance>
            <instance name="esbm001" type="manager">

Test Automation Framework generates context URLs (backend URL, service
URLs...etc) using the configuration details of  specific instance nodes. We
have faced a problem when we generate service URLs  as we have to use
servlet ports for some products and non-blocking ports for some others.
Hence we have decide to mention the port type which will be used to
generate service URL in each instance. So we add
"nonBlockingTransportEnabled" attribute to the instance nodes.

<instance name="abc" type="standalone" *nonBlockingTransportEnabled="false"*
>


Service URL generation will use appropriate ports depending on this
attribute (servlet ports if this attribute=false and non-blocking port if
this is true) for generating service URLs . Users could be able to keep any
type of port in the port list of the instance.

Regards,

-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 2312958
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to