Keploy Blog Website
-

Decoding HTTP/2 Traffic is Hard, but eBPF can help
I’ve come across a particular challenge that many of us face: decoding HTTP/2 traffic becomes easier when you understand concepts from a protocol parsing guide, especially when dealing with complex binary protocols like HTTP/2. In this blog, I’ll share insights on why decoding HTTP/2 headers can be tricky, how HPACK adds a layer of complexity,…
-

TestNG vs JUnit: Performance, Ease of Use, and Flexibility Compared
It’d be ideal if the software worked perfectly right from the start, but in reality, achieving such perfection demands thorough testing. This is where frameworks like TestNG and JUnit play a crucial, yet often underappreciated, role. They are among the most popular tools in the Java ecosystem, each with its unique approach to tackling the…
-

Understanding Statement Coverage in Software Testing
Statement coverage is a white-box metric that measures the percentage of executable statements in your code exercised by a test suite. Full statement coverage means every line ran at least once during testing. It is a basic coverage measure, useful for spotting untested code, though it does not guarantee every branch or condition was checked.…
-

MongoDB in Mock Mode: Acting the Server Part
Imagine, for a moment, a scenario where instead of writing mocks with pre-defined behaviours, you can duplicate the behaviour of a real-world server. Picture a restaurant where the chef’s apprentice mimics each of the chef’s moves in real time, creating an identical dish concurrently. That’s precisely what we’re diving into here. By leveraging the genuine…
-

Capture gRPC Traffic going out from a Server
How does gRPC work? A quick Google search would tell you that it uses HTTP/2.0 under the hood, but that’s about it. Most available guides talk about gRPC internals by assuming that you are already deeply familiar with HTTP/2.0, and the only proper documentation for HTTP/2 is the official RFC document, which doesn’t contain implementation…
-
Why I Love End-to-End (E2E) Testing
I want to talk about something that has become near and dear to my heart in the software development world: End-to-End testing. Trust me; it’s more exciting than it sounds. So, grab a coffee, relax, and let’s dive into why E2E testing is often all we need to ensure our software shines, especially when we…
-

How to Generate Test Cases with Automation Tools
In the rapidly evolving domain of software development, relying solely on manual testing is insufficient to meet industry requirements. This is where test automation plays a pivotal role, enabling software testers to improve efficiency, expand test coverage, and assure the confident delivery of high-quality products. In this article, we will delve into the realm of…
-

Functional vs non-functional requirements in a BRD
Functional requirements describe what a system must do, such as letting a user log in or place an order. Non-functional requirements describe how well the system must do it, such as how fast a page loads, how secure the data is or how many users it supports. A business requirements document (BRD) captures both, and…
-

Exploring Testing in Production
Introduction In today’s world, every organization wants a scalable application that never breaks on a large amount of users. Testing in Production (TiP) helps you to focus on a few areas of the functionalities used in the application that usually remain unscripted. Understanding Testing in Production (TiP) First of all, I want to be clear…
-

Mastering Test Coverage: Quality Over Quantity in Software Testing!!
In software development and testing, test coverage has become a buzzword, often associated with metrics and percentages. While these numbers are essential, they don’t tell the whole story. It’s rather hard to decide and consider the scenarios that result in these associated metrics and percentages. In this blog post, we’ll delve deeper into the concept…