Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am analyzing automation design for a web app

  • UI Layer
  • Web Service Layer
  • DB Layer

Intranet based app and limited user base

My Approach for automation is

  • Web Services layer Test automation
  • Similate UI workflows with web services.
  • I'm planning to cover 70% of automation with web services workflows
  • Remaining 30% of End to End user scenarios from UI, UI Elements displayed, Web Service o/p to UI layer output Compared

Tools I'm planning to leverage

  • SOAP UI for web services / Data Driven Testing
  • Selenium for UI Layer verification


  • Can SOAP UI be used to test work flows. Output of one web service passed as input to another web service ?
  • I would like to know comments / feedback to apply best practices for this approach
  • Testing can be performed From UI Results to Web Service output and check are they mapped correctly. In this case as well when web services functionality is core, Result mapping is the only check. I'm hoping verifying fields, values and running basic P1 cases at UI Layer would cover it. Any comments ?

Thanks in advance

share|improve this question
up vote 5 down vote accepted

SoapUI can be used to verify workflows, but so far, I've only been able to get it to work when they are ordered correctly. I've since discovered that it was much to write these tests programmatically (C#, Java). This allows for you to customize your workflow to how you need.

For your third question, although typically you would want to run it as an integration test, you could use the following scenario:

  1. Have UI automation enter data into required inputs.
  2. After submitting data (BDD may not be a good fit for this), pass same data to test method which tests your webservice
  3. Validate repsonse from web service
  4. Validate response from UI

This would be much better suited however to two seperate tests using the same data.

share|improve this answer
Thanks Lyndon. It seems Fine. – Siva Jul 11 '11 at 1:53
Upvote as I was gonna suggest writing the tests programmatically. Although I was going to suggest in Ruby, but that may be just my personal prejudice. ;) – sean_robbins Sep 2 '11 at 23:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.