PeterT
18 years agoOccasional Contributor
Get Current Thread reference in Load Test
Hi,
Just wondering if there's a way to reference the currently executing Thread in a load test step? I'm trying to write some log messages to a file while doing a LoadTest and I don't really want to wrestle with the hassle of multiple threads trying to write to the same file. My solution was to create a separate log file for each executing Thread but am not sure how to figure out which Thread is currently executing.
If anyone has any ideas on that one or if a better method of logging details from a LoadTest that would be much appreciated.
Cheers
Peter
Just wondering if there's a way to reference the currently executing Thread in a load test step? I'm trying to write some log messages to a file while doing a LoadTest and I don't really want to wrestle with the hassle of multiple threads trying to write to the same file. My solution was to create a separate log file for each executing Thread but am not sure how to figure out which Thread is currently executing.
If anyone has any ideas on that one or if a better method of logging details from a LoadTest that would be much appreciated.
Cheers
Peter