Contributions
How to extract value from response, compare it, write result as pass/fail to csv with Groovy script?
Hi I am using SOAP UI 4.6.0 - I have a webservice (currency converter from webservicex.net) - I have a TestStep with request XML and a Groovy script. - The input values to the Request XML are passed from a csv file using a "Set Up Script" of the TestCase. - The Request XML is parameterized to fetch values from csv. - A Groovy script is used to Read next (line) set of values from csv until it reaches the end. Problem: How do I extract avalue from Response? After extracting a value from response I want to compare itwith a value passed from CSV file (expected value) and then write test result (pass/fail) to a new csv file? Where should I write script for 'Extract value from Response', 'Compare value in response with an expected value and write result'? Thanks in advance for your helpSolved6.1KViews0likes1Comment