RE: xml post
Status: Alpha
Brought to you by:
coroberti
From: Matt L. <mat...@av...> - 2008-11-04 10:40:09
|
That works! Thank you for your help, I am now happily load testing. From: Robert Iakobashvili [mailto:cor...@gm...] Sent: Saturday, November 01, 2008 3:17 PM To: curl-loader-devel Subject: Re: xml post I got it. Let's use the workaround as recommended by Alex. Please, try the following: 1. Either checkout the latest version of curl-loader subversion or use the files attached; 2. Configuration: URL=http://192.168.2.56/nomadesk/index.phpTask?Navigator::Task=ReceiveMe ssage URL_SHORT_NAME="Poll" TIMER_URL_COMPLETION = 5000 TIMER_AFTER_URL_SLEEP = 5000 REQUEST_TYPE=POST FORM_USAGE_TYPE= AS_IS FORM_STRING=<Poll><Accounts><Account><AccountName>nmua000014</AccountNam e><Password>aventiv23</Password></Account></Accounts><LocationID>bf42425 f-fcef-4ea3-aaab-199120138cb3</LocationID><ClientVersion>2.6.0.13</Clien tVersion><CreationTstamp>10/28/2008 7:00:30 AM</CreationTstamp></Poll> FORM_STRING should be a single line, containing your XML file content without any newline symbols, because it is read as a single line by fgets. The length is limited at 8K, by you can increase it at parse_conf.c by increasing the buffer size here: char fgets_buff[1024*8]; Give it a try! Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |