We are working on a thick client application , there is request which has lot of ID’s (unique one’s) in the request body.
we need to parameterize the each occurence in the request body and there are 1700 occurrences approximately, so how do we handle this.
UUID generator works for each Iteration, do we have something similar to do for occurrence or do we have any different approach for sending parameters for each occurrence within on request.
I don’t understand what you mean here. What are these UUIDs? I guess they are not random but must match some state in the database. Probably ids that come from a list sent by the server. If so, you have to feed them from a test data file or capture them from a previous response from the server.
Hi
This is .NET desktop application. So what happens here is these ID’s are generated on client side and are pushed to DB. so there is need to generate unique ID’s for us in gatling.
// generate a random UUID String (fast but cryptographically insecure)
"#{randomUuid()}"
// generate a random UUID String (standard java.util.UUID#randomUUID: cryptographically secure, but > slower)
"#{randomSecureUuid()}"
Both work for generating UUID, I bet you’ll need only the first one (faster) because the need for the second one is rare.
Yes, this community forum assume to be up to date.