Forum Discussion

IDT_vcarluccio's avatar
IDT_vcarluccio
Occasional Contributor
8 years ago

Condition GoTo When I have JSon not XML

From what I've read so far is seems like you need an XPath to use the Conditional GoTO but I do not have and XML information, I only have Json. Is there a way for me to still use a Conditional GoTo without having an XPath or will we have to rework our entire system to output XML information, which may be out of the question? 

1 Reply

  • insert one groovy script test step and then write while-loop or if-else. 

     

    1: run one endpoint

    (new test step)2 Groovy script to check the response data, 

    3 run another endpoint