Green’s Dictionary of Slang

sweating n.

[sweat v.2 (2)]

(US) an interrogation; also attrib.

in J. Hall Letters from the West (1835) I 222: The torture of sweating [...] that is, of suspension by the arms, pinioned behind the back, brought a confession [DA].
Boston Journal 10 Apr. 2/3: It is curious that in London and New York at the same time there should be a serious revolt against the ‘sweating system’ [DA].
[US]Cincinnati Enquirer 21 Oct. 4: He confessed, under sweating, that he broke into several offices [DA].
[US]J. Thompson Criminal (1993) 91: They usually are that way after a hard sweating.
[US]Bentley & Corbett Prison Sl. 94: Sweating may be done using force, threats or incessant demanding.