Hi As an addition to what pavithra mentioned, an example for a use case, Disabling chunked encdoing from gateway can be considered. Here we have to associate a custom sequence and this can be done by following [1]
We can write a simple sequence as follows <sequence xmlns="http://ws.apache.org/ns/synapse" name="admin--testapi1:v1.0--Out"> <!-- <log level="full"> <property name="=== Message##### ===" value="===="></property> </log> --> <property name="DISABLE_CHUNKING" value="true" scope="axis2" /> </sequence> [1]https://docs.wso2.com/display/AM180/Adding+Mediation+Extensions Hope its helpful Thank You Erandi On Mon, Mar 30, 2015 at 2:22 PM, Pavithra Madurangi <pavit...@wso2.com> wrote: > Hi Saneth, > > I guess the the steps should be something like > > - Add API > - Now edit API definition > e.g : > > - Add a new handler (e.g > https://docs.wso2.com/display/AM180/Writing+Custom+Handlers) > > Expected result : Check whether custom authentication handler is > executed > > > - Add a new mediation logic (E.g > > http://nuwanzone.blogspot.com/2013/03/how-to-extend-mediaiton-flow-in-wso2.html > ) > > Expected result : Check whether this new sequence is executed. > > I'm adding Nirodha, Asanthi, Kala, Shamin and Chathurika to the thread for > more clarification. > > On a related note this particular scenario can be divided into several > test cases. > @AsankaV, > Can you please improve these kind of scenarios when you update the current > test plan. > > Regards, > Pavithra > > On Mon, Mar 30, 2015 at 1:44 PM, Saneth Dharmakeerthi <sane...@wso2.com> > wrote: > >> Hi all, >> >> I need to clarify the scope, steps and expected output of following test >> case to write a integration test. >> This test case has written in high level and its hard to define a scope >> on it. >> If there is any artefacts that can be used in the test process please >> share it with me. >> >> Test case : "Once the API is published, update it in GW (e.g:- add a new >> handler, add a new mediation logic)" >> Test case can be found in [1] under API Life Cycle tab and row 43 >> >> >> [1] >> https://docs.google.com/a/wso2.com/spreadsheets/d/1SiktQWh463KZzr86ADqBnsyyHa2Tre-fIlGYvYRQfTQ/edit#gid=78 >> >> >> Thanks and Best Regards, >> >> Saneth Dharmakeerthi >> Senior Software Engineer >> WSO2, Inc. >> Mobile: +94772325511 >> > > > > -- > *Pavithra Madurangi* > Associate Technical Lead - QA. > WSO2 Inc.: http://wso2.com/ > Mobile: 0777207357 / 0112747089 > -- *Chathurika Erandi* Software Engineer, WSO2 Inc. *E-mail:* chathuri...@wso2.com *Mobile: *+94714 328 612 *Blog*: chathurikaerandi.blogspot.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev