Unanswered question

Failing with below error

Cannot read the file \u0027~\\recorded-resources\\file_2mb.pdf\u0027. The system cannot find the path specified. (0x00000003).

Prasad K.
Prasad K.

Prasad K.

Level
0
37 / 100
points

Answers

If your goal is to upload a different file at each user iteration then the best is to copy your files into the <project_folder>\custom-resources folder.

Then in your POST definition you can use ${NL-CustomResources}\${myfile.filename} syntax.

${NL-CustomResources} variable will automatically be replaced by NeoLoad to an absolute path that exists on any load generator whatever the operating system. Your files into custom-resources folder will be sent to all your load generators.