Well they both helped to modernize/industrialize the U.S, so it depends which view point you would like to take. They stole the plans from england, who had successfully monopolized industrialization for almost a century, who would be upset at this loss of control and therefore business. However an American would probably be thankful for the industry that blossomed as a result of these actions.
Boston Tea Party Date
December 16, 1773
Boston Massacre Date
March 5, 1770
Your answer is Before
The Quartering Act is the answer to this problem
what do you need help with?