tag:blogger.com,1999:blog-3154230739686508173.post3722923392549922320..comments2023-04-02T15:36:00.230+03:00Comments on Easy way to automate testing: LoadRunner VuGen scripting - How to automatically download file from server and save it to local disk?Dmitry Motevichhttp://www.blogger.com/profile/03519257111492581809noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-3154230739686508173.post-66887993973241325952008-12-06T19:38:00.000+03:002008-12-06T19:38:00.000+03:00@Kalyani,Sorry, I'm afraid, I cannot help you beca...@Kalyani,<BR/>Sorry, <BR/>I'm afraid, I cannot help you because you didn't didn't provide detailed information about your issue.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-7669182974622848892008-12-05T21:28:00.000+03:002008-12-05T21:28:00.000+03:00Hi Dmitry, Its very useful. But am facing a situat...Hi Dmitry, <BR/>Its very useful. But am facing a situation in which the a popup is getting displayed with a status msg saying(50 of 1000 downloaded etc) after clicking the download button. So the recorded script includes some thinktime in the script. if i remove them its not working. <BR/>These recorded statements are repeated web _submit_data statements that says unsynchronized servlet in the url.<BR/>even i try to put them in the loop and try to correlate by fetching the 'content length' and compare that with the file size length. but that doesnt seem to work all the time. what will be the solution to this? even the extended log of the server is repeating the download msg for the calls like <BR/><BR/>Downloading+page+1000+1000\n<BR/>Downloading+page+1000+1000\n<BR/>Downloading+page+1000+1000\n<BR/>Downloading+page+1000+1000\n<BR/>Downloading+page+1000+1000\n<BR/>so how to make the logic work?<BR/><BR/>Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-61491663155547121462008-11-25T03:14:00.000+03:002008-11-25T03:14:00.000+03:00Hi Dmitry,I tried my best but could not get any in...Hi Dmitry,<BR/>I tried my best but could not get any information about the response data, so could not do much. I am waiting for Vugen for .NET 3.5 which will be out with the new launch of Vugen.Unknownhttps://www.blogger.com/profile/14206309985549384062noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-20250300787094775852008-09-20T22:32:00.000+04:002008-09-20T22:32:00.000+04:00to Niranjan (September 16), Yes, sure.All you need...to Niranjan (September 16), <BR/>Yes, sure.<BR/>All you need is:<BR/>1. Generate a unique file name for each downloaded file<BR/>I posted on my blog two ways how to do that.<BR/>2. Star a required number of VUsers in LR Controller. Each VUser will download and save file in parallel.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-7268354046440644182008-09-16T02:43:00.000+04:002008-09-16T02:43:00.000+04:00Hi Dmitry,This post was really helpful, can we dow...Hi Dmitry,<BR/><BR/>This post was really helpful, can we download multiple files at time by simulating number of users in controller? If yes, how can we achive this?<BR/><BR/>Please help me out here.Unknownhttps://www.blogger.com/profile/08142469356711603617noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-28767909483608129012008-09-11T12:30:00.000+04:002008-09-11T12:30:00.000+04:00Anonymous (September 11), I think, the error messa...Anonymous (September 11), <BR/>I think, the error messages is clear enough:<BR/><I>Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 5000 bytes, use web_set_max_html_param_len to increase the parameter size</I>.<BR/>Please, answer - did you try these actions? What was the result?Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-14701352397270232072008-09-11T03:13:00.000+04:002008-09-11T03:13:00.000+04:00Please help,i am running Vugen 9.1 on a .net 3.5 ...Please help,<BR/>i am running Vugen 9.1 on a .net 3.5 platform using web_Click_and_script protocol. I want to send in some data into the server, but all i get is webcustom request with body binary code that looks like this<BR/>web_custom_request("rmtre.dll_54", <BR/> "URL=http://tc6260-n1/epower/rmtre.dll?10.<BR/> "BodyBinary=s\\x02\\x00\\x10x\\x9C\\x95R\\xC1N\\x83@\\x10}\\x145\\x8D\\xD6\\x83\\x9E=\\x90\\x9E4\\xDA\\xA6\\x05\\xA2\\xC5\\x13\\xB5\\xD0\\xC4C\\x0F\\<BR/><BR/>when i try to pull out data using web_set_max_html_param_len("5000");<BR/><BR/> web_reg_save_param("d","Search=Body", "ORD=ALL","LB/BIN=\\xF7", "RB/BIN=\\x99+", LAST); <BR/>it gives me this error:<BR/>Action.c(793): Error -26377: No match found for the requested parameter "d". Check whether the requested boundaries exist in the response data. Also, if the data you want to save exceeds 5000 bytes, use web_set_max_html_param_len to increase the parameter size [MsgId: MERR-26377]<BR/>Action.c(793): Notify: Saving Parameter "d_count = 0"<BR/>Action.c(793): web_custom_request("rmtre.dll_54") highest severity level was "ERROR", 733 body bytes, 154 header bytes [MsgId: MMSG-26388]<BR/>please reply to 90percentile@gmail.com if you have a solutionAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-62839555929151726242008-08-30T00:56:00.000+04:002008-08-30T00:56:00.000+04:00Sachin,It's important to know where the value is g...Sachin,<BR/>It's important to know where the value is generated.<BR/><BR/>There are two cases:<BR/><BR/>1. Value is generates on server (server returns this value in his response).<BR/>In this case you should use correlation. Please, search my blog for 'correlation' and you'll find several visual tutorials.<BR/><BR/>2. Value is generated on client side (for example, JavaScript calculates it).<BR/>In this case you should simulate JavaScript code in your VuGen script. So, LoadRunner script will calculate the same value as JavaScript. And you'll be able to use the calculated value later in your script.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-60724533544742688292008-08-28T13:12:00.000+04:002008-08-28T13:12:00.000+04:00Hi,Very informative blog. I have a query related t...Hi,<BR/><BR/>Very informative blog. I have a query related to this blog. The web page computes something and then displays the value in one of the text boxes. I intend to capture that value and push it in a text file. Can you please let me know if there is a way of doing the same?Sachin Waghhttps://www.blogger.com/profile/10240301315704898900noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-27297061085503463262008-05-15T10:09:00.000+04:002008-05-15T10:09:00.000+04:00Ver Nice tip....LB=\r\n\r\n..it works and the exce...Ver Nice tip....<BR/>LB=\r\n\r\n..it works and the excel file gets downloaded very much fine.<BR/><BR/>Thanks for the tip....:)Suvarnahttps://www.blogger.com/profile/10736915259296151567noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-23775533023853821972008-01-08T12:23:00.000+03:002008-01-08T12:23:00.000+03:00hi..can any one tell me how to handle popup's in l...hi..can any one tell me how to handle popup's in load runner....<BR/>while executing the scenario, i'm getting the security alert popup with "YES" or "NO" buttons....when i run in Internet Explorer....<BR/>For this, my script is getting failed...K CS Anjaneyuluhttps://www.blogger.com/profile/02789876130979284431noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-47737871007812056772007-12-14T18:00:00.000+03:002007-12-14T18:00:00.000+03:00Hi... How can i load test microsooft web Outlook.....Hi... How can i load test microsooft web Outlook... i have tried it but it fails.. plss help meUnknownhttps://www.blogger.com/profile/17780437009754742323noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-77400314089093601302007-12-13T03:55:00.000+03:002007-12-13T03:55:00.000+03:00Hey The code was really helpful.. Can v paramertiz...Hey The code was really helpful.. Can v paramertize the path to download many files.if yes pls suggestUnknownhttps://www.blogger.com/profile/17780437009754742323noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-56153714151188768092007-11-04T06:59:00.000+03:002007-11-04T06:59:00.000+03:00Hello! First many thanks for visting my site ...Hello! <BR/><BR/> First many thanks for visting my site and gave your valuable comments...<BR/> <BR/> Im Happy to receive ur commentspositivethinkinghttps://www.blogger.com/profile/13943557489739214127noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-53308544743081864932007-11-01T14:33:00.000+03:002007-11-01T14:33:00.000+03:00Hs and PagKis.com, Thank you for your opinions! :)...Hs and PagKis.com, <BR/>Thank you for your opinions! :)<BR/>I'm glad that you like this site.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-45005955231882295892007-11-01T13:54:00.000+03:002007-11-01T13:54:00.000+03:00Really nice posts. Examples are very good.Really nice posts. Examples are very good..https://www.blogger.com/profile/11295088633938021751noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-71311815639801826652007-10-21T06:56:00.000+04:002007-10-21T06:56:00.000+04:00Btw, I've linked your site for the convenience of ...Btw, I've linked your site for the convenience of anyone seeking for scripting tips. :) Hope you wouldn't mind. :)Hshttps://www.blogger.com/profile/10781652982236584496noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-81317335839959107672007-10-21T06:21:00.000+04:002007-10-21T06:21:00.000+04:00Hi Dmitry, thanks for visiting my site! :) I like ...Hi Dmitry, thanks for visiting my site! :) I like your site alot! It's a great site as there are many detail examples on the scripting related issues that my site is lacking and some tips on working with the scripts. :) Hope we can share our experiences together in future too. :)Hshttps://www.blogger.com/profile/10781652982236584496noreply@blogger.com