Web performance testing“Your load testing solution”

LOGIN OR REGISTER
  • Performance testing
  • AgileLoad Features
  • Signup & Download
  • Learning Center
  • Online store
  • Support forum
  • Video center
  • pci

Getting started

  • Introduction
  • Capturing your first script
  • Script Editor
  • Videos
    • Run your first test
    • Capturing the Script

Advanced tutorials

  • Proxy recording mode
    • Recording in proxy mode
    • Recording with another browser or client program
    • Chaining Proxy
    • SSL/Client Certificate
  • Data driven tutorial
    • Extracting Data via ODBC
    • Using Data in a Script
    • Making a Script Data Driven
  • Modular Transactions
    • Modular Scenarios
    • Modular Scripts
  • Data Extraction & Parsing
    • Extract data from the script
  • Script Parametrisation
    • Performance test script parametrisation
    • Manual Script Parameterisation in AgileLoad
  • Script Automatic Parametrisation
    • Teaching Agileload
    • Parametrising Dynamic Data
    • Automatic script parametrization setup
  • Check Tutorial
    • Add check in script
    • Validate your check
    • Check Events and Statistics in Test
    • Check Details Option in Test
  • Mobile load test
    • Capturing a script from a mobile device
    • AgileLoad Mobile Capture
  • Videos
    • Data generation
    • Choosing a random link
    • Add Transaction Loop Boundaries
User manual
  • Script Editor
  • SCL Language

Buy Virtual users

Using Data in a Script

  • Learning Center/
  • Test Scenario Creation/
  • Advanced Tutorials/
  • Data driven tutorial/
  • Using Data in a Script

Now that we have our data bank we need to be able to reference it in a script. Typically login will be done at the application level and therefore handled by a login form. Internal intranet applications may use some kind of Single Sign On (SSO), AgileLoad can handle this. Please search the help section for the SetAuthentication() function. This supports Basic Authentication, Negotiate Authentication, Kerberos & NTLM (NT LAN Manager).

To change a variable with the AgileLoad GUI use the story board to navigate to the request where the login credentials are sent, alternatively if you know where that is in the script place the cursor on the request (SUBMIT) and click the Record Request Details button on the toolbar. You will see a yellow arrow appear in the left hand margin of the script.

Using the HTTP Data section (to the right) click on the Client tab (in the middle of this section) to see the request data, to change this click on the parameter you wish to change (‘login’ here) and use the control at the bottom of the screen to switch from Value to Variable. Choose the variable name and click Apple Changes. You will see that the new value in the grid has changed to the variable name and that the script has been changed to reference the variable itself.

Now you are ready to test your script, the best way to do this is to execute it and analyse the replay differences. Use the client tab in the replay differences screen to check that a different user name has been sent and that the response from that request is as expected.

Print this page  -  Go to top of page
  • How to start
  • Test Scenario Creation
  • Test Setup & Run
  • Reporting & Analysis
  • Exercises