Posts

Showing posts from 2015

Simplified Test Automation Framework with Geb & Spock

Image
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra Simplified Test Automation with Geb This post is about the Geb & Spock (Groovy) automation framework which makes test automation extremely simple and powerful. It helps in jump starting the test automation with all the cutting edge automation features ready ... On using GEB & SPOCK framework, since beginning we are substantially far ahead compared to typical Selenium Webdriver Frameworks implemented in Java   which has some major issues and dilemmas as discussed below in detail: Using JAVA for TEST Automation…. 1 ).Java is verbose and very sophisticated and heavy language for the need of test automation .In short it is an overkill to use java for test automation. 2). But Java is Powerful!!!   On the other hand Java is extremely robust and powerful with tons of features like OOPS, which cannot be used/ implemented holistically i

Testing Webservice with SoapUI Having Windows Authentication

Sometims SoapUI doesn't seem to work directly with NTLM authentication, but you can use a proxy such as Burp Suite to do the auth for you. Following are the steps you can perform: Burp Suite Configuration     Download Burp Suite from http://portswigger.net/burp/ and set it up.     On Burp's "Proxy : Intercept" tab, click the button to turn intercept off.     On Burp's "Proxy : Options" tab, make sure it's set to an unused port, the default is 8081     On Burp's "Options" tab, tick "do www authentication" and add a setting for the server you wish to hit. Also tick "prompt for credentials on authentication failure"     Switch to Burp's "Proxy : History" tab so you can see requests going through. SoapUI Settings     In SoapUI, choose File > Preferences, then select "Proxy Settings". Enter Host "localhost" and port "8081".     Use SoapUI as normal. It will s