Hope you read the first part of this blog post. If not, better to read it first and come to this add more value. Then consider about best practices...
Best Practices:
1) Should not add links in the test case (Important in WSO2 culture, as its' product version release frequently.). If you need something relevant to a document/link add its name, not the link.
Ex:
Not this link : https://docs.wso2.com/display/ESB490/Header+Mediator
Add it as: Refer Header Mediator Documents
|
2) Should not add several test steps. Then it will be bored to read.
3) Add short, point form steps to test case. It makes easy to read.
Ex:
Add sequence mediator to the above sequence.
Select "Key Type" as dynamic key
Give previously created property as Referring sequence.
Ex: {get-property('property')}
4) Add relevant configuration in user-friendly manner (Ex: Adding header mediator with relevant configurations)
Ex: Rather than saying "Create a Header mediator with this and this", you can give configuration as below:
Create a sequence with header mediator which adding "SOAP Header" to incoming SOAP message.
Header Mediator configuration:
- Name:wsa:newHeader
- Action:Set
- Value:Accept
- Scope:Synapse
No comments:
Post a Comment