[ http://webtest-community.canoo.com/jira/browse/WT-504?page=all ]
Marc Guillemot closed WT-504:
-----------------------------
Fix Version: Future versions
Resolution: Fixed
Implemented in build 1746.
> WebTest groovy step should accept a closure as parameter when used in groovy
> ----------------------------------------------------------------------------
>
> Key: WT-504
> URL: http://webtest-community.canoo.com/jira/browse/WT-504
> Project: WebTest
> Type: New Feature
> Versions: 2.6
> Reporter: Marc Guillemot
> Assignee: Marc Guillemot
> Fix For: Future versions
>
> Things like following look really ugly:
> webtest(...)
> {
> ...
> groovy """
> println step.context.currentResponse.asXml()
> """
> ...
> }
> When used from groovy, WebTest groovy step should accept a closure as
> parameter and should be:
> webtest(...)
> {
> ...
> groovy {
> println step.context.currentResponse.asXml()
> }
> ...
> }
--
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