I am working with an web application where in i am having to record a script to attach a file of size 1mb. Since its an web application i chose web(http/html) protocol and recorded the flow, using VUGEN 9.1.
After correlating the possible dynamic values, i found that the script gave an error(error code 500) for the url in tranasction attach a file.
After investigation it was found that there was a reference to lrw_custom_body file but it was not generated when the script was generated.
I recorded the same flow in VUGEN 8.1, wherein i found that the lrw_custom_body file was generated having the body_variable_1, where in the contents of the file being captured where captured/recorded. But replaying this script was also an issue as it gave"compilation errors wrt the contents of the lrw_custom_body.h file. Since the content captured was in binary format, i could not make out what the error was.
So finally i recorded the flow in VUGEN8.0, where in the script was generated similar to 8.1 and was able to replay the script sucessfully.But while replaying the script i found "Warning: The string '\xF7nPP\x102n\xDD\xBA\x15e\xD3\xFD\xDD\x0B\x85B\xAD$\xBA\xCC\xFD\xFB\xF7#\x8B\x9F\x9F\x1F\x1A\xFE\xDF\xBBw/' with parameter delimiters is not a parameter." when ever the body_variable_1 value was encountered in the script.
1)Why is the file lrw_custom_body.h not generated in VUGEN9.1?
2)How to remove the compilation errors that occur in VUGEN8.1?
3)The contents captured in the lrw_custom_body.h file seem to be in Binary format.Is that okay? or is it some junk value that is getting captured???
Response for the above issues is greatly appreciated.Thank You.
P.S. This thread has been moevd from Performance Center Support and News Forum to LoadRunner Support Forum. - Hp forum moderator
If you are uploading the file from your machine, then record the script in URL mode. It generates the path from where it was uploaded. You can even parameterize the path of the file before replay.