Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Is it possible to create the script for Virtualize?

sharmilad
sharmilad Posts: 2

Hi,

We are virtualizing the wsdl by recording the traffic and creating the .pva file.

Is there any way we can automate the whole process of recording, creating the .pva file and send the request, change the xml values autoamtically.

Thanks

Comments

  • williammccusker
    williammccusker Posts: 642 ✭✭✭

    Take a look at the rest api, it exposes a lot functionality that you could in a script. The swagger documentation for all our rest apis can be found at http://localhost:9080/soavirt/api/ and the specific resources to start looking at would be, /v5/messageProxies for recording, /v5/files/pvas/traffic to create from traffic and /v5/messageResponders for configuring the response.

  • sharmilad
    sharmilad Posts: 2

    I could not able to open the link http://localhost:9080/soavirt/api/ as it is local host.. Can you share the correct url?

  • [Deleted User]
    [Deleted User] Posts: 0 admin
    edited April 2017

    Localhost refers to your server. Virtualize has a built-in web service that you can use to do all sorts of things with the product programmatically. To use it you need to start up your server. To do this, open up your virtualize desktop application, go to the upper right corner and click on start server. Once the server starts up try the URL again it will take you to the Swagger documentation for the API.