JavaScript

Introduction to Scala.js

Reading Time: 4 minutes A safer way to build robust front-end web applications! http://www.scala-js.org/ In this blog, we are gonna utilizing a whole lot of features of Scala to build a simple front-end application using Scala.js. So, let’s get it started- Step-1: – Creating an sbt project Create a folder named scala-js-example and inside it create a build.sbt. build.sbt Now, create a new folder named as a project inside Continue Reading

Dynamic Response Handler in Jmeter

Reading Time: 4 minutes Hi Folk, Let’s move ahead with respect to the Jmeter blog series for new problem statement solutions. So in this blog, we will see how can we handle dynamic responses and also handle dynamic request failures in Jmeter scripts. Basically, handle dynamic response means Correlation which is the process of capturing and storing the dynamic response from the server and passing it on to subsequent Continue Reading

Reconciliation in React

Reading Time: 3 minutes Reconciliation in react is a process in which it provides a declarative API that keeps you away from the worry of what is changing on every update. When a component’s state changes, React has to verify whether they want to update the DOM or not? In this process, it creates a Virtual DOM and comparing it with the current DOM. In this context, the Virtual DOM will contain the Continue Reading

Use State React Hook

React Hooks: useState – Part 2

Reading Time: 3 minutes As we can discuss a lot about React Hooks in React Hooks: Introduction – Part 1. In this blog, we are going to discuss the useState hook in detail. As this hook let us use state without writing a class. This hook is the equivalent of this.state/this.setState for functional components. Declaring a state variable useState is a named export from react so to use it, Continue Reading

Postman-Extract value from the JSON object array

Reading Time: 3 minutes Most of us are using postman for automating the Rest API. In automating the requests, we need to pass the data in many requests in different forms. It will be in the datasheet/excel form, database and also sometimes need to extract data from JSON response of any request. Postman lets you write scripts that run before/after you receive a response from the server. The pre-request Continue Reading

Angular

Basics of Angular: Part-1

Reading Time: 4 minutes What is Angular? What it does? How we implement it in a project? So, here are some basics of angular to let you learn more about angular. Angular is a Typescript-based open-source front-end web application platform. The Angular Team at Google and a community of individuals and corporations lead it. Angular lets you extend HTML’s syntax to express your apps’ components clearly. The angular resolves Continue Reading

React Hooks: Introduction – Part 1

Reading Time: 3 minutes React hooks were introduced at React Conf October 2018 to introduce state management and side-effects in functional components. They have become a game-changer for a lot of developers. These hooks change the fundamental mindset because of switching from class-based components to functional components with hooks. In this blog post, we will get an overview of these hooks, with the look of how the same logic Continue Reading

HTML, CSS, and JS as a Framework

Reading Time: 7 minutes For beginners, the thought of designing a website from scratch can seem like a really difficult task. Let’s ease it a little bit in this blog. The online market is expanding at a good rate and for most of us, websites form part of our daily life. HTML, CSS, and JS are special web languages that work together as a framework to form the front-end Continue Reading

How to execute Selenium script in JMeter

Reading Time: 2 minutes In this blog, we are going to discuss How to execute Selenium script in JMeter. Basically JMeter was developed to provide open source performance and load testing solution. Initially, JMeter was designed for testing web applications. Later it expands to other test functions. We can also perform functional testing using JMeter. Why it is needed:- In the current scenario, we are using much-advanced technology such Continue Reading

User Authorization using JWT – Part 1

Reading Time: 4 minutes Around all the buzz words flying in the micro-service development area, one of the hottest is JWT (JSON Web Token). We often encounter JWT in already established services or may be asked to authenticate a User using a JWT. So if you’re new to this concept, hang in tight! In this blog, I’ll try to explain what exact use-case  JWT fulfills and when you can Continue Reading

Monkey patching in NodeJS

Reading Time: 3 minutes Hey guys, I am back with another blog in my series of blogs on mocking in nodeJS, so if you have read my last blog, in which we looked over how we can use sinon for testing in nodeJS to effectively mock and stub behaviours, so in this blog we would look over the concept of monkey patching to make things more testable, so let’s Continue Reading

Spies and Stubs in NodeJS

Reading Time: 3 minutes Hi folks, my last two blogs we discussed about how we can use monkey-patching to test complex code logic which could be difficult to test if it is not used, along with that we also looked over how can stub or mock behaviours of our dependencies using sinon, in this blog we would be exploring more utilities provided by sinon i.e; Spies and Stubs. Spies Continue Reading