You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by sebb <se...@gmail.com> on 2006/01/30 13:05:59 UTC

Re: HTTPS error: Host portion is not a valid DNS name, IPv4 address, or IPv6address

On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
>
> Hi All,
>        I have a script which logs into a secure site and then logs out.
> I run this script on a Unix server with Jmeter 1.9.1 & J2SDK 1.4.2.   The
> HTTPS Sampler fails.
>
> The same script works fine in local machine (Win XP Prof  + Jdk 1.2 + JSSE
> 1.3 + Jmeter 1.9.1)
>

Most likely the hostname is not defined on the Unix host.

The version of JMeter you are using is very old - as is the version of
Java on the WinXP system.

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


Re: HTTPS error: Host portion is not a valid DNS name, IPv4 address, orIPv6address

Posted by Amit Kulkarni <am...@gmail.com>.
You provide host as http and port as 8080 and record this works for secured
site

Amit

On 1/30/06, sebb <se...@gmail.com> wrote:
>
> On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
> >
> > Sebb,
> >        Thanks for the reply. I don't have permission to install the new
> > version of Jmeter in Unix servers. All I can do is to use the existing
> > jmeter (ver 1.9.1).
>
> BTW, it's not necessary to "install" JMeter; it can be run from any
> directory.
>
> > This version of Jmeter works fine with HTTP requests. It fails only with
> > HTTPS requests.
>
> In that case, the problem is probably nothing to do with JMeter.
>
> > I am able to do nslookup from the Unix server. So I think this host name
> > is defined in Unix host.
>
> Have you tried http: for the same URL? Even if there is no server at
> that address, it may give some more clues.
>
> > Is there anyway by which I can use the existing jmeter ver 1.9.1 to test
> > HTTPS websites?.
>
> Yes, use your Win XP box, as that works OK.
>
> > Please clarify me if I am wrong.
>
> It must be the Unix box that is differently configured from the WinXP one.
>
> > Thanks
> >
> -----------------------------------------------------------------------------
> > Premkumar M
> > Assistant Systems Engineer
> > Tata Consultancy Services Limited
> > Cell:- 09886755431
> > Mailto: prem.m@tcs.com
> > Website: http://www.tcs.com
> >
> -----------------------------------------------------------------------------
> >
> > sebb <se...@gmail.com> wrote on 01/30/2006 05:35:59 PM:
> >
> > > On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
> > > >
> > > > Hi All,
> > > >        I have a script which logs into a secure site and then logs
> > out.
> > > > I run this script on a Unix server with Jmeter 1.9.1 & J2SDK 1.4.2.
> > The
> > > > HTTPS Sampler fails.
> > > >
> > > > The same script works fine in local machine (Win XP Prof  + Jdk 1.2+
> > JSSE
> > > > 1.3 + Jmeter 1.9.1)
> > > >
> > >
> > > Most likely the hostname is not defined on the Unix host.
> > >
> > > The version of JMeter you are using is very old - as is the version of
> > > Java on the WinXP system.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> >
> > > ForwardSourceID:NT00010AF6
> >
> > Notice: The information contained in this e-mail message and/or
> attachments to it may contain confidential or privileged information.   If
> you are not the intended recipient, any dissemination, use, review,
> distribution, printing or copying of the information contained in this
> e-mail message and/or attachments to it are strictly prohibited.   If you
> have received this communication in error, please notify us by reply e-mail
> or telephone and immediately and permanently delete the message and any
> attachments.  Thank you
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


--
To be what we are, and to become what we are capable of becoming, is the
only end of life.

Re: HTTPS error: Host portion is not a valid DNS name, IPv4 address, orIPv6address

Posted by sebb <se...@gmail.com>.
On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
>
> Sebb,
>        Thanks for the reply. I don't have permission to install the new
> version of Jmeter in Unix servers. All I can do is to use the existing
> jmeter (ver 1.9.1).

BTW, it's not necessary to "install" JMeter; it can be run from any directory.

> This version of Jmeter works fine with HTTP requests. It fails only with
> HTTPS requests.

In that case, the problem is probably nothing to do with JMeter.

> I am able to do nslookup from the Unix server. So I think this host name
> is defined in Unix host.

Have you tried http: for the same URL? Even if there is no server at
that address, it may give some more clues.

> Is there anyway by which I can use the existing jmeter ver 1.9.1 to test
> HTTPS websites?.

Yes, use your Win XP box, as that works OK.

> Please clarify me if I am wrong.

It must be the Unix box that is differently configured from the WinXP one.

> Thanks
> -----------------------------------------------------------------------------
> Premkumar M
> Assistant Systems Engineer
> Tata Consultancy Services Limited
> Cell:- 09886755431
> Mailto: prem.m@tcs.com
> Website: http://www.tcs.com
> -----------------------------------------------------------------------------
>
> sebb <se...@gmail.com> wrote on 01/30/2006 05:35:59 PM:
>
> > On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
> > >
> > > Hi All,
> > >        I have a script which logs into a secure site and then logs
> out.
> > > I run this script on a Unix server with Jmeter 1.9.1 & J2SDK 1.4.2.
> The
> > > HTTPS Sampler fails.
> > >
> > > The same script works fine in local machine (Win XP Prof  + Jdk 1.2 +
> JSSE
> > > 1.3 + Jmeter 1.9.1)
> > >
> >
> > Most likely the hostname is not defined on the Unix host.
> >
> > The version of JMeter you are using is very old - as is the version of
> > Java on the WinXP system.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
> > ForwardSourceID:NT00010AF6
>
> Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you
>

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


Re: HTTPS error: Host portion is not a valid DNS name, IPv4 address, orIPv6address

Posted by pr...@tcs.com.
Sebb,
        Thanks for the reply. I don't have permission to install the new 
version of Jmeter in Unix servers. All I can do is to use the existing 
jmeter (ver 1.9.1).
This version of Jmeter works fine with HTTP requests. It fails only with 
HTTPS requests.

I am able to do nslookup from the Unix server. So I think this host name 
is defined in Unix host.

Is there anyway by which I can use the existing jmeter ver 1.9.1 to test 
HTTPS websites?.

Please clarify me if I am wrong.

Thanks
-----------------------------------------------------------------------------
Premkumar M
Assistant Systems Engineer
Tata Consultancy Services Limited
Cell:- 09886755431
Mailto: prem.m@tcs.com
Website: http://www.tcs.com
-----------------------------------------------------------------------------

sebb <se...@gmail.com> wrote on 01/30/2006 05:35:59 PM:

> On 30/01/06, prem.m@tcs.com <pr...@tcs.com> wrote:
> >
> > Hi All,
> >        I have a script which logs into a secure site and then logs 
out.
> > I run this script on a Unix server with Jmeter 1.9.1 & J2SDK 1.4.2. 
The
> > HTTPS Sampler fails.
> >
> > The same script works fine in local machine (Win XP Prof  + Jdk 1.2 + 
JSSE
> > 1.3 + Jmeter 1.9.1)
> >
> 
> Most likely the hostname is not defined on the Unix host.
> 
> The version of JMeter you are using is very old - as is the version of
> Java on the WinXP system.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 

> ForwardSourceID:NT00010AF6 

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you