How to run javascript in Jmeter

There are times we need to do performance test on web pages which have some fields with javascript code. E.g. a field timestamp with behind the scenes javascript as seen below function generateTime() { d = new Date(); d.YYYYMMDD(); document.getElementById('atime').value = d.YYYYMMDD(); } There are three ways to include and execute Javascript in Jmeter : Using … Continue reading How to run javascript in Jmeter

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)

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