Re: curl-loader dynamically changing FORM_STRING values with GET?
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-11-22 15:17:29
|
Hi Alo, On Thu, Nov 20, 2008 at 11:04 PM, alo sinnathamby <asi...@ic...>wrote: > Hi, > > Is there any way to change FORM_STRING values dynamically? For example, i > need to test 1000 requests with 4 types of customerId s. I know that there > is a way of doing that for login with POST, but with GET i dont know how to > do it. Please advice and Greatly appreciate it. > > This is my conf file > > ########### GENERAL SECTION ################################ > BATCH_NAME=order-page > CLIENTS_NUM_MAX = 100 > INTERFACE=eth0 NETMASK=24 IP_ADDR_MIN=xx.x.x.xxx > IP_ADDR_MAX=xx.x.x.xxx > CYCLES_NUM= -1 > URLS_NUM=1 > > ########### URL SECTION ################################## > > ### Login URL - only once for each client > > URL=http://xx.x.x.xxx:pppp/order > URL_SHORT_NAME="GET-order" > REQUEST_TYPE=GET > FORM_USAGE_TYPE= AS_IS > FORM_STRING="?customerId=123&orderId=456" > TIMER_URL_COMPLETION = 0 > TIMER_AFTER_URL_SLEEP = 0 > > Thanks, > Alo Sinnathamby > > FORM_STRING may work with GET URL as well. At least it is supported to do. You can see an example configuration here: http://curl-loader.svn.sourceforge.net/viewvc/curl-loader/trunk/curl-loader/conf-examples/get-forms.conf?revision=406&view=markup Give it a try! -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... Assistive technology that understands you ...................................................................... |