What was the forerunner of the Foreign Service Examination?

President Grover Cleveland issued an Executive Order on September 20, 1895 that required appointees to consular positions with salaries between $1,000 and $2,500 to be either a qualified officer of the Department, or to pass a written examination on consular regulations and an oral examination that included demonstrating proficiency in a foreign language. Executive orders issued by President Theodore Roosevelt on November 10, 1905 and June 27, 1906 instituted examinations for the lower grades of the Consular Service and for secretaries in the Diplomatic Service.