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.
- Create a message responder, such as a JSON or SOAP Responder, and click the Response tab.
- Set the Input mode to Literal and enter your well-formed traffic.
- 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.
- Right-click the root node and choose Generate Data Repository Data Source.
- Complete the following fields when prompted:
- Server: The hostname or address of the data repository server.
- Port: The port number of the data repository server (default is
- Repository name: Specify a name of the repository to be generated. You can specify the name of an existing repository to update it with new data sets from the traffic.
- Username/Password: Specify the credentials, if necessary, to access the data repository server.
- Dataset name: Specify a name to use for the data set. If you specify the name of an existing data set in an existing repository, the new data set will replace the existing set.
- Record type name: Specify a name to describe the structure of records on this repository.
- Click OK.
The new data repository will be created, structured, and populated with data from the response traffic.