Service Virtualization

 View Only
  • 1.  Extraction of Values from URI

    Posted Feb 05, 2020 09:14 AM
    ​I have below services which is calculating simple interest. Need to extract the values from the URI given below.
    This values depends on the user and it has be extracted, calculated and revert the calculated amount.

    http://ilch-d346741:9001/demo/interest/10000/36/36

    Need to extract values 10000, 36 and 36 from the above URL.

    Regards,
    Kopresh


  • 2.  RE: Extraction of Values from URI
    Best Answer

    Broadcom Employee
    Posted Feb 05, 2020 09:24 AM
    Hi Kopresh,

    You want to extract valuest intoa VS or into filters in a test case.
    . For VS, you can use REST DPH, which can automatically create arguments. If not you can do it during the recording or after creating the VS manually.
    . For Test case you can use one available filters and capture the values.
    . You can share your Testcase/VSM/VSI files and I can help you or open a support case and we can look at it in WebEx. 

    -Prema


  • 3.  RE: Extraction of Values from URI

    Broadcom Employee
    Posted Feb 05, 2020 09:25 AM
    REST DPH documentation is available at https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/using/using-service-virtualization/using-devtest-portal-with-service-virtualization/rest-data-protocol-handler.html.