Hi,

 

I am trying to send xml over http request. I am receiving the error
mentioned below.

 

Can anyone help me in this regard?

First question is when sending xml as body over http. Whether this kind
of scenario Jmeter does support or not.

It would be helpful if you could provide an example for this case.

 

Error 

 

java.net.BindException: Cannot assign requested address: JVM_Bind

                at java.net.DualStackPlainSocketImpl.bind0(Native
Method)

                at java.net.DualStackPlainSocketImpl.socketBind(Unknown
Source)

                at java.net.AbstractPlainSocketImpl.bind(Unknown Source)

                at java.net.PlainSocketImpl.bind(Unknown Source)

                at java.net.Socket.bind(Unknown Source)

                at
org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocket
Factory.java:120)

                at
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection
(DefaultClientConnectionOperator.java:180)

                at
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClient
ConnectionImpl.java:294)

                at
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultReq
uestDirector.java:643)

                at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReques
tDirector.java:479)

                at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien
t.java:906)

                at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClien
t.java:805)

                at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.executeRequest(HTTPH
C4Impl.java:481)

                at
org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl.sample(HTTPHC4Impl.j
ava:298)

                at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy.sample(HTTPSamp
lerProxy.java:74)

                at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:1105)

                at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:1094)

                at
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java
:429)

                at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)

                at java.lang.Thread.run(Unknown Source)

 

 

Thanks & Regards,

  <http://www.infogain.com/> 

LAL MANI KASHYAP | Sr. Software Engineer

Office:  +91-120- 244-5144 | Extn: 5150 | 

Mobile: +91-7042373222 | Skype: lalmani77

www.Infogain.com | Global Business and IT Consulting Leader

 

Reply via email to