Datadriven properties when running Webtest in Parallel
------------------------------------------------------

         Key: WT-492
         URL: http://webtest-community.canoo.com/jira/browse/WT-492
     Project: WebTest
        Type: Bug

    Versions: Future versions    
    Reporter: John Spann


Due to datadriven properties being defined as Inherited Ant Properties, 
datadriven properties are not thread safe nor do they properly work if wrapped 
outside of a webtest as described in the webtest manual.

For instance, in the following example (taken from the manual: 
http://webtest.canoo.com/webtest/manual/dataDriven.html), all webtests created 
will run using the last row in the excel spreadsheet:

<dataDriven tableContainer="simple.xls">
  <webtest name="Register ${FirstName} ${LastName}">
    ... go to registration page ...
    <setInputField forLabel="First name" value="${FirstName}"/>
    <setInputField forLabel="Last name" value="${LastName}"/>
    <clickButton label="Register"/>
    <verifyText text="${FirstName} ${LastName} has been registered"/>
  </webtest>
</dataDriven>

In order to complete parallel support, datadriven properties need to be tied 
into each WebtestTask, possibly through the ThreadLocal context similar to the 
current Dynamic Properties implementation.   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to