SWTOR is f2p, try it out yourself... WoW also has a trial, try it out yourself, or drop 15$ on a month of WOW and get a high level character with zero effort due to how easy leveling became.
But really, PvP is an addition for each game that tries to appeal to a different group of people, but neither game really does it well, so in a sense they are kind both 'mainly' PvE endgame-games. But whatever makes you happy in the end i guess.