You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Venkatesh N <Ve...@Moviuscorp.com.INVALID> on 2021/11/30 07:44:53 UTC

Getting issue while sending the API request in 8443 port

Hello jmeter expertise,

Please help me to resolve this issue.

POST https://elastic.moviuscorp.net:8443/stat

POST data:
{"name":"test item"}

org.apache.http.NoHttpResponseException: elastic.moviuscorp.net:8443 failed to respond
              at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
              at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
              at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
              at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)

Thanks,
Venkatesh. N
[A picture containing object  Description automatically generated]
www.moviuscorp.com

Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.

Re: Getting issue while sending the API request in 8443 port

Posted by Tong Sun <su...@gmail.com>.
$ telnet elastic.moviuscorp.net 8443
Trying 169.57.62.3...
Connected to elastic.moviuscorp.net.
Escape character is '^]'.
^CConnection closed by foreign host.

Note the IP that I get is different from yours. So maybe, just maybe, your
POSTMAN is talking to an IP while your JMeter is talking to another IP?

On Tue, Nov 30, 2021 at 1:45 PM Venkatesh N
<Ve...@moviuscorp.com.invalid> wrote:

> Yes I am able to connect to the server using the telnet command with port
>
>
>
> ➤ telnet elastic.moviuscorp.net 8443
>
> Trying 109.07.00.0...
>
> Connected to elastic.moviuscorp.net.
>
> Escape character is '^]'.
>
> also from the POSTMAN tool I can able to execute this API requests.
>

Re: Getting issue while sending the API request in 8443 port

Posted by Felix Schumacher <fe...@internetallee.de>.
It might be, that the server has some built-in measures, that is closing
an connection from a non-well behaved client.

Non-well behaved might be
  * wrong client-ip range
  * wrong/missing user-agent header
  * wrong/missing content-type header

Take a look at the headers postman is sending and try to emulate those, too.

I think you can export the postman request as a curl command line text.
Such a text can be imported into a JMeter test
(http://jmeter.apache.org/usermanual/curl.html)

And I would ask the infrastructure people in such cases, where a server
does not want to talk to me :)

Felix

Am 30.11.21 um 19:45 schrieb Venkatesh N:
>
> Yes I am able to connect to the server using the telnet command with port
>
>  
>
> ➤telnet elastic.moviuscorp.net 8443
>
> Trying 109.07.00.0...
>
> Connected to elastic.moviuscorp.net.
>
> Escape character is '^]'.
>
> also from the POSTMAN tool I can able to execute this API requests.
>
>  
>
> Thanks,
>
> Venkatesh. N
>
> A picture containing object Description automatically generated**
>
> www.moviuscorp.com
>
>  
>
> *From:*Hayden Aronson <Ha...@microfocus.com>
> *Sent:* 30 November 2021 23:34
> *To:* JMeter Users List <us...@jmeter.apache.org>
> *Subject:* RE: Getting issue while sending the API request in 8443 port
>
>  
>
> Caution: This email is originated from outside of Movius Domain. Be
> cautious while opening any links or attachments."
>
> Looks like there could be an issue with the server you're trying to
> connect to.
>
> From: Venkatesh N <Venkatesh.N@Moviuscorp.com.INVALID
> <ma...@Moviuscorp.com.INVALID>>
> Sent: Tuesday, November 30, 2021 00:45
> To: user@jmeter.apache.org <ma...@jmeter.apache.org>
> Subject: Getting issue while sending the API request in 8443 port
> >
> > Hello jmeter expertise,
> >
> > Please help me to resolve this issue.
> >
> > POST https://elastic.moviuscorp.net:8443/stat
> <https://elastic.moviuscorp.net:8443/stat>
> >
> > POST data:
> > {"name":"test item"}
> >
> > org.apache.http.NoHttpResponseException:
> http://elastic.moviuscorp.net:8443
> <http://elastic.moviuscorp.net:8443> failed to respond
> > at
> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
> > at
> org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
> > at
> org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
> > at
> org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
> >
> >
> > Thanks,
> > Venkatesh. N
> >
> > www.moviuscorp.com <http://www.moviuscorp.com>
> >
> > Confidentiality Note: The contents of this e-mail message and any
> attachments are confidential and are intended solely for addressee.
> The information may also be legally privileged. This transmission is
> sent in trust, for the sole purpose of delivery to the intended
> recipient. If you have received this transmission in error, any use,
> reproduction or dissemination of this transmission is strictly
> prohibited. If you are not the intended recipient, please immediately
> notify the sender by reply e-mail or phone and delete this message and
> its attachments, if any.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> <ma...@jmeter.apache.org>
> For additional commands, e-mail: user-help@jmeter.apache.org
> <ma...@jmeter.apache.org>
>
> Confidentiality Note: The contents of this e-mail message and any
> attachments are confidential and are intended solely for addressee.
> The information may also be legally privileged. This transmission is
> sent in trust, for the sole purpose of delivery to the intended
> recipient. If you have received this transmission in error, any use,
> reproduction or dissemination of this transmission is strictly
> prohibited. If you are not the intended recipient, please immediately
> notify the sender by reply e-mail or phone and delete this message and
> its attachments, if any.

RE: Getting issue while sending the API request in 8443 port

Posted by Venkatesh N <Ve...@Moviuscorp.com.INVALID>.
Yes I am able to connect to the server using the telnet command with port

➤ telnet elastic.moviuscorp.net 8443
Trying 109.07.00.0...
Connected to elastic.moviuscorp.net.
Escape character is '^]'.

also from the POSTMAN tool I can able to execute this API requests.

Thanks,
Venkatesh. N
[A picture containing object  Description automatically generated]
www.moviuscorp.com

From: Hayden Aronson <Ha...@microfocus.com>
Sent: 30 November 2021 23:34
To: JMeter Users List <us...@jmeter.apache.org>
Subject: RE: Getting issue while sending the API request in 8443 port

Caution: This email is originated from outside of Movius Domain. Be cautious while opening any links or attachments."

Looks like there could be an issue with the server you're trying to connect to.

From: Venkatesh N <Ve...@Moviuscorp.com.INVALID>>
Sent: Tuesday, November 30, 2021 00:45
To: user@jmeter.apache.org<ma...@jmeter.apache.org>
Subject: Getting issue while sending the API request in 8443 port
>
> Hello jmeter expertise,
>
> Please help me to resolve this issue.
>
> POST https://elastic.moviuscorp.net:8443/stat<https://elastic.moviuscorp.net:8443/stat>
>
> POST data:
> {"name":"test item"}
>
> org.apache.http.NoHttpResponseException: http://elastic.moviuscorp.net:8443<http://elastic.moviuscorp.net:8443> failed to respond
> at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
> at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
> at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
> at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
>
>
> Thanks,
> Venkatesh. N
>
> www.moviuscorp.com<http://www.moviuscorp.com>
>
> Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org<ma...@jmeter.apache.org>
For additional commands, e-mail: user-help@jmeter.apache.org<ma...@jmeter.apache.org>
Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.

RE: Getting issue while sending the API request in 8443 port

Posted by Hayden Aronson <Ha...@microfocus.com>.
Looks like there could be an issue with the server you're trying to connect to.

From: Venkatesh N <Ve...@Moviuscorp.com.INVALID> 
Sent: Tuesday, November 30, 2021 00:45
To: user@jmeter.apache.org
Subject: Getting issue while sending the API request in 8443 port
> 
> Hello jmeter expertise,
> 
> Please help me to resolve this issue.
> 
> POST https://elastic.moviuscorp.net:8443/stat
> 
> POST data:
> {"name":"test item"}
> 
> org.apache.http.NoHttpResponseException: elastic.moviuscorp.net:8443 failed to respond
>               at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:141)
>               at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
>               at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
>               at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
> 
> 
> Thanks,
> Venkatesh. N
>  
> www.moviuscorp.com
> 
> Confidentiality Note: The contents of this e-mail message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply e-mail or phone and delete this message and its attachments, if any.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org