5. Create a test script from uploaded script

Upload a Selenium script to create a script test that tests the availability and performance of your web app in response to simulated user behavior.

Script tests require Selenium scripts to work. To create a script test, you must first create a Selenium script. For more information about creating Selenium scripts, see “Recording synthetic scripts” (IBM Knowledge Center). After you have created a script, continue with the steps below to create an Availability Monitoring test with the script. Optionally, you may skip creating the script and the rest of the steps of this section.

  1. If you are viewing the Monitoring Tab, click Add New Test.
  2. ClickScripted Behavioron the Monitoring Setup page. The Scripted Behavior Setup page is displayed.
  3. ClickUpload File.
  4. Enter a meaningful name for your test in the Name field.
  5. Add a description of the purpose of your test to the Description field.
  6. Click Browse to find and upload a script file.
  7. Click Next to configure your test settings.

    A summary of the test configuration is displayed. For example, the following message is displayed for the default settings:

    Test will occur: Every 15 minutes from 3 locations simultaneously to determine if test exceeds 5 seconds.

    The estimated usage and estimated number of tests per month are displayed based on your current test configuration.

  8. In the Settings pane, click Edit to display the current settings for your test.
    You can change the interval of the tests, the testing frequency, the threshold response times for the critical and warning thresholds, and the locations where the tests are sent from.

  9. ClickFinish.
    The Availability Monitoring dashboard displays a summary of all your tests, a map and table that display the severity and location of your alerts, all synthetic tests that are associated with your app, a table of your activities, and a line graph that depicts the response time and availability of your app and other websites.