How to upload media use loadrunner?
I record the script but it fail because the top of document
is invalidation.How to solve the problem?Which one know the
answer please tell me. Thanks!
Answer / Gangadhar Choudhary
In LoadRunner, make sure you follow these steps when uploading media files:
1. Check if the file type is supported by LoadRunner (e.g., images, PDFs, etc.).
2. Save the media file in a location accessible to LoadRunner.
3. In LoadRunner, open your script and add the following lines at the appropriate place to upload the media file:
```bash
lr_input_parameter("file_path", "string", "/path/to/your/media/file");
lr_input_parameter("file_name", "string", "your_media_file.extension");
lr_save_file(lr_eval("file_path"), lr_eval("file_name"));
```
Replace `/path/to/your/media/file` with the actual file path and `your_media_file.extension` with the file name and extension (e.g., myimage.png).
| Is This Answer Correct ? | 0 Yes | 0 No |
AFter generation the script for a application i am trying to make correlation but it is showing 404 error after customization.could u please help me how i have to make correlation give me steps please
What does vuser_end action contain?
where do you save u r scripts in Load Runner?
By default how many virtual user are there in LoadRunner?
how can i capture the elapsed time of a scenario in a script?
I Installed loadrunner in my machine(personal PC) successfully. But when i am recording the script is not recording for the actions what i am executing. Can anyone explain what might be the problem for not recording the script.
1.How can you Calculate load / stress testing in manually ? Is there any Calculators are available? If yes Please send me the Formulas?(I mean how the tools Ex: load runner, JMetter, Silk Performer ……………………….calculating the load )
explain about goal-oriented scenario in controller
on what basis you will provide the recommendations to upgrade the hardware?
If web server, database and Network are all fine where could be the problem?
How to prepare test data to use in Load runner.
whar r the benfits of Load Controlar?