tag:blogger.com,1999:blog-4462491887225244834.post1643971055786253982..comments2024-03-06T17:30:59.937-08:00Comments on Random Sync: LoadRunner: Creating manual web_custom_request for HTTP file uploadsGaurav Guptahttp://www.blogger.com/profile/10174101381436236624noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-4462491887225244834.post-67027640694446326132016-07-03T01:25:41.377-07:002016-07-03T01:25:41.377-07:00Rather simpler solution is to record the script in...Rather simpler solution is to record the script in URL mode using web_custom_request only.Anonymoushttps://www.blogger.com/profile/17737460038659598740noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-73620723403850123412013-09-24T19:01:38.497-07:002013-09-24T19:01:38.497-07:00Very helpful article. Just wondering whether I can...Very helpful article. Just wondering whether I can try this uploading file(Hexa Decimal) using web service. I have "Trouble scripting against a secure webservice that uploads files via MTOM" which is my current issue. I'm having trouble understanding how to script/incorporate the code in soap request using load runner such that 40MB file can be uploaded without any error. I did installed the patch LRVUG_00015.exe required to support the MTOM, still facing issue. Please advise. and can any one upload the load runner sample script of soap request using MTOM such that I can refer the same.Sreehttps://www.blogger.com/profile/04338407152424806956noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-71013291906883005432013-07-16T04:49:36.222-07:002013-07-16T04:49:36.222-07:00How can i upload the image file in the web request...How can i upload the image file in the web request post method Anonymoushttps://www.blogger.com/profile/00271824655545990420noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-63592531298832279302011-10-12T01:46:02.143-07:002011-10-12T01:46:02.143-07:00Hi,
I had a problem while uploading a video file....Hi,<br /><br />I had a problem while uploading a video file. The file was converted to hexa decimal and the whole content was available. How do I parameterize the file?qwertynoreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-53516104800377071742011-10-12T01:44:35.614-07:002011-10-12T01:44:35.614-07:00How did you solve the problem?How did you solve the problem?adcnoreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-1656254687584689602009-12-15T00:53:11.399-08:002009-12-15T00:53:11.399-08:00Hi
It is really fantastic.helped me thank you.up...Hi <br /><br />It is really fantastic.helped me thank you.update more techniques.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-59977094967574879612009-09-23T14:16:18.190-07:002009-09-23T14:16:18.190-07:00>>Out here, the boundary does not stay the s...>>Out here, the boundary does not stay the same for different users. I had to co-relate it. It is part of a request header so there is no way for me to capture it. Any pointers to work around this?<br /><br />Lokesh, the boundary doesn't have to be the same for different users. This boundary doesn't have anything to do with the file data being uploaded and is just a marker to signify the start and end of data. It can be anything as long as it doesn't repeat in the data itself. Try with a value that doesn't exist in all the data you're uploading and see if that works. Let me know.Gaurav Guptahttps://www.blogger.com/profile/10174101381436236624noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-54996042043683208422009-09-23T12:04:54.938-07:002009-09-23T12:04:54.938-07:00Great Post!! I had to search for over three hours ...Great Post!! I had to search for over three hours to get here. But I do have a question.. I would highly appreciate if you could help.<br /><br />Here is the request.. xxxxx stands for the file content.. <br /><br /><br /><br /><br />web_custom_request("import", <br /> "URL=https://cltpws01.perf3.clt.s1.com/s1gcb/logon/banking/common/imprt/user/importProfileSelected/import", <br /> "Method=POST", <br /> "Resource=0", <br /> "RecContentType=text/html", <br /> "Referer=https://cltpws01.perf3.clt.s1.com/s1gcb/sbb/common/transact/user/importProfileList/go?row=0&importProfileId=3005", <br /> "Snapshot=t5.inf", <br /> "Mode=HTTP", <br /> "EncType=multipart/form-data; boundary=---------------------------7d937011403e8", <br /> "Body=-----------------------------7d937011403e8\r\nContent-Disposition: form-data; name=\"theFile\"; filename=\"PPDapprox1000.txt\"\r\nContent-Type: text/plain\r\n\r\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-----------------------------7d937011403e8\r\nContent-Disposition: form-data; name=\"filePath\"\r\n\r\nC:\\fakepath\\PPDapprox1000.txt\r\n-----------------------------7d937011403e8\r\nContent-Disposition: form-data; name=\"submit.x\"\r\n\r\n35\r\n-----------------------------7d937011403e8\r\n"<br /> "Content-Disposition: form-data; name=\"submit.y\"\r\n\r\n16\r\n-----------------------------7d937011403e8", <br /> LAST);<br /><br /><br /><br />Out here, the boundary does not stay the same for different users. I had to co-relate it. It is part of a request header so there is no way for me to capture it. Any pointers to work around this?Unknownhttps://www.blogger.com/profile/06256521901348998926noreply@blogger.comtag:blogger.com,1999:blog-4462491887225244834.post-57210491380428027842009-02-11T00:11:00.000-08:002009-02-11T00:11:00.000-08:00Thanks for the information.My text is hidden in th...Thanks for the information.<BR/><BR/>My text is hidden in the body of web_custom_request, in that case, how do I post/put the parameter value.<BR/><BR/>Kindly let me know at the earliest.<BR/><BR/>Thanks in advance,<BR/><BR/>Regards,<BR/><BR/>Hema.Fairy Gardenhttps://www.blogger.com/profile/09431539923642085686noreply@blogger.com