Binary data for feeder

Hi all,

I’m having use case to send some binary data for feeder, is this possible in gatling?

When I’m trying to resolve variables using ${variableName} I’m getting string

Thank you,
Mika

In case someone visits this page:

.exec(kafka(“kafka trade upload”)
.send(session => session(“trade”).validate[TradeTradeId].map(s => s.tradeId.getBytes),
session => session(“trade”).validate[TradeTradeId].map(s => s.tradeEvent)))

Extract values directly from the session

in case someone visits this thread:

.exec(kafka(“kafka trade upload”)
.send(session => session(“trade”).validate[TradeTradeId].map(s => s.tradeId.getBytes),
session => session(“trade”).validate[TradeTradeId].map(s => s.tradeEvent)))

extract binary values from session directly