Agile Testing, Automation, Automation Framework, Functional Testing, Quality Analyst, Services Testing, SoapUI, System Testing, Testing, Web Automation

SoapUI Tutorial Part 1 : A world-class tour to SoapUI PRO.

SoapUi PRO is a tool where in you just need to click on the actions available to you and you can make your imagination comes true.Services testing was never so easy before the make-believe fantancy of SoapUI PRO creators. I want to thank them before giving you a brief of the tool cum weapon as they say.

Why SoapUI?
SoapUi is a very powerfully built tool which is used for Services testing.

It is a tool which lets you take a world of clicks and when put to use, you can ease your life. More often than not, services testing is pondered as a tedious task as there are a lot of parameters, headers, requests, traffic, responses you need to take care of which can create chaos if not taken seriously.
Of-times , we spot developers providing a service which we as a tester needs to inquire into against various payloads, multiple threads,etc .

This looks doable when we are taking into consideration one service .But what if we have only developed services and testing needs to be done on services and there is no UI developed as of now for the product.
On that occasion , significantly tools like SoapUI comes into picture with vital requirement. And not only tester , developer can also get benefited from this tool. Lets see how can we use SoapUI:

  • First of all,there is some norms which you need to follow if you want to get familiar with SoapUI.

To add any request you need to follow a hierarchy :
Project → Test Suite → Test Case → Test Step.
And this test step will have the requests you want to fire and get response from.

Hierarchy

  • Next, you have some SetUp and TearDown scripts placed at different level of hirearchy and you can directly get advantage from them.

Project setup and teardown properties:

TestSuite_Setup_tearDown

Test suite setup and teardown properties:


TestCase_Setup_tearDown

Test case setup and teardown properties:

Test_Setup_tearDown

  • Features like events creation , databases connections ,etc can be done only on project level.Once you are down in hierarchy, say test case, then you can refer the parameters defined at project level or test suite level , but not from test step level . It follows top-down approach , in short.

project_level_prop

  • For adding new database connection ,via JDBC connection or as a JDBC test step, you need to import drivers and you can do it by adding the respective driver/jar in the soapui/ext folder where soapui is installed in your local machine.

 

  • For any change you want to incorporate in your tests you need to restart SoapUI. For example, you want to add some jars of say database like DB2 or posgres , then once you add it in /soapui/ext/ folder you need to restart SoapUI.{\Program Files\SmartBear\SoapUI-Pro-5.0.0\bin\ext\}

And thats how you can get a quick start boost-up for creating new tests in SoapUI.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s