Azure Load Testing data store

Parra Rodriguez, Jaime 0 Reputation points
2024-04-09T10:37:38.5+00:00

Hi,

I would like to know where are stored all the files (.csv, .jmx, etc) loaded when creating a test, I am unable to find that information on the Microsoft documentation. I guess it is stored on some kind of internal Microsoft blob storage but I wanted to make sure.

Thanks!

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
64 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Claudia Dos Santos Haz (CONCENTRIX CORPORATION) 1,105 Reputation points Microsoft Vendor
    2024-04-11T10:04:01.9166667+00:00

    Hello Parra Rodriguez, Jaime,

    Thank you for reaching out to Microsoft Q&A forum!

    Test status is failed and test log has File {my-filename} must exist and be readable

    When the load test completes with the Failed status, you can download the test logs.

    When you receive an error message File {my-filename} must exist and be readable in the test log, the input CSV file couldn't be found when running the JMeter script.

    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.

    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.

    <CSVDataSet guiclass="TestBeanGUI" testclass="CSVDataSet" testname="Websites CSV" enabled="true">

    <stringProp name="filename">websites.csv</stringProp>
    
    <stringProp name="fileEncoding">UTF-8</stringProp>
    
    <stringProp name="variableNames">CustomerId,CustomerName,Url</stringProp>
    
    <boolProp name="ignoreFirstLine">true</boolProp>
    
    <stringProp name="delimiter">,</stringProp>
    
    <boolProp name="quotedData">false</boolProp>
    
    <boolProp name="recycle">false</boolProp>
    
    <boolProp name="stopThread">true</boolProp>
    
    <stringProp name="shareMode">shareMode.all</stringProp>
    
    <stringProp name="TestPlan.comments">Read all records from the CSV file -  stop thread at end of file</stringProp>
    

    </CSVDataSet>

    https://learn.microsoft.com/en-us/azure/load-testing/how-to-read-csv-data?tabs=portal#troubleshooting

    Azure Load Testing only records log messages with WARN or ERROR level in the worker logs.

    To download the worker logs for an Azure Load Testing test run, follow these steps:

    1. In the Azure portal, go to your Azure Load Testing resource.
    2. Select Tests to view the list of tests, and then select your load test from the list.
    3. From the list of test runs, select a test run to view the load test dashboard.
    4. On the dashboard, select Download, and then select Logs. The browser should now start downloading a zipped folder that contains the JMeter worker node log file for each test engine instance. Screenshot that shows how to download the test log files from the test run details page.
    5. You can use any zip tool to extract the folder and access the log files. The worker.log file can help you diagnose the root cause of a failing load test. In the screenshot, you can see that the test failed because of a missing file.

    Screenshot that shows the JMeter log file content.

    Best regards,

    https://learn.microsoft.com/en-us/azure/load-testing/how-to-diagnose-failing-load-test?tabs=portal#download-apache-jmeter-worker-logs-for-your-load-test

    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.