Om een verband tussen de immuunrespons en gedrag te begrijpen, beschrijven we een methode om locomotorisch gedrag te meten in<em> Drosophila</em> Tijdens bacteriële infectie en het vermogen van vliegen tot een immuunrespons door monitoring overleving, bacteriële belasting en real-time activiteit van een centrale regulator van aangeboren immuniteit, NFKB.