You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Om <bi...@gmail.com> on 2012/11/22 09:20:34 UTC

Which Mustella tests use the Apache HTTPd server?

I am trying to eliminate the need for Apache HTTPd by creating a socket
based server in an AIR app itself.  The AIR based server is working, now I
just need to test if mini_run likes this new server.

Can someone give me a few example test cases that hits the server?  Or let
me know how I can look for these tests?

Alternatively, I have to run the tests overnight and see which one hits my
app's breakpoint :-|

Thanks,
Om

Re: Which Mustella tests use the Apache HTTPd server?

Posted by Alex Harui <ah...@adobe.com>.
You can use a mixin to switch the port to 8080.

The runid.properties request is extraneous and should just be removed.

-Alex


On 11/22/12 1:55 PM, "Om" <bi...@gmail.com> wrote:

> Yup, it looks like mustella tests requests on port 80.
> 
> The tests seems to run fine with the AIR based server.  But there are few
> requests for a file called runid.properties and I cant find this file
> anywhere in the mustella directory.  Any idea what is going on?
> 
> Thanks,
> Om
> 
> On Thu, Nov 22, 2012 at 1:43 PM, Alex Harui <ah...@adobe.com> wrote:
> 
>> 
>> 
>> 
>> On 11/22/12 9:02 AM, "Omar Gonzalez" <om...@gmail.com> wrote:
>>> 
>>> 
>>> Can u try/catch the server start up and increment the port number until
>> you
>>> find a free one? Sorry I'm not yet intimately familiar with Mustella,
>> but I
>>> guess the next question would be if the tests would then have access to
>> the
>>> dynamic port value for the server that gets created.
>>> 
>>> -omar
>> Currently, the port is compiled in, but I'm sure with more work we could
>> negotiate on the server.  Not a high priority for me at this time though.
>> 
>> --
>> Alex Harui
>> Flex SDK Team
>> Adobe Systems, Inc.
>> http://blogs.adobe.com/aharui
>> 
>> 

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Which Mustella tests use the Apache HTTPd server?

Posted by Om <bi...@gmail.com>.
Yup, it looks like mustella tests requests on port 80.

The tests seems to run fine with the AIR based server.  But there are few
requests for a file called runid.properties and I cant find this file
anywhere in the mustella directory.  Any idea what is going on?

Thanks,
Om

On Thu, Nov 22, 2012 at 1:43 PM, Alex Harui <ah...@adobe.com> wrote:

>
>
>
> On 11/22/12 9:02 AM, "Omar Gonzalez" <om...@gmail.com> wrote:
> >
> >
> > Can u try/catch the server start up and increment the port number until
> you
> > find a free one? Sorry I'm not yet intimately familiar with Mustella,
> but I
> > guess the next question would be if the tests would then have access to
> the
> > dynamic port value for the server that gets created.
> >
> > -omar
> Currently, the port is compiled in, but I'm sure with more work we could
> negotiate on the server.  Not a high priority for me at this time though.
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui
>
>

Re: Which Mustella tests use the Apache HTTPd server?

Posted by Alex Harui <ah...@adobe.com>.


On 11/22/12 9:02 AM, "Omar Gonzalez" <om...@gmail.com> wrote:
> 
> 
> Can u try/catch the server start up and increment the port number until you
> find a free one? Sorry I'm not yet intimately familiar with Mustella, but I
> guess the next question would be if the tests would then have access to the
> dynamic port value for the server that gets created.
> 
> -omar
Currently, the port is compiled in, but I'm sure with more work we could
negotiate on the server.  Not a high priority for me at this time though.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Which Mustella tests use the Apache HTTPd server?

Posted by Omar Gonzalez <om...@gmail.com>.
On Thursday, November 22, 2012, Alex Harui wrote:

>
>
>
> On 11/22/12 1:21 AM, "Frédéric THOMAS" <webdoublefx@hotmail.com<javascript:;>>
> wrote:
>
> > that's the MarshallPlan tests
> Yup, and a significant portion of tests with SWFLoader in it.
>
> It turns out that runner.java already launches a mini http server for
> getting results.  I thought about using it to serve these other requests as
> well.  Then you wouldn't need to run that from the AIR app.  The thing to
> watch out for is what to do if there is already an http server on that
> port.
> Macs have default http servers.
>
> --
> Alex Harui
> Flex SDK Team
> Adobe Systems, Inc.
> http://blogs.adobe.com/aharui


Can u try/catch the server start up and increment the port number until you
find a free one? Sorry I'm not yet intimately familiar with Mustella, but I
guess the next question would be if the tests would then have access to the
dynamic port value for the server that gets created.

-omar

Re: Which Mustella tests use the Apache HTTPd server?

Posted by Alex Harui <ah...@adobe.com>.


On 11/22/12 1:21 AM, "Frédéric THOMAS" <we...@hotmail.com> wrote:

> that's the MarshallPlan tests
Yup, and a significant portion of tests with SWFLoader in it.

It turns out that runner.java already launches a mini http server for
getting results.  I thought about using it to serve these other requests as
well.  Then you wouldn't need to run that from the AIR app.  The thing to
watch out for is what to do if there is already an http server on that port.
Macs have default http servers.

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Re: Which Mustella tests use the Apache HTTPd server?

Posted by Frédéric THOMAS <we...@hotmail.com>.
that's the MarshallPlan tests

-----Message d'origine----- 
From: Om
Sent: Thursday, November 22, 2012 9:41 AM
To: flex-dev@incubator.apache.org
Subject: Re: Which Mustella tests use the Apache HTTPd server?

Tried that and the result came up with just Localhost{something}.as

I will look harder ;-)
On Nov 22, 2012 12:39 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

> Om,
>
> I don't know about specific tests, but might a source search for
> 'localhost' not bring up a few?
>
> EdB
>
>
>
> On Thu, Nov 22, 2012 at 9:20 AM, Om <bi...@gmail.com> wrote:
> > I am trying to eliminate the need for Apache HTTPd by creating a socket
> > based server in an AIR app itself.  The AIR based server is working, now
> I
> > just need to test if mini_run likes this new server.
> >
> > Can someone give me a few example test cases that hits the server?  Or
> let
> > me know how I can look for these tests?
> >
> > Alternatively, I have to run the tests overnight and see which one hits
> my
> > app's breakpoint :-|
> >
> > Thanks,
> > Om
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
> 


Re: Which Mustella tests use the Apache HTTPd server?

Posted by Om <bi...@gmail.com>.
Tried that and the result came up with just Localhost{something}.as

I will look harder ;-)
On Nov 22, 2012 12:39 AM, "Erik de Bruin" <er...@ixsoftware.nl> wrote:

> Om,
>
> I don't know about specific tests, but might a source search for
> 'localhost' not bring up a few?
>
> EdB
>
>
>
> On Thu, Nov 22, 2012 at 9:20 AM, Om <bi...@gmail.com> wrote:
> > I am trying to eliminate the need for Apache HTTPd by creating a socket
> > based server in an AIR app itself.  The AIR based server is working, now
> I
> > just need to test if mini_run likes this new server.
> >
> > Can someone give me a few example test cases that hits the server?  Or
> let
> > me know how I can look for these tests?
> >
> > Alternatively, I have to run the tests overnight and see which one hits
> my
> > app's breakpoint :-|
> >
> > Thanks,
> > Om
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>

Re: Which Mustella tests use the Apache HTTPd server?

Posted by Erik de Bruin <er...@ixsoftware.nl>.
Om,

I don't know about specific tests, but might a source search for
'localhost' not bring up a few?

EdB



On Thu, Nov 22, 2012 at 9:20 AM, Om <bi...@gmail.com> wrote:
> I am trying to eliminate the need for Apache HTTPd by creating a socket
> based server in an AIR app itself.  The AIR based server is working, now I
> just need to test if mini_run likes this new server.
>
> Can someone give me a few example test cases that hits the server?  Or let
> me know how I can look for these tests?
>
> Alternatively, I have to run the tests overnight and see which one hits my
> app's breakpoint :-|
>
> Thanks,
> Om



-- 
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl