JMeter set var jsr

// value must be str type
vars.put("variable_name", "value");
Alexey Svetlov