RE: Curl-Loader for XML based Requests over https.
Status: Alpha
Brought to you by:
coroberti
From: Sridhar K. <sri...@ya...> - 2009-10-13 11:29:23
|
Hi, Curl Loader tool is not working for XML requests over HTTPS. Command used is: sudo ./curl-loader -f conf-examples/prodorder.conf -u -v My Conf file contents are: ------------------------------------- -sh-3.00$ cat conf-examples/prodorder.conf ########### GENERAL SECTION ################################ BATCH_NAME= httpsXMLReq CLIENTS_NUM_MAX= 1 INTERFACE = eth0 NETMASK= 24 IP_ADDR_MIN= 10.66.72.242 IP_ADDR_MAX= 10.66.72.242 CYCLES_NUM= 1 URLS_NUM= 1 ########### URL SECTION #################################### URL=https://ysbsqa-skotha-mudperf1.order.store.yahooapis.com/V1/order URL_SHORT_NAME="post-xml" REQUEST_TYPE=POST MULTIPART_FORM_DATA="file=@/home/sridhark/performance/curl-loader-0.50/conf-examples/ysbsqa-skotha-mudperf1.xml" TIMER_URL_COMPLETION = 500 TIMER_AFTER_URL_SLEEP = 0 XML Request is: -sh-3.00$ cat conf-examples/ysbsqa-skotha-mudperf1.xml <?xml version="1.0" encoding="utf-8"?> <ystorewsRequest> <StoreID>ysbsqa-skotha-mudperf1</StoreID> <SecurityHeader> <PartnerStoreContractToken>1.0_AxAuYuls_wG_A8pzSPzrbNKXYqGKP6Kmv8tUk_gbeVOIBaYf6neyBds1SzBFee0gAvhdslrddUqOLtFmVez7DEarQyNvn4jdPfzTyjJ5J4qtxQ9jzkZVT3YxwsPEzjV1jliF3wrY6Am9</PartnerStoreContractToken> </SecurityHeader> <Version>1.0</Version> <Verb> get </Verb> <ResourceList> <OrderListQuery> <Filter> <Include> all </Include> </Filter> <QueryParams> <OrderID>490</OrderID> </QueryParams> </OrderListQuery> </ResourceList> </ystorewsRequest> Any help on this is highly appreciated. Best regards, Sridhar K ________________________________ From: Sridhar Kotha Sent: Monday, October 05, 2009 9:28 PM To: 'cur...@li...' Subject: Curl-Loader for XML based Requests over https. Hi, I am trying to use curl-loader tool for sending xml requests over https. Manually I can execute the same using curl but with the tool, it is not working. My configuration file is: URL=https://ysbsqa-skotha-mudperf1.order.store.yahooapis.com/V1/order URL_SHORT_NAME="post-xml" REQUEST_TYPE=POST MULTIPART_FORM_DATA="file=@/home/sridhark/performance/curl-loader-0.50/conf-examples/ysbsqa-skotha-mudperf1.xml" TIMER_URL_COMPLETION = 500 TIMER_AFTER_URL_SLEEP = 0 Command used: sudo ./curl-loader -f conf-examples/prodorder.conf -v -sh-3.00$ cat https.log # 627973937 Mon Oct 5 21:30:24 2009 # msec_offset cycle_no url_no client_no (ip) indic info 1 0 0 1 == About to connect() to ysbsqa-skotha-mudperf1.order.store.yahooapis.com port 443 (#0) eff-url: url https://ysbsqa-skotha-mudperf1.order.store.yahooapis.com/V1/order 542 0 0 1 !! ERUT url completion timeout: url: https://ysbsqa-skotha-mudperf1.order.store.yahooapis.com/V1/order 542 0 0 1 == Closing connection #0 eff-url: url https://ysbsqa-skotha-mudperf1.order.store.yahooapis.com/V1/order The xml to be posted is in the conf-examples. Kindly tell me how to send the xml based requests. Also let me know if sending XML requests over HTTPS is supported or not. Many Thanks and Best Regards, Sridhar K |