Keploy Blog Website

  • Verify if a Key is Present in a JS Object?

    Verify if a Key is Present in a JS Object?

    by

    in

    When working with JavaScript, you often deal with objects. Objects are collections of key-value pairs, where each key is a unique identifier for its corresponding value. Checking if a kеy еxists in a JavaScript objеct is a common task for developers when working with JS objects. What are JavaScript Objects? JavaScript objects are fundamental to…

  • API integration – Importance and Best Practices

    API integration – Importance and Best Practices

    by

    in

    In today’s digital world, applications need to communicate with each other to provide users with seamless experiences. This communication is often made possible through APIs (Application Programming Interfaces). API integration is a process where different software systems are connected using APIs, allowing them to share data and functionalities. Let’s delve deeper into what API integration…

  • How to compare two JSON files?

    How to compare two JSON files?

    by

    in

    As a developer, you usually work with JSON data, and may need to compare JSON files. This might involve checking a list of products from the database against a previous version or comparing an updated user profile returned by your REST API with the original data sent to the server. In this article, we’ll explore…

  • Learn to add comments to JSON

    Learn to add comments to JSON

    by

    in

    JSON or JavaScript Object Notation is a popular data interchange format used by developers to store and exchange data. It’s lightweight, easy to read, and easy to parse, making it ideal for various applications. However, one of the notable limitations of JSON is that it doesn’t support comments natively. This can be a problem when…

  • Unit Testing in Python is way more convenient than you’ve thought

    Unit Testing in Python is way more convenient than you’ve thought

    by

    in

    Introduction As software developers, we have to write a lot of unit tests for our software. And for the dynamic nature and the ease of writing tests alongside the code, Python can be a viable option for unit testing of our software. So, let’s dive into the nitty-gritty of writing unit tests and explore the…

  • Exploring Cypress and Keploy: Streamlining Test Automation

    Exploring Cypress and Keploy: Streamlining Test Automation

    by

    in

    As an Automation Enthusiats exploring in the realm of software testing, I’ve traversed a various tools and frameworks aimed at enhancing test automation processes. Because as the landscape of software testing continues to evolve, the demand for efficient and reliable test automation solutions has never been higher. Among these, Cypress and Keploy emerge as standout…

  • Why Traditional API Testing Fails? Comparing Shadow, Production, Replay Techniques

    Why Traditional API Testing Fails? Comparing Shadow, Production, Replay Techniques

    by

    in

    I want to share the story of how our team at a fast-paced startup tackled the challenge of API testing without any dedicated QA team, the roadblocks that we encountered, and how we ultimately addressed these issues. Baseline Challenge We had 15-day sprints including mandatory unit and API testing. Initially, we relied on automated testing.…

  • Testing BunJs Web Application with Cucumber JS and Keploy

    Testing BunJs Web Application with Cucumber JS and Keploy

    by

    in

    In our previous blog, we explored how to build a modern web server using BunJs and Prisma, integrating robust authentication mechanisms with JWT tokens. Now, it’s time to ensure our application is reliable and error-free through thorough testing. In this blog, we’ll dive into testing methodologies using Cucumber JS and Keploy, both are a powerful…

  • Create API Rate Limiting with Token Bucket 🪣

    Create API Rate Limiting with Token Bucket 🪣

    by

    in

    In this article, We will try to explore Token Bucket algorithm and its implementation in NodeJS for API Rate Limiting in very simple terms. What is Token Bucket ? Token Bucket is an algorithm which is used to limit our resources or server usage. It is an algorithm in which we have some finite amount…

  • Understanding the levels of the Software Testing Pyramid

    Understanding the levels of the Software Testing Pyramid

    by

    in

    Introduction Before coming to what Software Testing Pyramid actually is, let’s just start with some basics! We all know what a "software" is, but then what is software testing or why is it even important? Let me answer your doubts- Software Testing is a process that involves evaluating software components to ensure they meet specified…