Is there something wrong with this code? I am trying to identify a failed user in JMeter when running a test. The script is absolutely working fine in my local and with a limited number of users. How can I print the failing users in the log while using distributed testing? I am running 100 users per machine(5 slaves with the master)
My first transaction has 10 requests and in the request post processor i am using the below code to print in the log. But where exactly it will be shown in distributed load test and i am using Apdex report finally but it doesn't show up even there.
if(prev.getResponseCode()=='500') { log.info('Failed User: ' + '${__threadNum}-${Username}-${MachineIp}-${__machineName}'); }