Rigon will be in the cockpit on each day, with Massa coming in on Friday morning.
The experienced Brazilian has been given the slot to test the new Pirelli tyres after a string of issues at the Silverstone Grand Prix.
Rigon, an Italian driver, has been with Ferrari since 2011. He will work on the technical development of the car.
They will both drive the Ferrari F138.