On 8 September 2011 10:42, freesky <h...@windowslive.com> wrote: > Like Selenium, we can write the program to generate/run the Selenium script, > so can we use program to generate the JMeter script? Thanks in advance!
JMeter scripts are text files, so you can use just about any programming or scripting languange you want to create them. But why do you want to write your own scripts? JMeter supports reading variables from files, so it's generally better to create a sample script using a fixed set users etc., get that working OK, and then convert that to use external files for variables. JMeter holds the entire compiled script file in memory (and has to duplicate certain parts of it for each thread) if you want to use a program to write very long scripts you will find that JMeter and the JVM may struggle to run it. > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Can-i-use-program-to-generate-the-jmeter-script-tp4781872p4781872.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org