SoapUI with BDD (Cucumber)

Background Web Service is a way to publish your application over internet and enable other applications to access functions provided by it. With web service, one could reuse the existing applications, instead of developing the same application over and over again. For example, there are some typical web services such as currency conversion, weather reports, or … Continue reading SoapUI with BDD (Cucumber)

Advertisements

QA Automation Pipeline

Came across a E2E automation pipeline which uses these open source and leading frameworks : JUnit - a basic Java unit tests framework Serenity - the backbone of the automation framework that provides many useful features, like detailed reporting, parallel execution and tests grouping by tags REST Assured - a framework for REST API  tests Selenium - a framework … Continue reading QA Automation Pipeline

Security Testing using Selenium & ZAP

The OWASP Zed Attack Proxy (ZAP) is one of the world’s most popular free security tools and is actively maintained by hundreds of international volunteers*. It can help you automatically find security vulnerabilities in your web applications while you are developing and testing your applications. Its also a great tool for experienced pentesters to use … Continue reading Security Testing using Selenium & ZAP

How to give dynamic file name in the appender in log4j.xml

In log4j.xml define variable as ${variable}: Then make sure you set the system property when you start your JVM such as: java -Dlogfilename=my_filename example.Application That will create a dynamic log file name: my_filename.log Alternatively, you can set the system property in code so long as you do it before you create a logger (this is useful … Continue reading How to give dynamic file name in the appender in log4j.xml

Changing HTTP headers for a Selenium WebDriver request

There are two ways to tackle this : Using a Firefox browser extension that would modify the headers for you Using a reverse proxy, like the Browser Mob Proxy The BMP is complicated especially if you are behind a corporate proxy. So modify headers extension is the approach we can use. Loading the extension Just … Continue reading Changing HTTP headers for a Selenium WebDriver request