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.

POST data to a PVA

reactancexl
reactancexl Posts: 160

I think I know the answer but will ask the question to make sure. Is it possible to POST / Insert data into a PVA? If the normal flow is to insert data into a DB, is there a way to insert it into a PVA? A possible use case would be not to taint the DB will dummy data and send it to the PVA instead. thx

Tagged:

Comments

  • Thomas Moore
    Thomas Moore Posts: 82 admin

    Hi reactancexl,

    Yes, this is possible, but not knowing the context for it I'll provide two ways of doing so.

    First, I am assuming you want to do this from the REST API (please correct me if I'm wrong) so for reference I would use either
    http://<host>:<port>/soavirt/api#!/messageResponders/messageResponderPUT
    to update an existing responder or
    http://<host>:<port>/soavirt/api#!/messageResponders/messageResponderPOST
    to create a new responder within the pva.

    Otherwise, are you sending a POST request into the virtual asset for use later? If this is the case, I would utilize responder suite variables to save values temporarily using a databank.

    Hope this helps!