Re: HTTP Soap Post
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2007-10-04 06:44:37
|
Hi Huy, On 10/3/07, Huy Huynh <zac...@gm...> wrote: > I am trying to do an HTTP posting a SOAP file. Please, always report you problems using filled PROBLEM-REPORTING form, which is in curl-loader tarball. For example, I do not see the command line options, that you are running. Here is my conf file: > ########### GENERAL SECTION ################################ > BATCH_NAME= 20K > CLIENTS_NUM_MAX=100 > CLIENTS_NUM_START=1 > CLIENTS_RAMPUP_INC=2 > INTERFACE = eth2 > NETMASK=16 > IP_ADDR_MIN= 192.168.1.2 > IP_ADDR_MAX= 192.168.1.9 #Actually - this is for self-control So, you have 7 ip-addresses for 100 clients. It should fail. If you want to use a dedicated IP for each client, please, set IP_ADDR_MAX= 192.168.1.101. <http://192.168.1.9/> If you want to use a common-IP, please, set IP_ADDR_MAX= 192.168.1.2 CYCLES_NUM= 2 > URLS_NUM= 1 Let's start debugging with some lower numbers, like CLIENTS_NUM_MAX=1 CLIENTS_NUM_START=1 #CLIENTS_RAMPUP_INC=2 CYCLES_NUM= 2 and, when it works, you will increase the numbers. ########### URL SECTION #################################### > URL = http://9.33.97.69:6014/services/AddressSearch Have you ensured IP-routing from your network 192.168.1.2 to that addresses? URL_SHORT_NAME = "EastAddressPost2RouterFirewall" > REQUEST_TYPE=POST > MULTIPART_FORM_DATA="file=@EastfindByLocation.xml" > TIMER_URL_COMPLETION = 3000 > TIMER_AFTER_URL_SLEEP = 100 > HEADER = "SOAPAction:" Are you sure, that you wish to send a header without any value? HEADER = "Content-Type: text/xml" > > Is this a correct way of doing this? I am totally confused. Anybody got a > sample web service test conf? So, what is the problem, finally? What curl-loader reports? What happens? Have you tried running curl-loader with -v command line option and looking in the logfile? If you are using the latest versions, like curl-loader-0.43, you can run -d option, which outputs to logfile also all HTTP requests and responses received and sent. Y can also combine -v and -d option for the latest versions. Please, also read about various debugging facilities in FAQs (they are updated for the latest version, however) http://curl-loader.sourceforge.net/doc/faq.html Sincerely, Robert Iakobashvili, coroberti %x40 gmail %x2e com ........................................................... http://curl-loader.sourceforge.net A web testing and traffic generation tool. |