its the first parameter you pass to shutdown.sh shutdown.sh 4445 should work
regards deepak On Mon, Nov 9, 2009 at 1:52 PM, Harry_ <[email protected]> wrote: > > Thanks deepak... > > What about shutdown of this ant task using some other program... Say if I > want to shutdown these parallel threads using shutdown.sh or > stoptest.sh.... > How can I do that? I mean shutdown of specific script say which is running > on non gui port 4448.... How can we achieve this.... I need this to stop a > thread at particular time (in the morning when server is going to be used > by > all or when load is to be reduced in between the test by stopping few > scripts).... Is there any way to specify port along with the shudown.sh and > stoptest.sh scripts present within bin folder of jMeter.... > > > Thanks and Regards > > > Deepak Shetty wrote: > > > > its a jmeter property. assuming you are using the jmeter ant task from > > http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php > > > > <taskdef > > name="jmeter" > > classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask"/> > > > > <jmeter > > jmeterhome=".." > > testplan="${run.test.plan}" > > resultlog="${result.log}"> > > <property name="jmeterengine.nongui.port" value="4447" /> > > > > </jmeter> > > you would ofcourse vary the value of the port. If you arent interested > ins > > ending shutdown messages you can set this as 0 in jmter.properties and it > > should work as well > > > > regards > > deepak > > > > > > On Mon, Nov 9, 2009 at 10:39 AM, Harry_ <[email protected]> wrote: > > > >> > >> Thanks for the reply Deepak... > >> > >> Can you please tell me the way to pass "jmeterengine.nongui.port" value > >> for > >> each test which needs to be run in parallel in separate JVM through ant. > >> > >> Regards, > >> Harjit Singh > >> > >> > >> Deepak Shetty wrote: > >> > > >> > Hi > >> > if you are running jmeter in parallel on the same machine then you are > >> > probably getting this problem due to the shutdown port (port 4445) > >> > specified > >> > in jmeter.properties. If you want to run in parallel then you need to > >> > specify different port numbers for each. > >> > > >> > regards > >> > deepak > >> > > >> > On Mon, Nov 9, 2009 at 9:43 AM, Harry_ <[email protected]> wrote: > >> > > >> >> > >> >> I am getting the following java.net.BindException: Address already in > >> use > >> >> when executing two test plans in parallel using ant. Please see > >> details > >> >> of > >> >> ant run below. I am getting the results of both the test plans but I > >> >> guess > >> >> those are not executed in parallel (just assuming from the exception > >> >> message > >> >> above). But I can see the resulting output (.jtl) files size increase > >> in > >> >> parallel. > >> >> > >> >> I am not understanding if both plans are executing in parallel then > >> why > >> >> the > >> >> exception. > >> >> > >> >> And if they are not running in parallel then how are they running (as > >> >> outout > >> >> files are generated parallel) > >> >> > >> >> Totally confused about actual working. > >> >> > >> >> Can anyone please clarify this and tell me the right way to execute > >> >> multiple > >> >> Jmeter test plans in parallel using ant without getting this > >> exception? > >> >> > >> >> > >> >> > >> > ****************************************************************************************************************** > >> >> Running jMeter Scripts... > >> >> Executing test plan: /home/singhh/NetBeansProjects/jMeter > >> >> D6/test.nsonline.org.uk/Single User/EarlyYears_Parameterized2.jmx > ==> > >> >> > >> >> > >> > /home/singhh/NetBeansProjects/AntPerformance/d6/results/EarlyYears_Parameterized2.jtl > >> >> Created the tree successfully using > >> /home/singhh/NetBeansProjects/jMeter > >> >> D6/test.nsonline.org.uk/Single User/EarlyYears_Parameterized.jmx > >> >> Starting the test @ Mon Nov 09 17:32:29 GMT 2009 (1257787949099) > >> >> Waiting for possible shutdown message on port 4445 > >> >> Created the tree successfully using > >> /home/singhh/NetBeansProjects/jMeter > >> >> D6/test.nsonline.org.uk/Single User/EarlyYears_Parameterized2.jmx > >> >> Starting the test @ Mon Nov 09 17:32:29 GMT 2009 (1257787949356) > >> >> Waiting for possible shutdown message on port 4445 > >> >> java.net.BindException: Address already in use > >> >> at java.net.PlainDatagramSocketImpl.bind0(Native Method) > >> >> at > >> >> > java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82) > >> >> at java.net.DatagramSocket.bind(DatagramSocket.java:368) > >> >> at java.net.DatagramSocket.<init>(DatagramSocket.java:210) > >> >> at java.net.DatagramSocket.<init>(DatagramSocket.java:261) > >> >> at java.net.DatagramSocket.<init>(DatagramSocket.java:234) > >> >> at > >> >> > >> >> > >> > org.apache.jmeter.engine.StandardJMeterEngine.waitForSignals(StandardJMeterEngine.java:227) > >> >> at > >> >> > >> >> > >> > org.apache.jmeter.engine.StandardJMeterEngine.access$100(StandardJMeterEngine.java:58) > >> >> at > >> >> > >> >> > >> > org.apache.jmeter.engine.StandardJMeterEngine$1.run(StandardJMeterEngine.java:207) > >> >> Tidying up ... @ Mon Nov 09 17:33:05 GMT 2009 (1257787985357) > >> >> ... end of run > >> >> Generating Reports... > >> >> Processing > >> >> > >> >> > >> > /home/singhh/NetBeansProjects/AntPerformance/d6/results/EarlyYears_Parameterized.jtl > >> >> to > >> >> > >> >> > >> > /home/singhh/NetBeansProjects/AntPerformance/d6/results/EarlyYears_Parameterized_summary.html > >> >> Loading stylesheet > >> >> /usr/local/jakarta-jmeter-2.3.4/extras/jmeter-results-report_21.xsl > >> >> Processing > >> >> > >> >> > >> > /home/singhh/NetBeansProjects/AntPerformance/d6/results/EarlyYears_Parameterized.jtl > >> >> to > >> >> > >> >> > >> > /home/singhh/NetBeansProjects/AntPerformance/d6/results/EarlyYears_Parameterized_detailed.html > >> >> Loading stylesheet > >> >> > >> > /usr/local/jakarta-jmeter-2.3.4/extras/jmeter-results-detail-report_21.xsl > >> >> > >> >> > >> >> > >> > ****************************************************************************************************************** > >> >> -- > >> >> View this message in context: > >> >> > >> > http://old.nabble.com/Exception-%28java.net.BindException%29-on-running-parallel-test-using-ant....-But-still-getting-results...-8-o-tp26270586p26270586.html > >> >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [email protected] > >> >> For additional commands, e-mail: [email protected] > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://old.nabble.com/Exception-%28java.net.BindException%29-on-running-parallel-test-using-ant....-But-still-getting-results...-8-o-tp26270586p26271416.html > >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > -- > View this message in context: > http://old.nabble.com/Exception-%28java.net.BindException%29-on-running-parallel-test-using-ant....-But-still-getting-results...-8-o-tp26270586p26274365.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

