'is there way to write data in CSV file using jmx script in Azure load testing?

I have added beanshell postprocessor in sampler to write data in CSV file and it is working fine in Jmeter. But when I uploaded same jmx script in Azure load testing and ran it, I don't see any CSV file where my response data is added.

Logs: WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore WARN c.a.c.j.j.c.MALTListener: TEST ENDED EVENT - uploading jmeter.log file



Solution 1:[1]

  1. When JMeter is not doing what it is supposed to be doing first thing you should check is jmeter.log file

  2. We cannot even assume what could be wrong without seeing your code

  3. Since JMeter 3.1 it's recommended to use JSR223 Test Elements and Groovy language for scripting

  4. I haven't seen your code but I don't think using scripting for saving data is a good idea due to race condition (when multiple threads are concurrently writing into the same file) which will result in data corruption or loss so I would rather go for one of the below options:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T