What is contract testing?
Contract testing is famous in microservices world. When we consider less numbers of microservices, then contract testing is not so necessary.However when you look at the Amazon or Netflix microservices mesh, it is countless. Such cases it is extremely difficult for developer or tester to maintain unit/automation test suite as per the microservices development chnages.
Contract testing is the best possible solution currently offered for this situation. In contract testing, a mocked service is created to represent the provider. There are commercial or opensource tools available to stimulate this. In short, contract is set of predefined requests and responses created by automation or developer team to do their testing.
What is Google’s App Engine ?
Google provides platform as service or PaaS via Google’s App Engine.App Engine is a cloud computing platform where development and hosting of applications can be done.Other feature is App engine scales up on demand basis when the requests are more.
App Engine supports almost all development technologies like Go, Java , Python, .NET, ruby.
Python web frameworks like Flask, Django all can run on App Engine.
What is ELK (Elastic search, Logstash, Kibana) ?
ELK stack is a combination of 3 open-source products as below,
- Elasticsearch, a search and analytics engine.
- Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
- Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts.
In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch.
Then Kibana would read the data from Elasticsearch and visualize it.