Forum Discussion
nmrao
10 years agoCommunity Hero
Do you need to extract a value from json? Is that what it is ?
yves_brulotte
10 years agoOccasional Contributor
Yes, the result of the first json call is a price: in example 1500$ and there is a charge not yet summarized in it ( example 200$)
in the next call i need to pass 1700$ in it, so i need to sum(1500,200)
- yves_brulotte10 years agoOccasional Contributor
Anybody have a clue ?
- nmrao10 years agoCommunity HeroCheck this example (you can try it in groovy script) - how to read values from json.
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/AssertJsonArrayElement.groovy
You will be able to apply it to your response.