I have a requirement wherein I have to test VXML code using java or be it any interface like JMeter or SOAPUI. The code contains servlets where the request comes in first, data is processed and validated, and then it is forwarded to jsp. Over there vxml is generated and response in pushed into it. Generation of vxml in jsp is during runtime.

I tried using mockito (for mocking few classes response )and JUnit to test each API(servlet) but there are dependencies on the DB. The API is unable to proceed further and it fails(tried this locally). The requirement in testing two similar vxml files that is generated as API response in two different environments and validating whether these two vxml files are equal or not. Also tried comparing xmls using java but that was not sufficient and validation was incomplete. I am looking out for open source approach rather than going for paid tools like cyara etc.. Any suggestions or help is greatly appreciated.!! Thanks.

0 Answers