You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Peter Lin <wo...@gmail.com> on 2005/08/22 20:34:03 UTC

Re: JMeter Question - Regarding virtual hosts

hmm... I assume you're able to view it successfully in a browser?

what kind of error do you see in jmeter.log?

peter lin


On 8/22/05, srinathv <sr...@mail.ku.edu> wrote:
> Hi Peter,
> 
>    No luck. whatever i give in the "server name or IP" tab in HTTP Req. it
> gives me an error.
>   Actually the way its set up is,
> 
>    website1/ points to default apache tomcat homepage while
>    website1/quizstar1 points to the web application homepage.
> 
>    website2/ points to default apache tomcat homepage while
>    website2/quizstar2 points to the web application homepage.
> 
> 
> >===== Original Message From Peter Lin <wo...@gmail.com> =====
> >I've never tried to setup virtual host that way.  you might want to
> >try something like
> >
> >   192.168.75.1       mydoamin
> >   192.168.75.1       mydomain2
> >   192.168.75.1       mydomain3
> >   192.168.75.1       mydomain4
> >
> >this way, jmeter won't care at all and the system's host file will do
> >the resolution to the server.
> >
> >peter lin
> >
> >On 8/22/05, srinathv <sr...@mail.ku.edu> wrote:
> >> Hello Peter,
> >>
> >>    I'm performance testing a web application. I have different number of
> >> virtual hosts created under tomcat. (My webserver is running tomcat 5.0). I
> >> want to know how to make Jmeter generate traffic simultaneously to each
> >> virtual host on the web server?
> >>
> >>    I have an isolated network connection to the webserver(192.168.75.1)
> which
> >> hosts the webapplcation. I dont have a external DNS server. Instead I map
> the
> >> domain names with the server address manually in the
> >> C:\WINDOWS\system32\drivers\etc\hosts file in the client machine as
> follows.
> >>
> >>     192.168.75.1       website1
> >>     192.168.75.1       website2
> >>     192.168.75.1       website1/quizstar1/    # virtual host 1
> >>     192.168.75.1       website2/quizstar2/    # virtual host 2
> >>
> >>
> >> Thanks
> >> Srinath vaidyanathan
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> 
> 
>

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


Re: JMeter Question - Regarding virtual hosts

Posted by Srinath vaidyanathan <sr...@gmail.com>.
Thanks peter, i managed to figure out how to use virtual hosts using
jmeter. got it working. thanks a lot.
srinath


On 8/22/05, Peter Lin <wo...@gmail.com> wrote:
> hmm... I assume you're able to view it successfully in a browser?
> 
> what kind of error do you see in jmeter.log?
> 
> peter lin
> 
> 
> On 8/22/05, srinathv <sr...@mail.ku.edu> wrote:
> > Hi Peter,
> >
> >    No luck. whatever i give in the "server name or IP" tab in HTTP Req. it
> > gives me an error.
> >   Actually the way its set up is,
> >
> >    website1/ points to default apache tomcat homepage while
> >    website1/quizstar1 points to the web application homepage.
> >
> >    website2/ points to default apache tomcat homepage while
> >    website2/quizstar2 points to the web application homepage.
> >
> >
> > >===== Original Message From Peter Lin <wo...@gmail.com> =====
> > >I've never tried to setup virtual host that way.  you might want to
> > >try something like
> > >
> > >   192.168.75.1       mydoamin
> > >   192.168.75.1       mydomain2
> > >   192.168.75.1       mydomain3
> > >   192.168.75.1       mydomain4
> > >
> > >this way, jmeter won't care at all and the system's host file will do
> > >the resolution to the server.
> > >
> > >peter lin
> > >
> > >On 8/22/05, srinathv <sr...@mail.ku.edu> wrote:
> > >> Hello Peter,
> > >>
> > >>    I'm performance testing a web application. I have different number of
> > >> virtual hosts created under tomcat. (My webserver is running tomcat 5.0). I
> > >> want to know how to make Jmeter generate traffic simultaneously to each
> > >> virtual host on the web server?
> > >>
> > >>    I have an isolated network connection to the webserver(192.168.75.1)
> > which
> > >> hosts the webapplcation. I dont have a external DNS server. Instead I map
> > the
> > >> domain names with the server address manually in the
> > >> C:\WINDOWS\system32\drivers\etc\hosts file in the client machine as
> > follows.
> > >>
> > >>     192.168.75.1       website1
> > >>     192.168.75.1       website2
> > >>     192.168.75.1       website1/quizstar1/    # virtual host 1
> > >>     192.168.75.1       website2/quizstar2/    # virtual host 2
> > >>
> > >>
> > >> Thanks
> > >> Srinath vaidyanathan
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
>

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