[ http://webtest-community.canoo.com/jira/browse/WT-553?page=all ]
     
Marc Guillemot closed WT-553:
-----------------------------

    Resolution: Invalid
     Assign To: Marc Guillemot

invoke *does* already accept file://

> Allow input for testing not solely from website but also from file. Allows 
> validation of e.g. source code
> ---------------------------------------------------------------------------------------------------------
>
>          Key: WT-553
>          URL: http://webtest-community.canoo.com/jira/browse/WT-553
>      Project: WebTest
>         Type: New Feature

>  Environment: Linux, W2K3
>     Reporter: Guido Leenders
>     Assignee: Marc Guillemot

>
> I am posting as an issue this since the mailing list is not providing 
> feedback.
> Functional goal:
> Allow testing source code in XML format against various XPath conditions.
> Case:
> We use a development engine that uses XML files to store the specifications. 
> New developers sometimes do not follow all coding conventions, and we want to 
> be able to test those in the daily test run too.
> Webtest is already in use, but currently the verifyXPath condition solely 
> works on the output of an <invoke>. Invoke can only address http: so the 
> source code must be published to allow verification.
> Example:
> Find all table from database that have no filter on them. This can cause 
> runaway queries.
> XML:
> ...
>               <Record id="31" sourceType="Table" urlType="Relative" 
> secured="False" allowInsert="False" allowUpdate="True" allowDelete="False" 
> validateData="True" preserveParameters="GET" returnValueType="Number" 
> returnValueTypeForDelete="Number" returnValueTypeForInsert="Number" 
> returnValueTypeForUpdate="Number" connection="bubs_tomcat" 
> name="BUBS_INSTELLINGEN_V" dataSource="BUBS_INSTELLINGEN_V" 
> errorSummator="Error" wizardCaption="Toevoegen/Wijzigen BUBS INSTELLINGEN V " 
> wizardTheme="bubs" wizardThemeType="File" wizardFormMethod="post" 
> returnPage="bubs_isg_all.ccp" PathID="BUBS_INSTELLINGEN_V" 
> pasteActions="pasteActions">
>                       <TableParameters>
>                       </TableParameters>
> ...
> XPath:
> //gr...@datasource]/TableParameters[not(*)]|//reco...@datasource]/TableParameters[not(*)]
>  
> Suggested approach:
> Change <invoke> to allow URLs in the format 'file:...'
> Foreseen impact on other steps:
> - Following links or downloading resources must use 'file:' to access related 
> files.
> - Rest should keep working, since solely the transport protocol changes (file 
> versus http).
> Please let me know whether this change may be made and can be integrated into 
> the main source code line.

-- 
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