**Exhibit 31.2**

**CERTIFICATION**

I,Henry H. Graham, certify that:

1.             Ihave reviewed this quarterly report on Form 10-Q of TNS, Inc.;

2.             Basedon my knowledge, this report does not contain any untrue statement of amaterial fact or omit to state a material fact necessary to make the statementsmade, in light of the circumstances under which such statements were made, notmisleading with respect to the period covered by this report;

3              Basedon my knowledge, the financial statements, and other financial informationincluded in this report, fairly present in all material respects the financialcondition, results of operations and cash flows of the registrant as of, andfor, the periods presented in this report;

4.             The registrant’s other certifyingofficer(s) and I are responsible for establishing and maintaining disclosurecontrols and procedures (as defined in Exchange Act Rules 13a-15eand 15d-15e) and internal control over financial reporting (as defined inExchange Act Rules 13a-15f and 15d-15f) for the registrant and have:

a.             Designed such disclosure controls and procedures, orcaused such disclosure controls and procedures to be designed under oursupervision, to ensure that material information relating to the registrant,including its consolidated subsidiaries, is made known to us by others withinthose entities, particularly during the period in which this report is beingprepared;

b.             Designed such internal control over financial reporting,or caused such internal control over financial reporting to be designed underour supervision, to provide reasonable assurance regarding the reliability offinancing reporting and the preparation of financial statements for externalpurposes in accordance with generally accepted accounting principles.

c.             Evaluated the effectiveness of the registrant’sdisclosure controls and procedures and presented in  this report our conclusions about theeffectiveness of the disclosure controls and procedures, as of the end of theperiod covered by this report based on such evaluation; and

d.             Disclosed in this report any change in the registrant’sinternal control over financial reporting that occurred during the registrant’smost recent fiscal quarter (the registrant’s fourth fiscal quarter in the caseof an annual report) that has materially affected, or is reasonable likely tomaterially affect, the registrant’s internal control over financial reporting;and

5.             Theregistrant’s other certifying officer(s) and I have disclosed, based on ourmost recent evaluation of internal control over financial reporting, to theregistrant’s auditors and the audit committee of registrant’s board ofdirectors (or persons performing the equivalent functions):

a.             All significant deficiencies and material weaknesses inthe design or operation of internal controls over financial reporting which arereasonably likely to adversely affect the registrant’s ability to record,process, summarize and report financial information; and

b.             Any fraud, whether or not material, that involvesmanagement or other employees who have a significant role in the registrant’sinternal control over financial reporting.

DATE:August 9, 2006
| /s/ HENRY H. GRAHAM, JR                                             |   |
|---------------------------------------------------------------------|--------|
| Henry H.  Graham, Jr.                                          |
| Executive Vice  President, Chief Financial Officer &  Treasurer |

 

----