I have a J2EE application that needs some extensive integration testing. I am using Jmeter to generate HTTP POST requests. So far I manage to send them to the server correctly but the xml is static.
I am looking for a way to insert dynamic/random values into the XML and then send it to the server. Something like a PreProcessor but I am not sure how it is done.
Can anyone provide:
1. JMeter tutorials?
2. How to generate dynamic/random xml content to HTTP request
3. JMeter examples
Many thanks,
Gadi.
JMeter guidelines strongly recommend to use pre-generated data to have good perfomance and accuracy.
The task could be done via CSV Data Set Config component (Best Practices, section 16.5). The main idea is to generate a big test data set, save it to text file and then use as params in request template (line of CSV file per request). One can put whole request as one and only param if s/he wish.
Please be noted that JMeter 2.3.4 (latest version atm) has some restrictions:
Thanks, Maksim
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With