Pawan Kumar
The 9th edition of the Global Testing Retreat 2024!
About Speaker
Pawan Kumar
Senior Software Engineer
Mettler Toledo
I have 11+ years of experience in the testing world with Banking, Healthcare and Life Science domain. I have exposure to IoT, Microservices, Performance testing, Cloud, Playwright, Selenium, QTP, Docker run extensively, Cloud based Web/Mobile testing with Framework architecture designing. With upgrading to the latest technologies, I also believe continuous learning can be achieved by sharing knowledge.
More Speakers
IoT makes life easy when data flows from hardware and then connect over application for further use. But how this continuous connectivity happens between hardware and software? How can we develop loosely couple infrastructure and create microservice around it? How can we make sure there is proper handshake between these two and right set of data flowing without being lost or interrupted or manipulated? How can we test IoT device with high quality-oriented product?
gRPC is an open source and can help to solve all these problems. It is built on HTTP/2 protocol where data transfer message will be in binary format. By default, it uses protocol buffers as both its Interface Definition Language (IDL) and as its underlying message interchange format. It is intended to provide the scalability and performance with bulk streaming data.
There are some additional features of gRPC which distinguish it from others.
- High-Speed RPC framework
- Contract-First approach
- Bi-directional Streaming support
- Efficient serialization
- Supports microservice architecture.
- Enables development across multiple programming language.
- Real time services, suitable for IoT platform
Protocol buffers have its own components which store structure of function and data contracts which must be serialize in a proto file. Protocol buffer enables contract between client and server where gRPC service can act as independent server and client has to handshake by utilizing its contract. Test project can be a client where it consumes gRPC service and its contract as proto file and validate actual use case.
As part of this session, we can have hands-on experience with building in-house IoT services with its contract and share same contract to have handshake with testing project. This testing will make sure IoT platform adhering its contract and data flows without been interrupted or lost.
Note: This session goes well with workshop/lab or interactive session. In case of interactive session there will be short demo for this.
Agenda | Duration |
---|---|
IoT testing and its limitation | 5 mins |
About gRPC and its architecture | 5 mins |
Protocol buffer | 5 mins |
Hand-on experience with implementation | 30 – 35 mins |
Q & A | 10 – 15 mins |
Lab Requirements
Any IDE (Visual Studio / VS Code)
Pre-Requisites
Advantage to have some basic knowledge of coding (C#/Java at least)