Learning which Data is Transmitted Through an Endpoint

Use the LEARNING tab of the SERVICE VIRTUALIZATION user interface to learn which data is transmitted through selected endpoints in a web application.

Before you can learn which data is transmitted through endpoints, discover the endpoints. For additional information, see Discovering the Endpoints in your Application Under Test.

  1. Click the drop-down arrow next to the Silk Test toolbar icon Toolbar icon and choose Service Virtualization. The Service Virtualization user interface appears.
  2. Select the LEARNING tab.
  3. Type a name for the new scenario into the Scenario Name field. For example, type ChangePopularProdutName. Silk4J saves new scenarios in the Scenarios subfolder of the project.
    Tip: In addition to the capabilities provided in the Silk4J UI, you can use the svlab.properties file to configure some settings for service virtualization, for example the outbound proxy server that is used to connect to the web. The file is located in the Silk Test application data directory, under %APPDATA%/Silk/SilkTest/conf/.
  4. Select at least one endpoint from the Endpoints field or manually add an endpoint by typing it into the Add Endpoint field.
  5. Click LEARN. Silk4J starts the proxy that is displayed in the PROXY URL field.
  6. Open the browser against which you want to test the AUT. For example, open Mozilla Firefox.
  7. Ensure that the proxy that is displayed in the Proxy URL field is configured for the browser.
  8. Ensure that the browser has not cached any data about the AUT.
  9. Perform some actions in the AUT to ensure data is saved to the scenario. For example, click POPULAR ITEMS in the demo application (http://www.advantageonlineshopping.com).
  10. Click SIMULATE to continue simulating the data that is transmitted through the selected endpoints. For additional information, see Simulating Data for Selected Endpoints.