Service Virtualization

 View Only
  • 1.  Uploading Excel File to Data Folder

    Posted Sep 07, 2023 02:36 PM


    I have a usecase where we are trying to upload an excel file through a POST call and store it into the virtual service Data folder. 

    It is through the request body form-data 

    Have used the HTTPTransaction class getRequestContent() method but it returns some other data.

    Is there any way to take it directly from the request and put it into the data folder? 

  • 2.  RE: Uploading Excel File to Data Folder

    Broadcom Employee
    Posted Sep 20, 2023 08:06 AM
    Edited by Sunil Vishwakarma Sep 20, 2023 09:24 AM

    Hi Kazvin,

    May I know the DevTest version you are using?

    FYI: This can be achieved in DevTest 10.7.2 using V3 API (

    Service Virtualization API v3 Swagger URL=> http://<HOST>:1505/lisa-virtualize-invoke/api/v3/swagger-ui#/vses{vseName}services/updateService_1 

    Just provide details in the required fields and upload the file that needs to be copied to the virtual service Data folder.

    Please make sure, it would need to be configured to already use or read the Excel with this method.

    To help you better, please let us know the use case for this uploaded Excel file to the virtual service Data folder.

    Sunil Vishwakarma