Friday, March 30, 2012

How to script 'uploading a file' scenario using VuGen?

Currently bugging my head with this, will let you know in my next post.

2 comments:

  1. This cane done either by using web_submit_request or web_custom_request or flex requests. Most importantly in order to reduce efforts-

    1. Attach the file to be uploaded to the script file itself instead of loading it on shared network drives. Parameterize the file path and replace the complete path it with '\FileName' as the file is attached with the script.

    2. Parameterize all the ITEMDATA values in web_submit_request. If custom_request is used the make sure the boundary and the content-type is correct.

    3. If Load Test is to be run through Performance Center make sure the file to be attached is displayed in the script when viewed from Perf Center. If it is not upload it there.

    ReplyDelete
  2. A Multi protocol script works better than single protocol script. You can replace a web_custom_request with web_submit_request or vice versa, no matter which has been generated but most importantly which gets correlated easily.

    ReplyDelete

Please post your comments here