Re: [appfuse-user] test framework for web services

2008-06-10 Thread Ben Avery
mraible wrote: > > > Your best bet is to use a name for them that can be uniquely > identified. Here's an example of how I did this with Selenium tests: > > http://raibledesigns.com/rd/entry/integrating_selenium_with_maven_2 > > Matt > hi Matt, that worked perfectly, thanks. The bit I hadn

Re: [appfuse-user] test framework for web services

2008-06-09 Thread Ben Avery
I'm also writing some tests for the web services I've deployed, but am struggling to get the tests running at the right point. I've written them as junit tests, but don't want them to run in the test lifecycle phase, but rather run during the integration-test phase, when the webapp is running via

Re: [appfuse-user] web service client.

2008-06-09 Thread Ben Avery
I've used the Spring Web Service client instead, where the class WebServiceTemplate does all the work. here's a basic test method using basic auth on a secured service. you'll probably want to check what comes back more thoroughly, I was just testing the security on it. public void testGetA