We do this quite often. Just pass a HashMap<String, String> to your fixture
method and
wrap those values in a fake HttpRequest. Works great.
Here's an artificial example:
--------------
!define authInfo {
|username|joe|
|password|abc|
}
|User|
|logs in with|${authInfo}|
|and views greeting|Welcome, Joe!|
--------------
public class User extends DoFixture {
public boolean logsInWith(HashMap<String, String> values) {
...
}
public String andViewsGreeting() {
...
}
}
--------------
--- In fitnesse@yahoogroups.com, "ryan.hoegg" <ryan.hoegg.yahoo@...> wrote:
>
> You could do it in your fixture code. I saw one project
> (rest-fixture) which intends to do this for RESTful web services.
>
> http://code.google.com/p/rest-fixture/
>
> If you instead want to drive usage of a web site or web app, look at
> selenium grid.
>
> http://selenium-grid.seleniumhq.org/
>
> If these don't look interesting, can you be more specific about what
> you want to do over HTTP?
>
> --
> Ryan Hoegg
> Valtech
>
>
> --- In fitnesse@yahoogroups.com, david sam <david_j_sam@> wrote:
> >
> > What is the easiest way to do an HTTP call from your test . I mean
> is there a fixture or a plugin what we can use .
> >
> > I dont know if we can use the Response Requester.
> >
> > Thanks
> > David
> >
>