Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [maxq-dev] IAgent - pluggable HTTP agents

maxq
Discussion topic

Back to topic list

Re: [maxq-dev] IAgent - pluggable HTTP agents

Author oliverbock
Full name Oliver Bock
Date 2004-10-18 16:33:03 PDT
Message On 19/10/2004, at 09:19, Frank Cohen wrote:
>> On 19/10/2004, at 02:41, Frank Cohen wrote:
>>> 1) I use the term "agent" in TestMaker a lot to encompass the
>>> business logic in a test. The test agent embodies the behavior of an
>>> archetypal user. (I talk about this a lot in my book Java Testing
>>> and Design, see http://thebook.pushtotest.com) So I would prefer to
>>> call the interface something other than 'agent'. How about
>>> 'connection'?
>>
>> In the terminology of the HTTP standard, browsers are known as "user
>> agents", which is where I got the name. I felt that "browser" was
>> too literal. I think "connection" it is too general---applying
>> equally well to recording as playing---and is thus not very
>> memorable. Any other suggestions?
>
> How about host, client, consumer... (I don't feel strongly about this.)

Hmm, I think I'll hold out for further suggestions. This is only a
proposal so far.

>>> 2) The interface should provide for proxy server information: proxy
>>> address, port, user name, user password.
>>
>> Proxy information is available to implementations of IAgent (or
>> whatever it will be called) via the maxq.Config class.
>
> It's ok with me to put this info into the config file, but I would
> prefer to have an API for it too. Also, I don't see in the current
> config file a facility for proxy user name and proxy user password.

I'm confused because there is an API, it is the API provided by
Config.java. Config.java will read the settings from maxq.properties.
Is this what you meant?

There is nothing in theConfig.java for proxy user name and password
simply because MaxQ only supports anonymous proxies. If you do add
them to Config, please also enhance the code in ProxyServer.java and
HttpTestCase.java to use them so the settings are universal. Probably
this is just a matter of supplying the extra information to the same
APIs that are already being used.


    Oliver


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe at maxq dot tigris dot org
For additional commands, e-mail: dev-help at maxq dot tigris dot org

« Previous message in topic | 5 of 12 | Next message in topic »

Messages

Show all messages in topic

[maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 01:14:06 PDT
     Re: [maxq-dev] IAgent - pluggable HTTP agents fcohen Frank Cohen 2004-10-18 09:41:39 PDT
         Re: [maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 15:00:14 PDT
             Re: [maxq-dev] IAgent - pluggable HTTP agents fcohen Frank Cohen 2004-10-18 16:19:00 PDT
                 Re: [maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 16:33:03 PDT
                     Re: [maxq-dev] IAgent - pluggable HTTP agents fcohen Frank Cohen 2004-10-18 16:40:42 PDT
                         Re: [maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 16:46:26 PDT
                             Re: [maxq-dev] IAgent - pluggable HTTP agents fcohen Frank Cohen 2004-10-18 18:29:00 PDT
                                 Re: [maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 18:47:04 PDT
                                     Re: [maxq-dev] IAgent - pluggable HTTP agents fcohen Frank Cohen 2004-10-18 19:19:08 PDT
     Re: [maxq-dev] IAgent - pluggable HTTP agents hdara at primavera dot com hdara at primavera dot com 2004-10-18 11:02:51 PDT
         Re: [maxq-dev] IAgent - pluggable HTTP agents oliverbock Oliver Bock 2004-10-18 15:19:16 PDT
Messages per page: