Performance Testing

Load testing with silkperformer: An overview

  1. Click Find Next or Find Previous on the Step through TrueLog dialog box to browse through all WebPageSubmit calls in the TrueLog (these are the calls that are candidates for user-data customization).
  2. Note: Highlighted HTML controls in Post Data view identify form fields that can be customized.
  3. On the Post Data page, right-click the form control that you want to customize and choose Customize Value. You can replace the recorded values with various types of input data (including predefined values from files and generic random values) and generate code into your test script that substitutes recorded input data with your customizations. The Parameter Wizard opens.
  4. With the Parameter Wizard you can modify script values in two ways:
  5. Use an existing parameter that is defined in the dclparam or dclrand sections of your script.
  6. Create a new parameter based on a new constant value, random variable, or values in a multi-column data file.
  7. After you create a new parameter, that parameter is added to the existing parameters and is available for further customizations.
  8. Click the Create new parameter option button and then click Next to create a new parameter. The Create New Parameter page opens.
  9. Click the Parameter from Random Variable option button and then click Next. The Random Variable page opens.
  10. From the list box, select the type of random variable that you want to insert into your test script and then click Next. A brief description of the selected variable type appears in the lower window. The Name the variable and specify its attributes page opens.
  11. Enter a name for the variable in the Name text box.
  12. Specify whether the values should be called in Random or Sequential order. The Strings from file random variable type generates data strings that can either be selected randomly or sequentially from a specified file.
  13. In the File group box, select a preconfigured data source from the Name list box and then click next. The Choose the kind of usage page displays.
  14. Specify the new random value to use by selecting one of the following choices:
  15. Per usage
  16. Per transaction
  17. Per test
  18. Click Finish. Your test script now uses the random variable for the given form field in place of the recorded value. The new random variable function appears on the BDL page.
  19. Initiate a Try Script run with the random variable function in your test script to confirm that the script runs without error.

Leave a Reply

Your email address will not be published. Required fields are marked *