Am 01.02.19 um 06:15 schrieb Sanjay Chaurasia:
Hi Team,

I have taken checkout of Jmeter source code from the location 
http://svn.apache.org/repos/asf/jmeter/trunk
When I am trying to execute "ant test" command, getting following error.

c.HttpMirrorServer: HttpMirror Server stopped
    [concat] java.net.BindException: Address already in use: JVM_Bind

This means, that some other process already has taken the port. Maybe you have another copy of JMeter running that has taken the port already?

Regards,

 Felix

    [concat]            at java.net.DualStackPlainSocketImpl.bind0(Native 
Method) ~[?:1.8.0_77]
    [concat]            at java.net.DualStackPlainSocketImpl.socketBind(Unknown 
Source) ~[?:1.8.0_77]
    [concat]            at java.net.AbstractPlainSocketImpl.bind(Unknown 
Source) ~[?:1.8.0_77]
    [concat]            at java.net.PlainSocketImpl.bind(Unknown Source) 
~[?:1.8.0_77]
    [concat]            at java.net.ServerSocket.bind(Unknown Source) 
~[?:1.8.0_77]
    [concat]            at java.net.ServerSocket.<init>(Unknown Source) 
~[?:1.8.0_77]
    [concat]            at java.net.ServerSocket.<init>(Unknown Source) 
~[?:1.8.0_77]
    [concat]            at 
org.apache.jmeter.protocol.http.control.HttpMirrorServer.run(HttpMirrorServer.java:154)
 [ApacheJMeter_http.jar:5.1-SNAPSHOT.20190131]
    [concat] 2019-01-31 15:26:07,199 ERROR o.a.j.p.h.s.HTTPJavaImpl: 
readResponse: java.io.IOException: Server returned HTTP response code: 403 for 
URL: http://localhost:8081/
    [concat] 2019-01-31 15:26:07,200 ERROR o.a.j.p.h.s.HTTPJavaImpl: Cause: 
java.io.IOException: Server returned HTTP response code: 403 for URL: 
http://localhost:8081/
    [concat] 2019-01-31 15:26:10,499 ERROR o.a.j.p.h.s.HTTPJavaImpl: 
readResponse: java.io.IOException: Server returned HTTP response code: 403 for 
URL: http://localhost:8081/
    [concat] 2019-01-31 15:26:10,500 ERROR o.a.j.p.h.s.HTTPJavaImpl: Cause: 
java.io.IOException: Server returned HTTP response code: 403 for URL: 
http://localhost:8081/

BUILD FAILED
C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:3013: The following 
error occurred while executing this line:
C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\build.xml:2871: CSV Files are 
not identical.
        
C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\testfiles\TestCookieManager.csv
         
label,responseCode,threadName,dataType,success,grpThreads,allThreads,SampleCount,ErrorCount
JSS_startMirror,200,setUp Thread Group 1-1,text,true,1,1,1,0
HTTP-Request-HC4,200,TG-ManagedCookieHC4 1-1,text,true,1,1,1,0
HTTPS-Request-HC4,Non HTTP response code: 
org.apache.http.conn.HttpHostConnectException,TG-ManagedCookieHC4 
1-1,text,true,1,1,1,0
HTTP-Request-Java,200,TG-ManagedCookieJava 2-1,text,true,1,1,1,0
HTTPS-Request-Java,Non HTTP response code: 
java.net.ConnectException,TG-ManagedCookieJava 2-1,text,true,1,1,1,0
HTTP-NonManagedCookie-HC4,200,TG-NonManagedCookieHC4 3-1,text,true,1,1,1,0
HTTPS-NonManagedCookie-HC4,Non HTTP response code: 
org.apache.http.conn.HttpHostConnectException,TG-NonManagedCookieHC4 
3-1,text,true,1,1,1,0
HTTP-NonManagedCookie-Java,200,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0
HTTPS-NonManagedCookie-Java,Non HTTP response code: 
java.net.ConnectException,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0
JSS_stopMirror,200,tearDown Thread Group 1-1,text,true,1,1,1,0

         
C:\Users\sanjay.chaurasia\Desktop\jmeter\trunk\bin\TestCookieManager.csv
         
label,responseCode,threadName,dataType,success,grpThreads,allThreads,SampleCount,ErrorCount
JSS_startMirror,200,setUp Thread Group 1-1,text,true,1,1,1,0
HTTP-Request-HC4,403,TG-ManagedCookieHC4 1-1,text,false,1,1,1,1
HTTPS-Request-HC4,Non HTTP response code: 
org.apache.http.conn.HttpHostConnectException,TG-ManagedCookieHC4 
1-1,text,true,1,1,1,0
HTTP-Request-Java,403,TG-ManagedCookieJava 2-1,text,false,1,1,1,1
HTTPS-Request-Java,Non HTTP response code: 
java.net.ConnectException,TG-ManagedCookieJava 2-1,text,true,1,1,1,0
HTTP-NonManagedCookie-HC4,403,TG-NonManagedCookieHC4 3-1,text,false,1,1,1,1
HTTPS-NonManagedCookie-HC4,Non HTTP response code: 
org.apache.http.conn.HttpHostConnectException,TG-NonManagedCookieHC4 
3-1,text,true,1,1,1,0
HTTP-NonManagedCookie-Java,403,TG-NonManagedCookieJava 4-1,text,false,1,1,1,1
HTTPS-NonManagedCookie-Java,Non HTTP response code: 
java.net.ConnectException,TG-NonManagedCookieJava 4-1,text,true,1,1,1,0
JSS_stopMirror,200,tearDown Thread Group 1-1,text,true,1,1,1,0

Total time: 5 minutes 45 seconds

If anyone have some suggestion to resolve the same. Kindly do the needful.

Regards,
Sanjay Chaurasia



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to