23. Some Tricks
• Focus on one service end point at a time
• Define the boundary of test
• Make sure services are designed to support different content type.
Good Afternoon Everyone!! Hope u had a enjoyed lunch
I am Varuna
Let’s have a quick Glance of agenda
A micro-service represents a small piece of business logic. By nature it is atomic. thus it can be designed, developed, deployed independently. As it encapsulates business logic, this unit must be tested and certified.
Orchestration Services consume one or more micro-services and/or Orchestration Services to achieve a greater goal.
Little control on how the API’s will be used
No control on how services are Orchestrated used in Combination
Public API’s are foreever
Better get it first time
Gradle combines the power and flexibility of Ant with dependency management of maven into a more effective way to build.
Java DSL for easy testing of REST services
Testing and validating REST services in Java is harder than in dynamic languages such as Ruby and Groovy. REST Assured brings the simplicity of using these languages into the Java domain.
Consider a scenario when you are making a payment it is been asked to add a billing address..
Creating a new cookies whenever user logs in. So in a flow when your making payment now u logs in
API mock to take your API for a spin--without writing any code. Iterate, rinse & repeat. Coding can wait until you know what your developers really need.
API mock to take your API for a spin--without writing any code. Iterate, rinse & repeat. Coding can wait until you know what your developers really need.
Snow Crash – parsing the markdown
Aglio – rendering the markdown in an html format (it needs node.js installed on your machine)
Dredd – testing the documentation Dredd for validation