in reply to OT: Terminate signal from remote to local machine in perl
This is not a perl problem, it is a JMeter problem. You need to know how to access returned values from scripts executed using autoshell.