All about SOAP UI and Groovy in it

Archive for the ‘SOAP UI’ Category

Using Script Assertion in SOAP UI

Script assertion in SOAP UI helps the developer to immediately run some primary tests after the current messageExchange. It feels/sounds similar to Groovy Script test step but, in a lot ways it’s more handy. If say we want to validate on the response time and proceed further for succeeding test steps, it feels heavy to [...]

Operations with sql instance

Groovy provides very robust methods with sql instance to retrieve and manipulate the ResultSet.  There are methods for retrieving the first row,  the ResultSet of some sql query, directly executing insert/update/delete queries. Prerequisite: Obtain sql instance using import groovy.sql.Sql def sql = Sql.newInstance(dbpath, dbusr, dbpwd, dbdriver)   Below are some comprehensive examples which use the above sql instance. [...]

Property Transfer in SOAP UI

Property transfers become crucial steps in scenarios where validations are done mostly using derived data. Lets say after some Groovy script execution we end up setting a property value in Properties step while testing an application’s functionality. And most of the times we would be in need of the obtained result out of that groovy step. As [...]

Tag Cloud

Follow

Get every new post delivered to your Inbox.

Join 28 other followers