How to pass dynamic value in String Body

Hi I have a scenario and I need to pass one dynamic value in the Body.

**For Example I have below scenario. I need to pass ${florgType} instead of "**DfolFleetOrgType**"**


val storeServiceMapping = scenario("StoreServiceMappingScenario")
  .exec(http("StoreServiceMapping")
    .post("/brimpx/operation/servicemapping")
    .headers(headers_store_service_mapping)
    .body(StringBody("{\"serviceId\":\"DF-VH\",\"florgType\":\"DfolFleetOrgType\"}"))
    .check(status.is(200)))

Can any one have idea on it. The above example working without any modifications.


Thanks,
Naveen

Just replace DfolFleetOrgType with ${florgType}

So your Body will look like:

.body(StringBody("{\"serviceId\":\"DF-VH\",\"florgType\":\"**${florgType}**\"}"))