They were called beatniks.
Beatniks were from 1954, officially coinciding with Ginzberg’s Howl! What came before was diversely called Flappers and Dada-ist, and there weren’t any in the trenches, probably because they’d be discharged during Basic for being insane, though a “hep cat” into Swing was acceptable.