automation

Introduction to Zucchini

If you are familiar with a test framework Cucumber, you need to know that there's a new kid on the block by the name of Zucchini. Zucchini has been developed by brilliant engineers at Comcast Silicon Valley Innovation Center. Essentially, it is a wrapper around Cucumber JVM with some extra nifty features. The two that come to mind are:

  • Test Contexts
  • Mutithreading

In this post, I'll explain what above features are and will walk you through on how to get started using this great framework.

Howto: Use JSON String as a Data Source in SoapUI

So, recently I had to create a test case in SoapUI that would be calling a single endpoint multiple times. The only difference between each execution is the value of an argument that is being passed in. The caveat was that I had a to call another endpoint which would give me a JSON with values that needed to be checked. I figured that the best way would be get JSON response from the first test step and create a DataSource Groovy step that would parse that JSON and iterate over the results. So, here is my DataSource Groovy step that made it all possible: