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]

Reply via email to