cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Up a VIRT to Test ESB Transformation

Community Leader

Setting Up a VIRT to Test ESB Transformation

Hi,

 

I know it's bad form to ask 'open questions' but despite this I'm hoping you can let this slide and provide a little guidance anyway.

 

My developers create apis that allow me to exercise various tests in soapui and now they want me to start creating VIRTs so they dont have to bother creating these apis anymore.

 

I want to see if I can create a VIRT that will support testing ESB transformations (json to XML, json to json etc.) and I know from my reading (Web Services Testing with SoapUI.pdf and soap.org help) it can be done - but I don't know where to start really and I was hoping that you guys might be able to point me to some resources I can read to get me started?

 

Many thanks to any help/guidance anyone can provide and again - apologies for the 'open question'

 

Cheers,

 

richie

2 REPLIES
Moderator

Re: Setting Up a VIRT to Test ESB Transformation

Hi richie,

 

Please see the following article about scripting in ServiceV: Virtual Service Scripting.

And the following articles which could help you with the transformation:

Converting XML to JSON in Groovy: https://stackoverflow.com/questions/18830248/converting-xml-to-json-in-groovy

Processing XML: http://groovy-lang.org/processing-xml.html

Parsing and producing JSON: http://groovy-lang.org/json.html

 

Anastasia
Customer Care Team


Highlighted
Community Leader

Re: Setting Up a VIRT to Test ESB Transformation

thank you - I'll start reading up!

 

richie

Top Kudoed Authors
Are You In?

Meet the Community Leaders!

SmartBear Connect is an excellent opportunity for training, in-person support, and networking.

GET YOUR TICKET WITH $100 OFF