Forum Discussion

kamilineni's avatar
kamilineni
Occasional Contributor
14 years ago

[Resolved] File not found Exception

Hello Guys,
I feel this forum id real helpful in resolving many issues. Right now I ran into a real problem. I am running a performance test on web services in Unix box. So, I have installed load UI agent in my unix box and load UI tool in my windows system and I am able to connect the agent in Unix box with my load tool in my laptop. My input file is in .xls format and I have set the soap scripts perfectly. When I am running the test in Soap UI pro, everything is working fine. But, When I am trying to hit the agent in Unix box with this script, Its throwing me the error "java.io.FileNotFoundException: C:/Kumar/Viper Performance test/Load Test/Checklists/A6 Checklist AT&T only.xls (No such fil
e or directory)". I have changed the format of the input file to .CSV, .txt and tried. But, still the agent in Unix box is not able to read the file.
Please help.


Thanks,
Kumar

2 Replies

  • Hi!

    External files are not distributed along with TestCases. If you want all agents to use its own private copy of a file, you need to first copy it manually to the agent machine.

    In your case, since the controller seem to be running Windows and the agent Linux, the best way is probably to use a relative path for the XLS in soapUI (also, I wouldn't have spaces in my path since Linux doesn't play very well with spaces in file paths).

    Regards

    Henrik
    SmartBear Software
  • kamilineni's avatar
    kamilineni
    Occasional Contributor
    Thank you Very much Henrik. It worked out for me. Appreciate your help.