Design the Virtual User

Create a new Virtual User in the current project. You are going to create one action for each RMI call, as this will allow you to retrieve access time statistics for each call.

  1. Place three "JavaScript" logical actions in the Virtual User. For example: "connect" ,"getStockQuoteUSD", and "getStockQuoteEur".
  2. Place a "Delay" action in between each JavaScript action.
  3. Modify the wait time for each delay. This must correspond to the time between the two calls in the simulated application.
  4. Replace the default code for each action. The JavaScript code for the three actions is as follows: