Azure Load test service throws "File Path not allowed in Test Plan CSVDataSet Config." on file validation

Bauer, Eric [DOH] 0 Reputation points
2025-05-14T19:14:31.3833333+00:00

We have Windows (local), Linux (VM tests), and Azure(production) environments for working with our JMeter load test scripts. Since Azure and the others have a different folder structure for the file locations, I've set the "CSVDataSet" paths for each csv file reference as "./${__property(users/)}file.csv"

This works without an issue on every environment, except Azure. On uploading the .jmx file, the error "File Path not allowed in Test Plan CSVDataSet Config." pops up. What exactly about the path isn't allowed?

Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
83 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Divyesh Govaerdhanan 5,700 Reputation points
    2025-05-15T01:12:36.3733333+00:00

    Hello,

    Welcome to Microsoft Q&A,

    Azure Load Testing does not allow arbitrary file paths in CSVDataSet configurations. The path you mentioned, "./${__property(users/)}file.csv" is considered dynamic or relative to a user-defined directory, and Azure rejects it.

    Try using:

    1. All CSVs should be in the same directory as the .jmx test plan
    2. Be referenced using only the file name (no path)

    You can use like: ${__P(users,10)} but not ${__P(csv_path)}users.csv

    Please upvote and accept the answer if it helps!!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.