Maybe what you want is to store a JMeter script while you are navigating with a browser. For that purpose you can use JMeter "Http Proxy Server" component.
You can find a step by step tutorial in JMeter's website: http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf It describes how to record a test plan using the JMeter proxy. You can also take a look at this video tutorial to see how to record a test with JMeter: http://www.youtube.com/watch?v=3DC8jELL4So 2011/9/8 sebb <seb...@gmail.com> > 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 > >