[Webtest] Grails Plugin - HTTPS
David C. Hicks
David C. Hicks" <email@example.com
Tue, 19 Aug 2008 12:49:10 -0400
I had gotten a similar reply from Lee Butts on the Grails list,
yesterday evening. If I can make it work and do it in a "clean" way,
I'll submit a patch to the plugin to include that functionality for others.
Peter Ledbrook wrote:
>> I posted this question on the Grails list, too, but so far there are no
>> responses. I thought I'd give it a whirl here.
>> Does anyone know how I can really get the Grails plugin to launch WebTest
>> using the proper protocol? I already have:
>> webtest_protocol = https
>> in my webtest.properties file.
> You'll need to patch RunWebtest.groovy so that it includes
> "RunAppHttps.groovy" rather than "RunApp.groovy" and invokes the
> "runAppHttps" target rather than "runApp". The advantage of including
> "RunAppHttps.groovy" is that you can invoke either target, so you
> could call one or the other based on some condition.
> To be honest, the Grails scripts could do with a bit of refactoring to
> make it a bit easier to re-use targets from other scripts.
> WebTest mailing list