You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Nop Lists <no...@gmail.com> on 2005/11/09 17:16:06 UTC

What browser is JMeter being recognized as?

Hello,
testing an application using JMeter the server has sent a response saying my
browser does not support framesets.
What browser does JMeter imitate (states to be)?
Can this be changed? For example in tools like httptrack I can tell the tool
what browser it declares itself as.
Thanks
Nop

Re: What browser is JMeter being recognized as?

Posted by Nop Lists <no...@gmail.com>.
Hello,

On 11/12/05, sebb <se...@gmail.com> wrote:
>
> Which version of JMeter/JVM?

JMeter 2.1.1, JVM 1.4.2_05

Did you add a Cookie Manager?


Yes.

Perhaps the browser is executing some JavaScript that sets a cookie?


I have attached the response to the previous posting and there is no
JavaScript in it.

JMeter does not run JavaScript in HTML pages, but that should not
> matter so long as you have captured everything the browser sends to
> the server.


I have managed to bypass the problem. In the response one frame is refered
by name. If I access it in a new request (no HTTP header needed) I get the
information I need.
Still I wonder why the initial request, the one with HTTP header attached
to, does not work.
Nop

S.
> On 10/11/05, Nop Lists <no...@gmail.com> wrote:
> > Hello,
> > thanks. that is what I did, but it does not work.
> > I had recorded with FireFox 1.07 and have no problems regarding frames
> with
> > it.
> >
> > This is how the request looks like:
> >
> > GET http://ndc.cosmos-bfe.rze.de.db.com/
> > Accept-Encoding: gzip,deflate
> > Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
> > Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com><
> http://ndc.cosmos-bfe.rze.de.db.com>
> > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
> > Gecko/20050915 Firefox/1.0.7
> > If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
> > Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> > ,text/plain;q=0.8,image/png,*/*;q=0.5
> > Keep-Alive: 300
> > Accept-Encoding: gzip,deflate
> > Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
> > Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com><
> http://ndc.cosmos-bfe.rze.de.db.com>
> > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
> > Gecko/20050915 Firefox/1.0.7
> > If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
> > Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> > ,text/plain;q=0.8,image/png,*/*;q=0.5
> > Keep-Alive: 300
> >
> > But the response is
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> > <HTML><HEAD>
> > <TITLE>CoSMOS Berater Frontend</TITLE>
> > <FRAMESET BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO ROWS="*,1">
> > <FRAME SRC="/redirect/startseite.htm" NAME="_main" SCROLLING=AUTO>
> > <FRAME SRC="" SCROLLING=NO>
> > </FRAMESET>
> > </HEAD><BODY>
> > <H1>Error</H1>
> > Your browser is not capable of displaying frames.
> > The service is not available to you.<HR>
> > <I>HTTP Redirector/1.2</I>
> > </BODY></HTML>
> >
> > Any idea?
> > Thanks
> > Nop
> >
> >
> > On 11/9/05, Rinke Heida <ri...@aris.nl> wrote:
> > >
> > > Add a HTTP Header Manager element in your testplan. Here you can set
> > > various defaults imitating your browser.
> > > e.g. User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> > > .NET CLR 1.0.3705)d
> > >
> > > Easiest is to record a script with "Capture HTTP Headers" checked.
> > > This way you wil get header info with your recorded request, and put
> > > this in your HTTP Header Manager.
> > >
> > > If you allready had this option checked while recording, you probably
> > > use a browser that doesn't support framesets.
> > >
> > > Rinke Heida
> > >
> > >
> > >
> > > Nop Lists wrote:
> > >
> > > >Hello,
> > > >testing an application using JMeter the server has sent a response
> saying
> > > my
> > > >browser does not support framesets.
> > > >What browser does JMeter imitate (states to be)?
> > > >Can this be changed? For example in tools like httptrack I can tell
> the
> > > tool
> > > >what browser it declares itself as.
> > > >Thanks
> > > >Nop
> > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>

Re: What browser is JMeter being recognized as?

Posted by sebb <se...@gmail.com>.
Which version of JMeter/JVM?

Did you add a Cookie Manager?

Perhaps the browser is executing some JavaScript that sets a cookie?

JMeter does not run JavaScript in HTML pages, but that should not
matter so long as you have captured everything the browser sends to
the server.

S.
On 10/11/05, Nop Lists <no...@gmail.com> wrote:
> Hello,
> thanks. that is what I did, but it does not work.
> I had recorded with FireFox 1.07 and have no problems regarding frames with
> it.
>
> This is how the request looks like:
>
> GET http://ndc.cosmos-bfe.rze.de.db.com/
> Accept-Encoding: gzip,deflate
> Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
> Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com>
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
> Gecko/20050915 Firefox/1.0.7
> If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> ,text/plain;q=0.8,image/png,*/*;q=0.5
> Keep-Alive: 300
> Accept-Encoding: gzip,deflate
> Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
> Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com>
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
> Gecko/20050915 Firefox/1.0.7
> If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
> Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
> ,text/plain;q=0.8,image/png,*/*;q=0.5
> Keep-Alive: 300
>
> But the response is
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <HTML><HEAD>
> <TITLE>CoSMOS Berater Frontend</TITLE>
> <FRAMESET BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO ROWS="*,1">
> <FRAME SRC="/redirect/startseite.htm" NAME="_main" SCROLLING=AUTO>
> <FRAME SRC="" SCROLLING=NO>
> </FRAMESET>
> </HEAD><BODY>
> <H1>Error</H1>
> Your browser is not capable of displaying frames.
> The service is not available to you.<HR>
> <I>HTTP Redirector/1.2</I>
> </BODY></HTML>
>
> Any idea?
> Thanks
> Nop
>
>
> On 11/9/05, Rinke Heida <ri...@aris.nl> wrote:
> >
> > Add a HTTP Header Manager element in your testplan. Here you can set
> > various defaults imitating your browser.
> > e.g. User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> > .NET CLR 1.0.3705)d
> >
> > Easiest is to record a script with "Capture HTTP Headers" checked.
> > This way you wil get header info with your recorded request, and put
> > this in your HTTP Header Manager.
> >
> > If you allready had this option checked while recording, you probably
> > use a browser that doesn't support framesets.
> >
> > Rinke Heida
> >
> >
> >
> > Nop Lists wrote:
> >
> > >Hello,
> > >testing an application using JMeter the server has sent a response saying
> > my
> > >browser does not support framesets.
> > >What browser does JMeter imitate (states to be)?
> > >Can this be changed? For example in tools like httptrack I can tell the
> > tool
> > >what browser it declares itself as.
> > >Thanks
> > >Nop
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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


Re: What browser is JMeter being recognized as?

Posted by Nop Lists <no...@gmail.com>.
Hello,
thanks. that is what I did, but it does not work.
I had recorded with FireFox 1.07 and have no problems regarding frames with
it.

This is how the request looks like:

GET http://ndc.cosmos-bfe.rze.de.db.com/
Accept-Encoding: gzip,deflate
Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com>
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Keep-Alive: 300
Accept-Encoding: gzip,deflate
Accept-Language: de-de,de;q=0.8,en-us;q=0.6,en;q=0.4,he;q=0.2
Host: ndc.cosmos-bfe.rze.de.db.com <http://ndc.cosmos-bfe.rze.de.db.com>
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
If-Modified-Since: Thu, 10 Nov 2005 11:26:59 GMT
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9
,text/plain;q=0.8,image/png,*/*;q=0.5
Keep-Alive: 300

But the response is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD>
<TITLE>CoSMOS Berater Frontend</TITLE>
<FRAMESET BORDER=0 FRAMEBORDER=0 FRAMEBORDER=NO ROWS="*,1">
<FRAME SRC="/redirect/startseite.htm" NAME="_main" SCROLLING=AUTO>
<FRAME SRC="" SCROLLING=NO>
</FRAMESET>
</HEAD><BODY>
<H1>Error</H1>
Your browser is not capable of displaying frames.
The service is not available to you.<HR>
<I>HTTP Redirector/1.2</I>
</BODY></HTML>

Any idea?
Thanks
Nop


On 11/9/05, Rinke Heida <ri...@aris.nl> wrote:
>
> Add a HTTP Header Manager element in your testplan. Here you can set
> various defaults imitating your browser.
> e.g. User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
> .NET CLR 1.0.3705)d
>
> Easiest is to record a script with "Capture HTTP Headers" checked.
> This way you wil get header info with your recorded request, and put
> this in your HTTP Header Manager.
>
> If you allready had this option checked while recording, you probably
> use a browser that doesn't support framesets.
>
> Rinke Heida
>
>
>
> Nop Lists wrote:
>
> >Hello,
> >testing an application using JMeter the server has sent a response saying
> my
> >browser does not support framesets.
> >What browser does JMeter imitate (states to be)?
> >Can this be changed? For example in tools like httptrack I can tell the
> tool
> >what browser it declares itself as.
> >Thanks
> >Nop
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: What browser is JMeter being recognized as?

Posted by Rinke Heida <ri...@aris.nl>.
Add a HTTP Header Manager element in your testplan. Here you can set 
various defaults imitating your browser.
e.g. User-Agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; 
.NET CLR 1.0.3705)d

Easiest is to record a script with "Capture HTTP Headers" checked.
This way you wil get header info with your recorded request, and put 
this in your HTTP Header Manager.

If you allready had this option checked while recording, you probably 
use a browser that doesn't support framesets.

Rinke Heida



Nop Lists wrote:

>Hello,
>testing an application using JMeter the server has sent a response saying my
>browser does not support framesets.
>What browser does JMeter imitate (states to be)?
>Can this be changed? For example in tools like httptrack I can tell the tool
>what browser it declares itself as.
>Thanks
>Nop
>
>  
>

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