Hi, Can't you generate your search parameters randomly in advance of the test, save them to a data file, and then iterate through that file over the course of your test, sending each line as a single search request?
Regards, Adrian -----Original Message----- From: Hiro Protagonist [mailto:[EMAIL PROTECTED] Sent: 28 October 2008 10:26 To: JMeter Users List Subject: Building random string ************************************* This e-mail has been received by the Revenue Internet e-mail service. (IP) ************************************* Hi all, I have searched for a solution (or building blocks to a solution) to this, but haven't found anything so far, and all my attempts to solve this problem elegantly have failed - perhaps you can help... I am trying to send a request, which contains within it some search criteria, that can narrow down a search result when submitted. Let's say, for argument's sake, there are 3 terms that can be used to restrict what comes back. Any combination of these 3 terms can be used - and herein lies the problem. I can, using a regex and random controller, send a request that randomly picks from one of those 3 terms (by creating 3 child requests of the random controller), but what I can't do is pick a random COMBINATION of these values. Furthermore, following the 'regex-and-random-controller' approach, I end up having to manually create a request for each of the possible combinations ( => cartesian product). In case I haven't been clear, an example: For a pet shop, you can display what kinds of aninmals you would like to see, e.g. 'dog','cat','bird'. I can randomise and send requests using either only dog, or only cat, or only bird, but I can't figure out how to send requests for a random combination of any of those three: <criteria>DOG</criteria> or <criteria>DOG+CAT</criteria> or <criteria>DOG+CAT+BIRD</criteria> I hope I have explained this sufficiently... Thanks for your help. Regards, hiro --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************ This message has been delivered to the Internet by the Revenue Internet e-mail service (OP) ************************* --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

