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.

How do I create a Rest VirtualAssets?

Options
Senthil
Senthil Posts: 27
edited October 2019 in Virtualize

Hi All,
I would like to create a Rest VirtualAssets which is of JSON (Req/Res), If I give the below EndPoint,
https://fraud.esm-n.npe.integration.cld/api/fraud/v1/assess-app it throws an error, So I partially gave the End Point "/api/fraud/v1/assess-app" and it got created. but in the message responder correlation, I am unable add the condition. Could you please help me in getting this resolved.

Steps:

  1. Right clicked on VirtualAssets--> Add New --> Virtual Assests(.PVA) File.
  2. Enter the File Name.
  3. Selected Rest --> RAML --> Next.
  4. Gave the Endpoint as https://fraud.esm-n.npe.integration.cld/api/fraud/v1/assess-app.
  5. Clicked on finish.
  6. Throws an error.

  7. Right clicked on VirtualAssets--> Add New --> Virtual Assests(.PVA) File.

  8. Enter the File Name.
  9. Selected Rest --> Swagger --> Next.
  10. Gave the Endpoint as https://fraud.esm-n.npe.integration.cld/api/fraud/v1/assess-app.
  11. Clicked on finish.
  12. Throws an error.

Thanks
Senthil kumar. M

Comments

  • williammccusker
    williammccusker Posts: 645 ✭✭✭
    Options

    Hi,
    Could you please attach the RAML file you are trying to use?

  • benken_parasoft
    benken_parasoft Posts: 1,232 ✭✭✭
    Options

    Gave the Endpoint as

    You must provide the location of the RAML document, not the endpoint for your API.