These videos gives an overview of how to create automation scripts and also how these can be used to do performance characterization and benchmarking.

Part 1

Part 2