Skip to content

Commit 7e51b17

Browse files
Merge pull request #253838 from ntrogh/alt-read-csv
[Azure Load Testing] Add troubleshooting steps for reading CSV file
2 parents 8462d7f + b869e7e commit 7e51b17

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

articles/load-testing/how-to-read-csv-data.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,20 @@ To configure your load test to split input CSV files:
160160
161161
---
162162
163+
## Troubleshooting
164+
165+
### Test status is failed and test log has `File {my-filename} must exist and be readable`
166+
167+
When the load test completes with the Failed status, you can [download the test logs](./how-to-troubleshoot-failing-test.md#download-apache-jmeter-worker-logs).
168+
169+
When you receive an error message `File {my-filename} must exist and be readable` in the test log, this means that the input CSV file couldn't be found when running the JMeter script.
170+
171+
Azure Load Testing stores all input files alongside the JMeter script. When you reference the input CSV file in the JMeter script, make sure *not* to include the file path, but only use the filename.
172+
173+
The following code snippet shows an extract of a JMeter file that uses a `CSVDataSet` element to read the input file. Notice that the `filename` doesn't include the file path.
174+
175+
:::code language="xml" source="~/azure-load-testing-samples/jmeter-read-csv/read-from-csv.jmx" range="30-41" highlight="2":::
176+
163177
## Next steps
164178

165179
- Learn how to [Set up a high-scale load test](./how-to-high-scale-load.md).

0 commit comments

Comments
 (0)