כדי להבין את קשר בין התגובה החיסונית ובהתנהגות, שאנו מתארים שיטה למדידת התנהגות רצוניים ב<em> דרוזופילה</em> במהלך זיהום חיידקים, כמו גם את היכולת של זבובים לעלות תגובה חיסונית על ידי ניטור הישרדות, עומס בקטריאלי, ופעילות בזמן אמת של רגולטור מפתח של חסינות מולדת, NFκB.