Forum Discussion

mazhar555's avatar
mazhar555
Contributor
11 years ago

[LoadUIWeb] LoadTesting of Data load from excel

Hi,



I have to test an application that is fetching data from Excel. I need to measure the load time with different number of records (500,1000...20,000) with different number of VU's. I am able to get the request where file is being uploaded but i dont know how to change the file dynamically.




Content-Disposition: form-data; name="ctl00_ContentPlaceHolder1_FileUploadfile0";; filename="C:\Documents and Settings\mmahmood\Desktop\Test_Plant_Item_Template(1).xlsx"


Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet



I tried changing the request by puting veriable, i tried giving variable name in "value" but nothing is working for me.



If you want to access the project, its available with "Issue# M0112781"



Regards,

Mazhar

 

1 Reply

  • Hi Muhammed,

    What "exactly" do you mean by "nothing is working"? 



    I suggest creating 3 Complex scenarios with common pre-upload part and different upload part. It's more convinient way to test your application in your case.