This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to upload pictures in LoadRunner cloud?

Hello,

I recorded a test case(Upload & design image)  by Virtual User Generator  - develop Script. 

I use full path image, the case can run successful on local. but when I export the case to zip file(add this image), then upload to cloud. Run this case on LoadRunner cloud, the error: 't=00044305ms: Error -205177: Step 13: Set D:\testimage\testing.jpg on filebox (1) filebox failed - File not found: D:\testimage\testing.jpg Snapshot Info [MSH 1 0] [MsgId: MERR-205177]' display.

Then I try to use a relative path, an error will be reported locally.

So, How to upload pictures in LoadRunner cloud?

Thank you very much.

Parents
  • 0  

    Dear Peng Yu

    Can you please try below steps:


    1. Open the script in Vugen
    2. Add your external file under Extra Files
    3. Click on Develop script and change the 'Path' argument type to JavaScript and use TC.scriptDir+ "\testing.jpg";

    If it still doesn't work, please open a ticket to LRC.

    Regards,
    Kate

Reply
  • 0  

    Dear Peng Yu

    Can you please try below steps:


    1. Open the script in Vugen
    2. Add your external file under Extra Files
    3. Click on Develop script and change the 'Path' argument type to JavaScript and use TC.scriptDir+ "\testing.jpg";

    If it still doesn't work, please open a ticket to LRC.

    Regards,
    Kate

Children
  • 0 in reply to   

    Thank you for your replay,

    I added the file to script: .

    But I blocked here:

    Then I zip this script and try to run it in cloud, error display: 't=00054920ms: Error -205177: Step 13: Set TC.scriptDir+ "\testing.jpg"; on filebox (1) filebox failed - File not found: TC.scriptDir+ "\testing.jpg"       Snapshot Info [MSH 1 0]    [MsgId: MERR-205177]'

    Is there anything wrong here?

    Thank you.