First of all, thanks for "flood". It's a great piece of software which is helping me a lot. I'm trying to use the dynamic variables feature, and keep running into problems. I put together a sample file based on examples/round-robin-dynamic.xml, with the following URLList:

 <urllist>
   <name>Test Hosts</name>
   <description>A bunch of hosts we want to hit</description>
   <url method="GET" responsetemplate="&lt;A HREF=([^ ]*) "
responsename="ALink">http://www.google
.com/search?q=checks+cashed</url>
   <url method="GET"  requesttemplate="${ALink}"/>
 </urllist>


The output I get is:

1071764663989897 1071764664159057 1071764664159105 1071764664857261 107176466485
7306 OK 1026 http://www.google.com/search?q=checks+cashed
Segmentation fault (core dumped)


I suspect the segmentation fault is because '${Alink}' isn't actuailly replaced with anything. For example, if I add a line:

<url method="GET" requesttemplate="http://www.google.com/search?q=${ALink}"/>

and run the program, the output is:
1071764992203937 1071764992267897 1071764992267943 1071764992811490 1071764992811545 OK 1026 http://www.google.com/search?q=checks+cashed
1071764992811774 1071764992873755 1071764992873769 1071764993232564 1071764993232589 OK 1026 http://www.google.com/search?q=${ALink}


It seems like if it was really substituing into the template string, then ${ALink} would be replaced with nothing.

Any ideas?  Maybe I configured something wrong?

Thanks

_________________________________________________________________
Working moms: Find helpful tips here on managing kids, home, work — and yourself. http://special.msn.com/msnbc/workingmom.armx




Reply via email to