Please give suggesstions

Hi can anybody help me regarding below scenarios

Scenario1: I have 2 scripts which i have to execute from Controller. First script will create tickets and second script will cancel few tickets which are created in first script.. .. I have to use ticket values which are generated dynamically with first script.
my question is how i can plan this scenario.. Both script should run parallelly..

Scenario2: I want to save all the server response file(HTML) to my local disk.
Ex: Google
1. open goolge
2. search "perforamance Test"

request comes from server with all html pages. i want save those html server responses to my local drive