???????????????????????????????????

????????????????????????????????????????????????????? 100??000??????????????????????????????????????????????????????????е??????????????????????????????????????? ???????????????????????????????????????????????????????????????е??????????????????????Щ????????漰?????????????????? I/O ???????2??????? CPU ??????á?

?????????????У??????????????????????????????????????????????????“????”??????????????????????????????????????????? I/O ?????????????????????е??????????????????????????????????????????????????????????д洢????????????????/д???????????????????????????????????Ч??????????????????????????

?????????????????????????????

??????????????????????????????????????????в?????????????????????? 100??000 ?????????????????????????????????????????????ε??????????????? ID??????????????????????? –

??????????????????

??????????????е??????????? username ??????????????????????磺username1??username2??username3??

????1??????????μ???????????????????????? Username1????? 1 ?????

????a????????????

????b????? Test Variables ??????????????

????c????? Test Variables ???????????г????????????????У??? Test Variables ????????? Add??

????d????? Variable Declaration ?????????????????μ???????

??????????????

????1??????????????????????????????????????????????嵥 1 ??е???????????????????е? exec ?????С?

?????嵥 1. ????????е? ????

publicString exec??ITestutionServices tes?? String[] args?? {

  /**
  * This code snippet obtains the previously used username for logging into the
    application and increments it by 1 to get the next username in the test data
  */

  String number = "";

  /**
  * The assumption here is that all usernames begin with the word - "Username" and
    has ""8"" characters in it.
  * Variable "number" is the value ""n"" for ""nth"" user or nth row of the data pool or can
    be also thought of as the ""nth"" iteration of the test
  */

 for??inti=0;i<????args[0].length??????-8??;i++??
  {
    number+=Character.toString??args[0].charAt??8+i????;
  }
 intnum = Integer.parseInt??number??;
  num++;

 return"Username"+Integer.toString??num??;

  /**
  * This returns the username appended with the next value of ""n"" in the ""nth"" iteration
  */
}