Azure Load Testing: adding the user.properties file doesn't work

Rogiers Benny (BROGIERS) 21 Reputation points
2022-05-13T13:07:01.413+00:00

Jmeter has a property file 'user.properties' in which properties can be set and loaded only when jmeter starts up, so not possible to set properties inside a jmx file.
I need to add a property for adding extra customized columns in the csv logfile.
This the line that is added to the user.properties file:

    sample_variables=username,version,uuid

I uploaded this property file within the configuration section in which Script, Data and Configuration files can be uploaded to the testplan.
But after running the test no extra columns were added to the csv file, so it looks like the user.properties file was not interpreted.

So how can we add "jmeter/user properties" with the Azure Load Testing tool?

Developer technologies Visual Studio Testing
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-05-16T02:43:48.663+00:00

    Hi @Rogiers Benny (BROGIERS) ,

    From your description, looks like your issue is related to Azure Load Testing. Microsoft Q&A supports the products listed over here: supported topics (more to be added later on).

    Your question about Azure Load Testing is not supported currently.
    You can ask in the dedicated forum over here: https://github.com/microsoft/azure-load-testing/issues.

    Sincerely,
    Anna
    *
    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Rogiers Benny (BROGIERS) 21 Reputation points
    2022-05-18T12:31:56.827+00:00

    Hi Anna,

    The issue is resolved in here: https://github.com/MicrosoftDocs/azure-docs/issues/92861
    It works now: the user.properties file is now read correctly, thanks!

    Sincerely,
    Benny

    0 comments No comments

  2. Manoj Sarathy Partha Sarathy (INFOSYS LIMITED) 1 Reputation point Microsoft External Staff
    2022-10-14T20:17:26.783+00:00

    Hi Team,

    I'm trying to override JMeter properties by adding below to the user.properties file.

    While trying to run test in Azure load testing service, it's picking up the threadCount,rampUpSeconds,durationSeconds and not picking up clientId, clientSecret value and jmeter.save.saveservice.* . I'm not able to debug it as log file is not providing much information and not able to see the request/response .

    Properties file:
    jmeter.save.saveservice.response_data.on_error=true
    jmeter.save.saveservice.samplerData=true
    threadCount=20
    rampUpSeconds=30
    durationSeconds=600
    clientId=xxxxxxxxxxxxxxxxxxx
    clientSecret=xxxxxxxxxxxxxxxx

    Regards,
    Manoj Sarathy

    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.