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

Analyzing JMeter Performance reports

 Parameters considered in JMeter Performance testing : CPU usage Memory usage - Memory leakages, thread leakage All queues and IO waits Bottlenecks - Memory, cache, process, processor, disk and network Network Usage - Bytes, packets, segments, frames received and sent per sec,   Bytes Total/sec, Current Bandwidth Connection Failures, Connections Active, failures at Network interface lever … Continue reading Analyzing JMeter Performance reports

Ubuntu – Password protect GRUB menu

We can achieve this by editing the configuration gksu gedit /etc/grub.d/00_header /etc/grub.d/30_os-prober Add this at the bottom of 00_header: cat << EOF set superusers="user1" password user1 password1 EOF That way the edits will be password protected, with that user and password. Now, let's protect the Windows entry. Open 30_os-prober and find this line: menuentry '$(echo "${LONGNAME} $onstr" | … Continue reading Ubuntu – Password protect GRUB menu

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