How to set HTTP headers in Karate? Karate is an API testing tool with a very comprehensive and easy to understand DSL. In this post, we show how to set multiple headers in the header part of a request. Examples… Read More »
In Gatling, you can set the ramp-up period and the maximum duration of the load testing. You can define the values in seconds or minutes. You might get a “Cannot resolve symbol minutes” or “Cannot resolve symbol seconds”. In order… Read More »
In this Gatling tutorial, we show how to send post requests which contain random data in the StringBody(). In most performance testing scenarios, you want to randomize the data that is sent as post request to simulate different sessions. For… Read More »
This post shows how to set up a Gatling simulation test using Maven and Scala on IntelliJ IDE. If you don’t already have Scala plugin for IntelliJ IDE, you can install it from the plugins section under preference: Once the… Read More »
How to run WebDriver in headless mode? This might be needed if your CI tool, for example, Jenkins doesn’t support UI. Running WebDriver Automated Tests in headless mode provides advantages in terms of speed of execution of tests and easier… Read More »
A typical development and testing activity normally begin with taking a user story and digesting the information in it. From this shared understanding, we start to construct a set of use cases as a means of verifying the implementation and… Read More »
Automated Testing of emails can be a bit daunting as the majority of email providers are not built for testing purposes. In the past, people have used Gmail and mailinator to create email addresses, send and read emails but they… Read More »
In this API Testing tutorial, we take a look at how to parse JSON response and extract information using the REST-assured library. When testing an API, you typically make a request to a resource, (e.g. via a GET or POST… Read More »
What is the difference between PUT and PATCH requests, and when should we use one over the other? PUT and PATCH are HTTP verbs and they both relate to updating a resource. The main difference between PUT and PATCH requests is the way the server processes the request to modify a resource identified by the request URI.
Should Automated UI Tests (e.g. Selenium Tests) be run as part of the continuous integration build pipeline? The problem with automated UI tests is that they are slow and brittle as they need to interact with a browser over HTTP. In this post, we examine a strategy for executing automated UI tests in CI/CD pipeline.