Service Virtualization

  • 1.  Simple Lisa Use Case

    Posted May 29, 2013 10:19 PM
    Folks,
    We are virtualising a service using Lisa that consumes a XML message from a JMS queue and based on its content, generates N new JMS messages back to another queue.
    That is already working but we are generating a fixed number of response JMS messages, ignoring the XML content - now I have to treat the XML, identifying the number of entries under a certain path, and for each entry I have to generate one response JMS message.
    What is being used today to set the response JMS message details is a JavaScript Step - I'm wondering if is there a easier way to parse that XML file, identify all the entries under that path and set Lisa Variables to be used by a future step as the JMS messages content.
    Any thoughts?

    Regards,
    Alexandre