How to do integration test with programmatically generated data and still get logs from sls?

Let’s say there is a lambda function which get shop_id, product_id, product_count from event. I know how to test it with invoke and mock data, but how to do it with programmatically generated data? e.g. uuid for product_id, shop_id, and a random nuber as couint… and do it with --log enabled.