Bits N Tricks

A platform to contribute to the best of our knowledge so someone else can be benefited.

Testing secured web service methods with SOAP UI 25Feb, 2016

Testing secured web service methods with SOAP UI

OVERVIEW Securing Web Service methods to protect them from malicious attackers, has been an indispensable part of SOA and web services for mobile applications. However, it also makes testing the web methods equally hard and unmanageable. I have been using SOAP UI for testing the web services of one of our mobile applications, where the web team has secured the REST web methods (PHP) using headers with encrypted values using HMAC hash and AES-256 algorithms. Here, I’ll share how we can use a groovy script (essentially Java code, for those who are not familiar with groovy) and property transfers in our SOAP UI test cases, automate test the secured web methods or anywhere you need to send the encrypted values…

Posted in: Testing
Filter Spam in Google Analytics 05Jan, 2016

Filter Spam in Google Analytics

Referrer traffic with 100% bounce rate in Google Analytics (GA) report is becoming a serious issue. This referrer traffic in the report is just a traffic stat not the actual traffic. This spam traffic affects the quality of analytics stats and alter website metrics, especially for website with fairly low traffic. Even in some cases this spam traffic stat affects the reputation of SEO agencies by creating a doubt in web owner’s mind against their SEO strategies that aim to promote their online business. So for the sake of Google Analytics traffic stats it becomes very important to handle these spam referrers. Some of the popular spam referrer are,, free-flo, Type of Spam in Google Analytics:  There are two type…

Posted in: SEO
Introduction to Jquery Mobile 17Nov, 2015

Introduction to Jquery Mobile

What Is jQuery Mobile? jQuery mobile is an open-source multi platform UI framework to create mobile apps. jQuery mobile is a cross platform framework basically used for mobile apps development using HTML5, CSS3, jQuery and jQuery UI. This framework is not only easy to use it is very robust, maintainable, and well organized. jQuery Mobile is a framework used to create mobile applications. jQuery Mobile is compatible with all desktop browsers and looks same on all mobile devices (Android, iOS and Windows Phone etc). jQuery Mobile is based on HTML5 & CSS3 to make the structure of the page with small amounts of scripting. Purpose of jQuery Mobile? jQuery Mobile helps you to get quick and good results with less…

DNN Installable Module 07Oct, 2015

DNN Installable Module

DNN Platform is an open source software that is intended to allow management of websites without much technical knowledge, and to be extensible through a large number of third-party apps to provide functionality not included in the DNN core modules. Skins can be used to change the look of a website using DNN. MODULES: The default functionality of DotNetNuke can be expanded by adding third-party modules, either from an existing library of modules, or through in-house development of custom functionality. The DotNetNuke framework provides basic functionality such as security, user administration, and content management, while modules are used to tailor the website for specific deployment needs. DNN Modules can be created by various ways but one of the most popular…

Posted in: Dot Net
Selenium Webdriver 27Aug, 2015

Selenium Webdriver

WebDriver is a tool for automating testing web applications and can be used for automating the interactions with browsers. As a tester its very difficult to perform regression repetitively for same test cases on different browsers. Delimma of the developers is that sometimes it is very time consuming to perform unit testing again and again on same thing. WebDriver is a magical sticktool that can save our time. Just write the test cases and run them through WebDriver. It will automatically open specified browser for you and run the test cases. It performs all the actions that you can do with your keyboard and mouse. Here we are discussing about Selenium Webdriver. You need to install language-specific client drivers to…

Posted in: Node JS
Implementing ACL In Cakephp 2.1 and Upper Versions 24Jun, 2015

Implementing ACL In Cakephp 2.1 and Upper Versions

Hello friends! Time and again the idea of using ACL to designate specific permissions for specific groups have dreaded most of us. This happens because of the ambiguous behaviour shown by ACL at times. Well, the behaviour we perceive as ambiguous is due to limited understanding of the process involved in its implementation. Today, while implementing the ACL second time I still had to verify everything closely to resolve the errors associated with permissions. Having said that, I decided to split the ACL implementation into steps. Let’s start :- Step 1: The first and foremost requirement without which the ACL implementation would be futile is not using auth. Therefore, presence of auth component in our application will always be a…

Posted in: Cakephp