Service Virtualization

Expand all | Collapse all

create test suite from the recorded Http traffic

Jump to Best Answer
  • 1.  create test suite from the recorded Http traffic

    Posted 02-11-2020 12:00 PM
    Hi All,

    Just trying to find out if there is any option to create test cases or test suites from the recorded http traffic. I could think of other options like adding a script to capture the request/response into a file and use the file to create the virtual services.

    Is there any direct option available from the recorded traffic itself. I believe Application Insight has the ability to do so but I don't have an option to configure the same. Any thoughts would be of great help.


    ------------------------------
    Regards,
    Shivakumar.
    ------------------------------


  • 2.  RE: create test suite from the recorded Http traffic
    Best Answer

    Posted 02-12-2020 02:57 AM
    Hi Shiva
                There is a very simple way to do this. Please create virtual service from PORTAL using the request/response pairs that you have captured. The last screen in the wizard has an option to 'Create Baseline Tests'. If you select this option, you would find test cases automatically created for your Virtual Service.

    image.png

    Baseline tests can be found in the project in workstation as shown below under a folder called "Baselines".

    image.png




    regards
    Sankar Natarajan





  • 3.  RE: create test suite from the recorded Http traffic

    Posted 02-12-2020 04:29 AM
    Thanks Sankar. Will try that out.

    Regards,
    Shivakumar.