Service Virtualization

Expand all | Collapse all

CA LISA 7.5.1 Data Driven Virtual Services

  • 1.  CA LISA 7.5.1 Data Driven Virtual Services

    Posted 12-10-2015 05:38 PM

    Hi,

     

    I have seen a lot of posts in the DevTest world regarding data driven virtual services. Unfortunately I am still on version 7.5.1 and need a solution that will use a query response from a  SQL Server table to drive my request and response messages in a virtual service.

     

    Does anyone have any experience in setting this up using LISA 7.5.1?

     

    How can we use the data from the database in the request and response message. One request could have multiple data driven responses.

     

    eg.

    Request - customer number with credit cards query from DB

    <customerNumber>******</customerNumber>

     

    Response - this structure below could change depending on how many credit cards the customer may have from data source

    <creditCards>

    <creditCard>DBCCData1</creditCard>

    <creditCard>DBCCData2</creditcard>

    <creditCard>DBCCData3</creditcard>

    </creditCards>

     

    Any help would be much appreciated.

     

    Thanks,

     

     

    Sunil



  • 2.  Re: CA LISA 7.5.1 Data Driven Virtual Services

    Posted 12-11-2015 01:19 AM

    You can try putting Java script code and read a file from Excel sheet ,which you can use it in your test.



  • 3.  Re: CA LISA 7.5.1 Data Driven Virtual Services

    Posted 12-11-2015 09:02 AM

    The specified item was not found.