JMeter Write to file script is duplicating print
问题 I'm having a problem with the CSV generated, it duplicates or iterates the process of printing. Code of printing to CSV: CSV file generate with null record: It shows to values PASSED and null , I'm only expecting the value with PASSED . Don't know where the null value came from, also in the Debug Sampler the message variable only contains PASSED , did not see any null . 回答1: When you use post processor for specific sampler, make sure it will execute only once by putting it under the Sampler,