W3C home > Mailing lists > Public > www-mobile@w3.org > June 2002

RE: HTTP request simulator

From: Vidhya Gholkar <vidhya.gholkar@argogroup.com>
Date: Sun, 9 Jun 2002 21:02:22 +0100
Message-ID: <ABB39CCA97F2D840BB0FEDDEBD5A4D040A901B26@mail-svr1.elstead-ad.elstead.argogroup.com>
To: <Stan@rga.com>, <dhananjay.v.keskar@intel.com>
Cc: <www-mobile@w3.org>, <Tayeb.Lemlouma@inrialpes.fr>

Developing a good emulator is hard - and there are very few companies
that can do that. A good example of a company that producies such an
emulator is Intava. We felt that it was the best company out there doing
this and so have licensed their emulator technology to enhance our
Monitor Master product. Monitor Master is what professional QA people
want to use for testing and monitoring their WAP, SMS, and EMS
applications, you can get a trial licence for a reduced capability
version from http://www.argogroup.com/products/monitormaster/index.html


-----Original Message-----
From: Stan@rga.com [mailto:Stan@rga.com]
Sent: 09 June 2002 03:01
To: dhananjay.v.keskar@intel.com
Cc: www-mobile@w3.org; Tayeb.Lemlouma@inrialpes.fr
Subject: RE: HTTP request simulator


thanks very much for the feeback. I rarely use Pocket PC yet, I use the
Zaurus PDA the most right now.

I wrote a little tool myself which is not using CC/PP, for me that is
far too complicated for that task. I have XML files which specifies user
agent, accept and a set of properties such as UA-pixels and so on.

My simple program takes such an XML file and a URL and makes the request
with the added values from the XML file. Purpose is right now merely
assurance to see wether certain parameters are picked up and used by the
application. So I don't need to use all kinds of emulators all the time
if I
only want to make sure that all possible softbuttons are used, that all
availavle width and colors are used, .... I plan to put in a web site so
that quick tests for a given device and URL are straightforward.


-----Original Message-----
From: Keskar, Dhananjay V
To: 'Tayeb Lemlouma'; Stan@rga.com
Cc: www-mobile@w3.org
Sent: 6/4/02 3:00 PM
Subject: RE: HTTP request simulator

You can use the Java proxy provided in the Intel CC/PP Toolkit. 
The toolkit can be downloaded by via the "Software Download" link at :
The Java proxy is intended to be installed on a Pocket PC device. 
However, once installed, you can easily use the .jar file on any other 
One of the command-line parameter is a file-path name which contains
the device CC/PP profile in RDF/XML format. The proxy ensures that
the profile is added to the HTTP request per the CC/PP Exchange 
protocol specification.
As Tayeb mentions, you can then configure your browser to use this
proxy for HTTP requests. The proxy will then add the CC/PP profile to
all browser requests. The toolkit also includes a library (for Pocket
that allows other programs and agents (e.g. GUI, monitors, etc.) to 
modify the XML profile on the fly. You can either use that or write 
something similar yourself. 
If you have any questions, let me know.

-----Original Message-----
From: Tayeb Lemlouma [mailto:Tayeb.Lemlouma@inrialpes.fr]
Sent: Tuesday, June 04, 2002 1:25 AM
To: Stan@rga.com
Cc: www-mobile@w3.org
Subject: Re: HTTP request simulator

Hi Stan,

I don't know if there exists a http request simulator, but personally I
prefer to

open direct server connections (Using Java socket). For example, typing

url: "htt://www.inrialpes.fr/opera/" in a browser is equivalent to open
a direct

connection with the server: "www.inrialpes.fr" using the port 80 and

an HTTP request with different headers. 

To visualize the server delivered content, and change the user request

example by adding new headers in its HTTP request), I think that the

way is to use a proxy. This third part between servers and the user
agent can

be easily implemented for your purpose. It will just send the user
request to

the corresponding server and the server answer to the client, and

exchanged requests in its level.


To give an example, I past here the content of a browser request (IE 6.0

Windows 2000 profesional), after typing the URL: 



User agent Request (as it's displayed by the proxy):


GET http://opera.inrialpes.fr/people/Tayeb.Lemlouma/Profile.xml HTTP/1.0

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 

application/x-comet, application/vnd.ms-excel,

application/vnd.ms-powerpoint, application/msword, */*

Accept-Language: fr

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0b; Windows NT 5.0;

.NET CLR 1.0.2914)

Host: opera.inrialpes.fr

Proxy-Connection: Keep-Alive


Server answer (I give only the HTTP head of the answer):


HTTP/1.1 200 OK

Date: Tue, 04 Jun 2002 07:11:34 GMT

Server: Apache/1.3.20 (Unix)  (Red-Hat/Linux) mod_ssl/2.8.4

OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01

Last-Modified: Tue, 12 Mar 2002 12:19:07 GMT

ETag: "80b2-f71-3c8df23b"

Accept-Ranges: bytes

Content-Length: 3953

Connection: close

Content-Type: text/xml


Using a proxy allows also to modify the server answer, for example if

proxy adapt the content you will have to modify some headers (such as

the Content-Length and Content-Type) and send the new answer to the


I hope this will help.




Tayeb Lemlouma
Opera project
National Research Institute in Computer Science and Control (INRIA
Rhône-Alpes, France )
Office B213, phone (+33) 04 76 61 52 81, Fax (+33) 04 76 61 52 07.

----- Original Message ----- 
From: <  <mailto:Stan@rga.com> Stan@rga.com>
To: <  <mailto:www-mobile@w3.org> www-mobile@w3.org>
Sent: Friday, May 31, 2002 11:01 PM
Subject: HTTP request simulator

> Is there a HTTP request simulator that lets you choose various
> device/profile settings and hit a URL to see the output?
> Thanks,
> Stan Wiechers
Received on Sunday, 9 June 2002 16:02:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:03 UTC