Tutorial 1: Create a service and simulation manually
In this walkthrough you will create a virtual product API using the editor that exposes two HTTP GET endpoints; one that returns a json product for a given Id, and one that returns a list of products.
Part 1. Setup the Simulation file with a GET product for a given productId Request/Response pair

{ "productId": "{{ Request.Path.[1] }}", "name": "Fund {{ randomStringLength 1 }}", "price": {{ randomFloatRange 1.0 50.0 }} }
Part 2. Setup the Service
Part 3. Add another GET Request/Response pair to the same simulation file to return all Products
Part 4. Update the master simulation with the local changes
Part 5. Remove the service and simulation
PreviousCreating simulations and servicesNextTutorial 2: Create a service and simulation by importing from a Swagger specification
Last updated




