Press "Enter" to skip to content

Posts tagged as “API Testing”

Write simple and effective API tests using Apache HTTP Client

Vladimir Simonovski

Apache HTTP Client is a library that allows us to write HTTP requests. Not only that we can use all the available HTTP methods, but the HTTP Client library can also be used for SSL requests as well as user authentication methods and proxies. In this blog post, you will see how you can create HTTP requests using this library and we will execute each method against the web service. Now let’s try to create GET, POST, PUT and DELETE…

A beginner’s guide to writing powerful BDD tests using Rest Assured and Cucumber

Vladimir Simonovski

Organizations today tend to invest a lot of effort and resources in setting an API test automation strategy. Having a well-structured test automation framework allows for a better test regression suite and better quality product, enhancing the test coverage and reducing the manual repetitive test efforts. Since automation testing plays an important role in software testing, companies can determine which tool can suit them the most to achieve the above-mentioned. In this blog post, we are going to focus on…

How to use Lombok @Builder and @Data annotations to improve your automation test framework?

Vladimir Simonovski

When transforming your test cases into automation scripts, some general rules should be followed: code compiled and build, tests successfully passed, understandable flows, and smooth test structure. Many of today’s concepts, design patterns, and libraries help in achieving a stable automation test suite. Specifically, API automation testing at all testing levels is always relying on some of the popular libraries that can ease the process of writing scripts and understand the test flows. In this post, we are going to…

How to work with TestNG Parameterization & Parallelization?

Vladimir Simonovski

Since it’s creation, the JUnit inspired framework is constantly used across multiple projects and organizations. TestNG is a part of many automation testing strategies where different approaches and patterns are used. The open-source framework is not an extension of JUnit, since it is designed to be better than JUnit by eliminating limitations and adding the already existing features from JUnit plus much more features that allow more flexibility when writing a structured test automation framework. To list some of the…

JUnit Parameterization & Parallelization: A great way to improve your test framework

Vladimir Simonovski

When it comes to writing functional API tests with JUnit, we strive to have a more structured and cleaner code that’s easy to understand, flexible to change and having reusable methods. If we can achieve the ones above, then we’re good to go right? Well, that is questionable, depending on the complexity and the scale of what needs to be covered in our automated tests as well as how many steps do we need to perform in order to have…