A rapid in vivo assay to test for neuromodulatory compounds using the Giant Fiber System (GFS) of Drosophila melanogaster is described. Nanoinjections in the head of the animal along with electrophysiological recordings of the GFS can reveal bioactivity of compounds on neurons or muscles.