Have the companion summoned when you enter an operations area and you get credit for the kills within the operation.
Alternatively, go to a starter world where you can one shot everything and there are quick respawn timers (I like ord mantell starter zone for republic side).