You can quickly create and populate a data repository from arequest payload, which provides enables you to structure the data in the repository to match your scenarios. In order to use the functionality described in this topic, you should have access to traffic. See About the Data Repository for additional information.

  1. Create a message responder, such as a JSON or SOAP Responder, and click the Response tab.
  2.  Set the Input mode to Literal and enter your well-formed traffic.
  3. Switch the Input mode to the form matching your response traffic. For example, if your traffic is JSON, switch to Form JSON. Choose Yes if you are prompted to replace the content in the form view with the content from the literal view.
  4. Right-click the root node and choose Generate Data Repository Data Source.
  5. Complete the following fields when prompted:

  6. Click OK.

The new data repository will be created, structured, and populated with data from the response traffic.