Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click the Virtual Asset Explorer tab (if it's not already open, go to Parasoft > Show View > Virtual Asset Explorer) and open the /VirtualAssets/generated_by_data_learning directory.
  2. Expand the my-virtual-asset.pva found there. You should see a Request / Response Files responder that was automatically generated.
  3. Click the Project Explorer tab (if it's not already open, go to Parasoft > Show View > Project Explorer) and open the /VirtualAssets/generated_by_data_learning/my-virtual-asset_files/data_learning directory. You should see some traffic files that have been generated. These will be used to match incoming messages.

...

Open a browser and go to http://localhost:9088/parabank/services/bank/customers/12212/accounts. That's enough to create the necessary directories necessary directories and start storing data, with a Request/Response Files responder in the Virtual Asset Explorer

...

and traffic files in the Project Explorer.

Point the Message Proxy to the Virtual Asset Endpoint

...

With this configuration, traffic will be routed to the Virtual Asset before the live service. If the asset fails to match an incoming request against the generated traffic files, the proxy will fall back to the live service and will generate new traffic files for the new learned data. For more information on the request items considered for correlation and data retention options, refer to Request/Response Files Options.