mike_shysh
12/27/2017, 4:45 PMrepeat(times) {
val customerInfoResponse = RequestBuilder("Customer", "add_customer")
.sendPost<AuthInfoSID,CustomerInfo>(sessionID,
customerModel.also { model ->
model.customerInfo?.apply { name = name?.addRandomPart(7) }
})
.extractBody<AddUpdateCustomerResponse>()
}
What is the proper way to use fresh customerModel in every iteration?