Curl-loader - login with three different user ids and passwords
Status: Alpha
Brought to you by:
coroberti
|
From: alo s. <asi...@ic...> - 2008-11-17 16:20:29
|
Hi Robert, Thanks for your reply and Greatly appreciate it. You suggestion worked fine and this is how i used it. URL= http://xx.x.x.xxx:pppp/main URL_SHORT_NAME="login-GET" REQUEST_TYPE=GET TIMER_URL_COMPLETION = 0 # In msec. Now it is enforced by cancelling url fetch on timeout TIMER_AFTER_URL_SLEEP =0 URL="" URL_USE_CURRENT= 1 URL_SHORT_NAME="login-POST" REQUEST_TYPE=POST FORM_USAGE_TYPE= RECORDS_FROM_FILE FORM_STRING= USERNAME=%s&PASSWORD=%s # Means the same credentials for all clients/users FORM_RECORDS_RANDOM=1 FORM_RECORDS_FILE_MAX_NUM=3 FORM_RECORDS_FILE= ./conf-stagetest/credentials.cred # Path relative to curl-loader location TIMER_URL_COMPLETION = 0 # In msec. When positive, Now it is enforced by cancelling url fetch on timeout TIMER_AFTER_URL_SLEEP =0 i have provided three different records in the credentials.cred file and it worked fine. New Question: --------------- When i look at the results summary at the console, there are two columns under success. What does the first column mean?. For example in the given below results, what do 89 and 70 mean? Test total duration was 15 seconds and CAPS average 13: H/F Req:728,1xx:0,2xx:667,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:1195ms,D-2xx:1195ms,Ti:379752B/s,To:15756B/s H/F/S Req:0,1xx:0,2xx:0,3xx:0,4xx:0,5xx:0,Err:0,T-Err:0,D:0ms,D-2xx:0ms,Ti:0B/s,To:0B/s Operations: Success Failed Timed out URL0:login-GET 89 250 0 0 0 0 URL1:login-POST 70 215 0 0 0 0 Thanks and Appreciate your help. Thanks, Alo Robert Iakobashvili wrote: > Hi folks, > > On Wed, Nov 12, 2008 at 9:30 PM, Gary Fitts <ga...@in... > <mailto:ga...@in...>> wrote: > > Here's a suggestion. (I haven't tried this myself, and I'm no expert, > but I think will work.) Use FORM_RECORDS_RANDOM = 1, and only provide > three different records in the FORM_RECORDS_FILE. Ordinarily, there > must be as many form records as clients, but with FORM_RECORDS_RANDOM, > there may be any number of records, and they are assigned to clients > at random. Alternatively, you could load the form records file with > just three different sets of credentials, each repeated 333 times. > > > On Nov 12, 2008, at 10:59 AM, alo sinnathamby wrote: > > > Is there any way to test the load with only two or three different > > type > > of user ids and passwords?. For example, i want to test 1000 login > > attempts with three different user names and passwords. If there > is a > > way, please render your advice.. > > > Thanks, Gary, very good explanation. > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > www.ghotit.com <http://www.ghotit.com> > Assistive technology that understands you > ...................................................................... NOTE: This message, and any attached files, contain information that is privileged, confidential, proprietary or otherwise protected from disclosure. Any disclosure, copying or distribution of, or reliance upon, this message by anyone else is strictly prohibited. If you received this communication in error, please notify the sender immediately by reply e-mail message or by telephone to one of the numbers above and deleting it from your computer. Thank you. |