Re: Can i use program to generate the jmeter script
Yes. HTTP Proxy and Bad Boy. - http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/Can-i-use-program-to-generate-the-jmeter-script-tp4781872p4785632.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
Re: Can i use program to generate the jmeter script
Thank you for your replies. Actually, what I mean is, for example, there is a http request 'www.google.com', then can I use program to translate this request to jmeter script? Thanks! -- View this message in context: http://jmeter.512774.n5.nabble.com/Can-i-use-program-to-generate-the-jmeter-script-tp4781872p4784840.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
Re: Can i use program to generate the jmeter script
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 > On 8 September 2011 10:42, freesky 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 > >
Re: Can i use program to generate the jmeter script
On 8 September 2011 10:42, freesky 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
Re: Can i use program to generate the jmeter script
"bad boy" could be a suitable choice for you. Do not know if it can be read in the jmetet2.5 And you can write your own java testing scripts invoking jmeter source codes. On Sep 8, 2011 5:51 PM, "freesky" 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! > > -- > 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 >