David Demmer - 2004-04-08

Is there a way to get a specific parameter value from a WebResponse's url? I am able to get a query string with multiple parameters and I could work with this by setting up a hash map, but I was looking for a more specific way of obtaining each parameter value. For example:

String url = resp.getURL().toString();
// return string url = http://test1:7001/slm/desktops/project.portal?_nfpb=true&_pageLabel=planSummary&selectedIteration=4661

I can get the query string with all the parameters from the URL object, but not as individual parameters. Is there a method I could use in HTTPUnit for this?

Thanks,
David