Service Virtualization

Attributes of XML tag and Matching

  • 1.  Attributes of XML tag and Matching

    Posted Jun 15, 2015 02:04 PM

    Suppose I have the following XML tag in a web service that retrieves work tickets recorded in the system:

     

    <readOnly getWorkTicket="123ABC" />

     

     

    and it spits out a response with the ticket info.

     

     

    I have tried making this into a web service in CA LISA via XML req/rsp pairs, it works. I can call it against the live endpoint that I set up when I switch the behavior off of most efficient. HOWEVER, when I go to put multiple req/rsp XML pairs that are all formatted the same way, but with different attributes within the tag for a new work ticket (like 456TFG) it completely disregards this. It acts like it doesn't even see the other requests I put into that folder. The matching script doesn't seem to care about what I put into the attribute's value either, it will always give me 1 response.

     

    What's the best way to get around this?