I'm writing a small load testing script for a XML service we provide but am
running into some very strange problems with CFHTTP.


Basically I have code like the following:


<cfloop query="getVehicles">

<cfxml variable="myXmlStr_object">
  <cfoutput>
        ...some XML
  </cfoutput>
</cfxml>
  
<cfhttp url="" http://www.myserver.com/control.cfm
<http://www.myserver.com/control.cfm> " method="post">
  <cfhttpparam type="url" name="xml"
value="#trim(ToString(myXmlStr_object))#">
</cfhttp>

</cfloop>


which, when running it for a single event works perfectly.  However, when I
start to load more than one request into it different things happen.  The
first request always goes through first time, but all subsequent requests do
not appear to be sending the "XML" formfield through ("XML" comes up as
completely undefined in the service, so it's not a blank string).


Has anyone come across this before?  Is there a way round it?


Neil

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to